🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51048

gcc linking bug

#51048
From: riccys
Date: Thu, 24 Jun 1993 08:49
31 lines
1482 bytes
Im running gcc on SunOS 4.1.2.

I encountered the following problem linking an executable :

gcc test.cc ../lib/libt.a
ld: ../lib/libt.a(IDblList.o): ___vc__C8IDblListi: multiply defined
collect: ld returned 2 exit status

The library modules were compiled  with
gcc xxx.cc -c

This problem does not occur when the library modules are compiled with -O2 or -O i.e
gcc -O2 xxx.cc -c

Any ideas. Is it a bug with the compiler.
Incidentally whats ___vc__C8IDblListi translate too ??

thanks

Riccy Sidoli



---
__________________________________________________________________________

Riccy Sidoli    DND22                 
	email: riccys@cyclone.bt.co.uk        
	tel  :   0473 648124            
	fax  :   0473 637499
__________________________________________________________________________
Technical Details
Message-ID: <20bprc$1p7u50s@nemesis.muppet.bt.co.uk>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!pipex!uknet!zaphod.axion.bt.co.uk!nemesis.muppet.bt.co.uk!animal!riccys

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,7988b59e1ac35362,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-06-24 01:54:07 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!pipex!uknet!zaphod.axion.bt.co.uk!nemesis.muppet.bt.co.uk!animal!riccys
From: riccys@muppet.bt.co.uk ()
Newsgroups: gnu.gcc.help
Subject: gcc linking bug
Date: 24 Jun 1993 08:49:48 GMT
Organization: British Telecom Research Laboratories
Lines: 32
Distribution: world
Message-ID: <20bprc$1p7u50s@nemesis.muppet.bt.co.uk>
Reply-To: riccys@muppet.bt.co.uk
NNTP-Posting-Host: animal.muppet.bt.co.uk