This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Build error - still there
- From: Pedro Manuel Augusto <augusto at uma dot pt>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: Jeff Sturm <jsturm at one-point dot com>, gcc at gnu dot org
- Date: Fri, 24 Jan 2003 15:38:09 +0000 (GMT)
- Subject: 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