This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: problem compiling simple program w 2.95.2 under solaris
- To: "Nils Lohner" <lohner at debian dot org>
- Subject: Re: problem compiling simple program w 2.95.2 under solaris
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 05 Jan 2000 07:41:07 -0200
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <200001041629.RAA07415@bernin.ecf.teradyne.com>
On Jan 4, 2000, "Nils Lohner" <lohner@debian.org> wrote:
> /sup/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/libgcc.a: could not read
> symbols: Bad value
Are you using GNU as/GNU ld? Did you tell gcc to use them both at
(gcc) build time and run-time?
I've got this problem when I configured gcc --with-gnu-as
--with-gnu-ld but didn't create the links in the build directories
stage1 and stage2. For details, see
http://egcs.cygnus.com/cgi-bin/fom.cgi?file=16
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them