[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc-3.2 and glibc-2.3.1
From: |
George Garvey |
Subject: |
Re: gcc-3.2 and glibc-2.3.1 |
Date: |
Fri, 18 Oct 2002 16:02:09 -0700 |
User-agent: |
Mutt/1.2.5i |
I've built with -march=i586 and -march=athlon, and ldconfig didn't
work. For -march=i686, pentium3, and athlon-xp, ldconfig worked. That's
from memory, I wasn't keeping notes.
On Wed, Oct 16, 2002 at 05:08:23PM -0500, address@hidden wrote:
> 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