Call for Patches for crosstool-0.43
Colin Paul Gloster
Colin_Paul_Gloster@ACM.org
Mon May 22 14:51:00 GMT 2006
Build reports for crosstool 0.42...
from FreeBSD i386-unknown-freebsd4.11 with native gcc version 2.95.4
20020320 [FreeBSD] to gcc-3.2.3-glibc-2.2.5 with the attached patch for
crosstool 0.42: apparently succeeded but not tested with demanding
sourcebases;
from GNU/Linux x86_64-unknown-linux-gnu with kernel 2.6.11-1.1369_FC4smp
and GLibC 2.3.x and native gcc version 4.0.0 20050519 (Red Hat 4.0.0-8) to
gcc-3.2.3-glibc-2.2.5: failed (after approximately 36 minutes);
and
from GNU/Linux i686-pc-linux-gnu with kernel 2.6.14-1.1656_FC4smp and
GLibC 2.3.x and native gcc version 4.0.2 20051125 (Red Hat 4.0.2-8) to
gcc-3.2.3-glibc-2.2.5 (though the target is actually really the
i686-pc-linux-gnu GLibC 2.3.x host and build system with an old
proprietary third party library incompatible with Red Hat GLibC 2.3.x
against which I need to link): succeeded, various free sourcebases with
which it was tested include: X.org 7.0 (this was the trickiest to link
without accidentally linking against an already installed copy of X.org);
LessTif 0.94.4; Expat 2.0.0; NetCDF 3.6.1; and FFTW 3.1.1.
-------------- next part --------------
To build with crosstool on FreeBSD targetting GNU/Linux (specifically from FreeBSD i386-unknown-freebsd4.11 with native gcc version 2.95.4 20020320 [FreeBSD] to gcc-3.2.3-glibc-2.2.5), one must substitute various FreeBSD programs with GNU replacements and install other GNU software, viz. at least: gmake; install (from GNU coreutils); patch; sed; autoconf; bison; m4; and wget. Note also that on FreeBSD 4.11, in contrast to e.g. at least one Red Hat Fedora Core distribution of GNU/Linux, colorized ls causes "checking whether build environment is sane... configure: error: ls -t appears to fail" errors. Also, this patch to fix-embedded-paths.c may be useful.
Colin Paul Gloucester, May 2006
diff -ruN crosstool-0.42/fix-embedded-paths.c crosstool-0.42__with_a_modification_to_run_on_FreeBSD_i386-unknown-freebsd4.11/fix-embedded-paths.c
--- crosstool-0.42/fix-embedded-paths.c Wed Jul 20 16:57:01 2005
+++ crosstool-0.42__with_a_modification_to_run_on_FreeBSD_i386-unknown-freebsd4.11/fix-embedded-paths.c Fri May 5 23:49:08 2006
@@ -374,7 +374,7 @@
{"/oldpath", "/boo", "/oldpath/bletch_asdf", "/boo/bletch_ asdf", 0},
/* make sure we can use the old_oldpath_len argument to map to a *longer* path */
- {"/boo", "/oldpath", "/boo/bletch_ asdf", "/oldpath/bletch_asdf", strlen("/oldpath")},
+ {"/boo", "/oldpath", "/boo/bletch_ asdf", "/oldpath/bletch_asdf", 8/*strlen("/oldpath")*//*Commented out trlen("/oldpath") and replaced with a hardcoded literal number because of "fix-embedded-paths.c:377: initializer element is not constant fix-embedded-paths.c:377: (near initialization for `all_tests[2].old_oldrootlen')" from gcc version 2.95.4 20020320 [FreeBSD]*/},
{NULL, NULL, NULL, NULL}
};
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list