This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build error - still there


Dear Alexandre,

On 23 Jan 2003, Alexandre Oliva wrote:

> On Jan 23, 2003, Pedro Manuel Augusto <augusto@uma.pt> wrote:
> 
> >> > /usr/local/sparc-sun-solaris2.7/bin/ld:libgcc/./libgcc.map:4: parse error
> >> > in VERSION script
> 
> This means GCC is running GNU ld but it was configured to use the
> Solaris linker.  Configure --with-gnu-ld
> --with-ld=/usr/local/sparc-sun-solaris2.7/bin/ld and the error should
> go away.  Use *both* options.


I have done just exactly that:

bash-2.05# /dados/packages/gcc-3.2/configure --with-gnu-ld
--with-ld=/usr/local
/sparc-sun-solaris2.7/bin/ld


and then GNU make (to build):


bash-2.05# /usr/local/bin/make bootstrap


and got exactly the same error at the same place:

./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o
libgcc/./_udivmoddi4.o  libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o
libgcc/./unwind-sjlj.o -lc && rm -f libgcc_s.so && ln -s libgcc_s.so.1
libgcc_s.so
/usr/local/sparc-sun-solaris2.7/bin/ld:libgcc/./libgcc.map:4: parse error
in VERSION script
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: Leaving directory `/usr/local/gcc/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/usr/local/gcc/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr/local/gcc/gcc'
make: *** [bootstrap] Error 2


What to do now?

Cheers,

Pedro Augusto


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]