This is the mail archive of the libc-alpha@cygnus.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]

Re: egcs-19980921 on i586-linux miscompiles ld-linux.so.2 in glibc-2.0.96


>>>>> Horst von Brand writes:
>> [...]
>> Synopsis:	Crash of ld-linux.so.2 when compiled with egcs snapshot
>> [...]
 > Addons: crypt linuxthreads
 > Build CFLAGS: -O2 -march=pentium
 > Build CC: gcc
 > Compiler version: egcs-2.92.11 19980921 (gcc2 ss-980609 experimental)
 > Kernel headers: 2.1.123
 > Symbol versioning: yes
 > Build static: yes
 > Build shared: yes
 > Build pic-default: no
 > Build profile: yes
 > Build omitfp: yes
With build-omitpf -O99 is used.  This might be a too high
optimization.
 > [...]
 > 	With egcs-2.91.57 (egcs-1.1) everything works fine, AFAIKS. There is
 >         an error message when omitting LD_LIBRARY_PATH in this case, however
 >         (long line folded):
       
 >         /bin/ls: error in loading shared libraries: /lib/libc.so.6: \
 >         symbol _dl_default_scope, version GLIBC_2.0 not defined in file \
 >         ld-linux.so.2 with link time reference

That's to be expected.  You've to use ld-linux and libc from the same
version and shouldn't mix them.

 >         BTW, I'm using binutils-2.9.1.0.13. Kernel is 2.1.123pre2 compiled
 >         with egcs-1.1, binutils-2.9.1.0.13
Looks fine.
>> How-To-Repeat:
 > 	(See above) The problem surfaced when the build tried to run
 >         the new rpcgen. The program itself runs correctly with my old
 >         setup (glibc-2.0.95, built with egcs on some linux-2.1.xxx.
 >         Sorry, I have no further details...)
>> Fix:
 > 	Don't use that particular egcs snapshot.
Or fix this egcs snapshot;-).

Andreas
-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de


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