egcs-971023 cannot compile linux ld.so-1.9.5

Szalkai Akos akos@is.s.u-tokyo.ac.jp
Thu Oct 30 00:49:00 GMT 1997


Hi,

The details: cc1 (from egcs-9710{16,23}, haven't checked others) fails
with a 'forbidden register spilled' (from reload1.c) error while
compiling d-link/boot1.c.  gcc-2.7.2.3 correctly compiles it.

Looking around the optimization options, it seems that the compiler
only fails when both -fPIC (or -fpic) and -finline are on.  (But ld.so 
does not work with either of them turned off.)

If you need more details, tell me.

Akos




More information about the Gcc mailing list