bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gcc-3.2 and glibc-2.3.1


From: mleidy
Subject: gcc-3.2 and glibc-2.3.1
Date: Wed, 16 Oct 2002 17:08:23 -0500
User-agent: Mutt/1.3.25i

Hi.  Using glibc-2.3 and gcc-3.2 and binutils-2.13.90.0.8 I compiled glibc-2.3.1
and now static programs that use functions like readdir don't work.  This means
ldconfig doesn't work.  ldconfig -v shows /lib and /usr/lib and the dirs that 
I have in /etc/ld.so.conf, and ldconfig -p shows "0 libs found in cache
`/etc/ld.so.cache'".

So a quick test program using readdir compiled with gcc -o tester tester.c works
correctly but gcc -static -o tester tester.c fails with value too large for
defined data type.

I've had this problem with glibc-2.2.5 with every gcc >= 3.1 and with glibc-2.3
with gcc-3.2.  A few patches to gcc seem to have fixed the issue with glibc-2.3
but now the problem is back with glibc-2.3.1.

So far I've only found 1 other person that will admit to this problem and we've
been able to reproduce it a number of times.  But still there is no solution to
the problem.  Can anyone shed some light on this for me?

Thanks.
Mike




reply via email to

[Prev in Thread] Current Thread [Next in Thread]