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: lohner at debian dot org
- Subject: Re: problem compiling simple program w 2.95.2 under solaris
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Tue, 4 Jan 2000 23:11:41 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <200001041629.RAA07415@bernin.ecf.teradyne.com>
> g++ cpptest.cpp -o cpptest
> /sup/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/libgcc.a: could not read
> symbols: Bad value
> collect2: ld returned 1 exit status
[...]
> Both gcc builds were 'make bootstrap's. Thanks for your help...
Could that be a configuration problem? Are you using GNU binutils?
Did you give --with-gnu-something to configure?
Please try to inspect
/sup/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/libgcc.a
in more detail. Unpack it with ar, do nm on each object file that
comes out of it. Use the verbose mode of the linker (if it has one).
Regards,
Martin