egcs-19980531, SunOS4 -fPIC fails on all programs now
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Sat Jun 6 09:05:00 GMT 1998
Snapshot: egcs-19980531
Platform: sparc-sun-sunos4.1.4
Stage1 compiler: cc
Assembler: native
Linker: native
BOOT_CFLAGS: -g -O3 -funroll-all-loops
I cannot compile even the simplest program using -fPIC any
more on SunOS4. This is what I get:
cat foo.c:
> int main()
> {
> return 0;
> }
gcc -fPIC foo.c:
> collect2: ld terminated with signal 11 [Segmentation fault], core dumped
I think ld is choking on what it finds in the ucpic/libgcc.a,
because if I compile foo.c with "-c -fPIC" and then compile foo.o
without -fPIC it works. This also appears to occur with 19980508, so
its been happening for at least a few weeks now. I'll bootstrap
19980531 with no special cflags to see if that makes a difference.
I hope this helps.
--Kaveh
--
Kaveh R. Ghazi Project Manager / Custom Development
ghazi@caip.rutgers.edu Icon CMT Corp.
More information about the Gcc-bugs
mailing list