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


Hi Jeff/GCC team,

On Fri, 3 Jan 2003, Jeff Sturm wrote:

> On Fri, 3 Jan 2003, Pedro Manuel Augusto wrote:
> > /usr/local/sparc-sun-solaris2.7/bin/ld:libgcc/./libgcc.map: file format
> > not recognized; treating as linker script
> 
> You've configured for Sun btools, but gcc is finding and using binutils.
> Either get rid of binutils, or configure gcc for it:
> 
> $srcdir/configure ... --with-as=$prefix/bin/as --with-ld=$prefix/bin/ld
> --with-gnu-as --with-gnu-ld
> 
> Jeff
> 


I believe I have done just that now:

/dados/packages/gcc-3.2/configure  --with-as=/usr/local/sparc-sun-so
laris2.7/bin/as --with-ld=/usr/local/sparc-sun-solaris2.7/bin/ld
--with-gnu-as --with-gnu-ld

(now complaints; appeared to have configured successfully)

Then I did:

/usr/local/bin/make bootstrap-lean

(to make sure I use GNU make)

and now I get the error:
(last lines of output only)

o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o
libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o
libgcc/./_clear_cache.o libgcc/./_trampoline.o libgcc/./__main.o
libgcc/./_exit.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o
libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o
libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o
libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o
libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_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-lean] Error 2

----

How to proceed? What to correct?

Thanks a lot for your help.

Cheers,

Pedro Augusto

--------------------------------------------------------------------------
Dr. Pedro Augusto
Assistant Professor		tel: +351 291 705150/8
Dep. Matematica			fax: +351 291 705199
Universidade da Madeira
Caminho da Penteada		
9000-390 Funchal
Portugal
--------------------------------------------------------------------------



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