egcs-980221 problems on Solaris-2.6

Oleg Krivosheev kriol@fnal.gov
Wed Feb 25 06:39:00 GMT 1998


On Wed, 25 Feb 1998, Alexandre Oliva wrote:

> Oleg Krivosheev writes:
> 
> > /home/room1/kriol/egcs-980221/gcc/xgcc
> > -B/home/room1/kriol/egcs-980221/gcc/ -g -O2 -fno-implicit-templates -h
> > libstdc++.so.2.8.0 -shared -o libstdc++.so.2.8.0 `cat piclist` -lm
> > Text relocation remains			      referenced
> >     against symbol		    offset	in file
> > <unknown>                           0x40      	../libio/pic/ioextend.o
> 
> > <and tons of other such errors>
> 
> > SUN native ld
> 
> I was unable to reproduce your problem, on an unpatched Solaris 2.6
> host.  Was your ld patched somehow?  Isn't it from any Sun compiler
> package?

it might be so...

But the real problem is that all files in pic/
directory are compiled without -fPIC option - 
i don't think linker is the cause of the problem...

Someone contacted me in personal e-mail and
confirmed he had the same problem on Solaris 2.6/x86

just in case

drabble ~ $ ld -V
ld: Software Generation Utilities - Solaris/ELF (3.0)


regards

OK




More information about the Gcc mailing list