This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Crosscompiling issues with glibc-2.3.4


In putting together gentoo's latest ebuild for glibc, I came across a
few issues with the build.

1) When using static gcc, you try to -lgcc_eh:
This was originally discussed back in 2003[1], and I took out our hack
as I thought it was fixed, but it appears I was wrong.  When we don't
have libgcc_eh (such as with a static gcc for crosscompilation), glibc
still tries to -lgcc_eh

[1] http://sources.redhat.com/ml/libc-alpha/2003-09/msg00100.html

2) You need an installed glibc to build glibc+nptl

nptl/sysdeps/pthread/configure.in's check for forced unwind support uses
AC_TRY_LINK, but that will only work if we already have a libc
installed.

./configure's tail:
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... no
configure: error: forced unwind support is required

relevant part in config.log:
configure:27: checking for forced unwind support
configure:51: sparc-unknown-linux-gnu-gcc -o conftest -O2 -pipe -O2
-fcall-used-
g6 -O2   conftest.c  >&5
/usr/lib/gcc/sparc-unknown-linux-gnu/3.4.3-20050110/../../../../sparc-unknown-li
nux-gnu/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status

--Jeremy

Attachment: signature.asc
Description: This is a digitally signed message part


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