This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Mac OS X and glibc-2.4


I'm trying to use crosstool on OS X to build a toolchain for
i686-pc-linux-gnu with a gcc-3.4.5-glibc-2.4.dat like this:

BINUTILS_DIR=binutils-2.16
GCC_DIR=gcc-3.4.5
GLIBC_DIR=glibc-2.4
LINUX_DIR=linux-2.6.15.6
LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.6

I know this is fairly bleeding edge stuff, so I expected problems.  I
get to the glibc configure and this is where it ends:

checking for ld --version-script... no
*** WARNING: You should not compile GNU libc without versioning. Not using
*** versioning will introduce incompatibilities so that old binaries
*** will not run anymore.
*** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer).
checking for .previous assembler directive... no
checking for .popsection assembler directive... no
checking for .protected and .hidden assembler directive... no
/Users/kenyon/Downloads/crosstool-0.42/build/i686-pc-linux-gnu/gcc-3.4.5-glibc-2.4/glibc-2.4/configure:
line 5394: test: =: unary operator expected
checking for broken __attribute__((alias()))... yes
/Users/kenyon/Downloads/crosstool-0.42/build/i686-pc-linux-gnu/gcc-3.4.5-glibc-2.4/glibc-2.4/configure:
line 5466: test: =: unary operator expected
checking for .preinit_array/.init_array/.fini_array support... no
configure: error: Need linker with .init_array/.fini_array support.


I googled for .init_array/.fini_array and didn't really find anything helpful.

Has anybody made any progress with this setup?

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]