[parisc-linux] Weird compile problems

Alan Modra alan@linuxcare.com.au
Wed, 31 Jan 2001 12:01:16 +1100 (EST)


On Wed, 31 Jan 2001, Alan Modra wrote:

> and I currently have a ld.so.1 that segfaults.

r19 is being trashed.  It's a compiler bug.  One I added too. :-(

At least, it's to do with the new scheme of allowing gcc to allocate a
register to save r19 rather than trying to use a fixed register.  From a
quick glance over disassembled code, it seems that inline functions try
to restore r19 from a register that has never been initialised.

Alan
-- 
Linuxcare.  Support for the Revolution.