Subject: Re: ld: fatal: relocations remain against allocatable but non-writable sections
To: None <tech-pkg@netbsd.org>
From: Klaus Heinz <k.heinz.feb.drei@onlinehome.de>
List: tech-pkg
Date: 02/01/2003 20:11:13
julien Touche wrote:

> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/egcs-2.91.66/crti.o 
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/egcs-2.91.66/crtend.o 
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/egcs-2.91.66/crtn.o  -Wl,-h 

> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95/specs
> gcc version 2.95 19990728 (release)

> any ideas ?

I think you have more than one installation of gcc (egcs-2.91.66 and
gcc-2.95.?) on this machine and you are not using the correct libraries
for your gcc 2.95.

ciao
     Klaus