This is the mail archive of the gcc-bugs@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]

Re: Error: could not read symbols: Bad value


Which linker were you using? I've seen problems like that when using GNU
ld. Switching back to /usr/ccs/bin/ld cured it all.


Dima


On Mon, 13 Dec 1999 12:31:50 -0600, Mark S. wrote:

>
>Any help or advice on this would be much appreciated.
>
>								Mark S.
>
>Error:
>
>c++ -g -O2 -L/usr/local/lib -L/d0/devo/mschonem/lib -o oscar base64.o
>certgen.o certpath.o crlgen.o dumpcert.o dumpcrl.o dumpcrs.o dumpkey.o
>dumppkcs7.o dumpxcert.o keygen.o oscar.o sign.o verify.o xcertgen.o
>../../pki/.libs/liboscar.a -lasn1cebuf -lgmp -lnsl -lsocket -lasn1cebuf
>-lgmp -lnsl -lsocket
>/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/libgcc.a: could not read
>symbols: Bad value
>collect2: ld returned 1 exit status
>gmake: *** [oscar] Error 1
>
>
>System type :
>cake [211] % uname -a
>SunOS cake 5.6 Generic_105181-13 sun4u sparc SUNW,Ultra-2
>
>
>Compiler version:
>
>cake [212] % gcc -v
>Reading specs from
>/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specs
>gcc version 2.95.2 19991024 (release)
>cake [213] % c++ -v
>Reading specs from
>/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specs
>gcc version 2.95.2 19991024 (release)
>
>>From the system admins:
>
>recompiled using SUNWspro cc. these components were used:
>
>gcc-core
>gcc-g++
>
>"make bootstrap" is the only documented way to build this new gcc. used
>"CC=cc ./configure" to force SUNWspro cc.
>
>


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