🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42061

Re: Error Compiling gcc-2.7.2 on sparc-solaris2.4

#42061
From: Hsi-ming Lee
Date: Thu, 18 Jan 1996 00:00
25 lines
1516 bytes
In article <4defjh$pmg@morgan.vf.mmc.com> Paul Meserole <pmeserol@resd.vf.ge.com> writes:
> >When compiling gcc-2.7.2 on a Sun SPARC-Center 2000 running Solaris
> >2.4, I get the following error:
> >	
> >	./xgcc -B./ -DIN_GCC -DSVR4 -O2 -I./include  enquire.o -o enquire
> >	collect2: bad magic number in file `enquire'
> >	*** Error code 1
> >	make: Fatal error: Command failed for target `enquire'
> >...
> Looks like the problem was a copy of "collect2" (a.k.a. "ld") ...

If it is the ld problem, then you need to install 'ld' on Solaris 2.4.
For some reason, my installation of 'ld' failed at the bootstrap
stage.  Then, I had to use SunOS to do the cross-compiling, then 'ld'
is O.K. now.

My current problem is on the glibc-1.09.  When I tried to compile GNU
Emacs, it ended up with not finding a bunch of math related routines,
e.g., sqrt(), floor(), ceil(), sin(), etc.  It seems like the
/usr/lib/libm.a on the plain Solaris 2.4. re-arranged the routine
names some how.
 
--
Cheers,
Hsi-ming Lee    (All above are personal opinions.)
Technical Details
Message-ID: <LEE.96Jan18111151@spica.ntd.comsat.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4d6789$icq@morgan.vf.mmc.com> <4defjh$pmg@morgan.vf.mmc.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,81f9dacef1743b3b
X-Google-Attributes: gid11318c,public
From: lee@spica.ntd.comsat.com (Hsi-ming Lee)
Subject: Re: Error Compiling gcc-2.7.2 on sparc-solaris2.4
Date: 1996/01/18
Message-ID: <LEE.96Jan18111151@spica.ntd.comsat.com>
X-Deja-AN: 135698873
references: <4d6789$icq@morgan.vf.mmc.com> <4defjh$pmg@morgan.vf.mmc.com>
organization: COMSAT
newsgroups: gnu.gcc.help