egcs 971207 breaks glibc 2

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Wed Dec 10 01:58:00 GMT 1997


Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> writes:

|> hjl@lucon.org (H.J. Lu) writes:
|>> egcs 971207 miscompiled the dynamic linker in glibc 2.1 on linux/x86.
|>> I cannot duplicate it in a small test case.

|> Same here.  The worst thing is that gdb is after the kernel change not
|> anymore able to debug the dynamic linker.  HJ's patch solves the
|> problem with the initial message not being displayed anymore but
|> setting a breakpoint in the dynamic linker (or even getting a
|> reasonable backtrace) is not possible.

Use add-symbols directly, after discarding the current symbol table.  This
is clumsy, but works.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org



More information about the Gcc mailing list