alpha problems with 2.0.104 and egcs 1.1

H.J. Lu hjl@lucon.org
Mon Nov 30 11:13:00 GMT 1998


> 
> Hi,
> 
> Just a warning that egcs 1.1 seems to miscompile elf/dlsym.c on Alpha with the 
> default optimisation settings.  This causes programs using dynamic linking to 
> dump core (the problem seems to be that the compiler fails to notice that a 
> function call clobbers the return address that's held in a register).  
> Compiling with -O0 seems OK.  
> 
> I'm not sure whether egcs 1.1.1 is the same.  I'll check later and send a 
> report to the egcs people if so.
> 

Do you have a testcase?


-- 
H.J. Lu (hjl@gnu.org)



More information about the Libc-hacker mailing list