Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 1995 20:13:31 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        amjudge@dsg.cs.tcd.ie (Alan Judge)
Cc:        hackers@freebsd.org
Subject:   Re: gcc 2.7.0 and FreeBSD 2.0.5
Message-ID:  <199506231813.UAA29598@uriah.heep.sax.de>
In-Reply-To:  <9506231127.aa29671@longvalley.dsg.cs.tcd.ie> from "Alan Judge" at Jun 23, 95 11:27:29 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Alan Judge wrote:
> 
> However, when I try with a more complex program (basically any
> multimodule program where a .weak symbol appears more than once, I
> think), I get errors of the form:
> ld: /var/tmp/cc0019921.o: unexpected multiple definitions of symbol `_f__1X', type 0xf
> :1: Definition of symbol `_f__1X' (multiply defined)

As Bruce did already remark, you should rather turn off .weak symbols
at all (it's an option somewhere in the config files that has been
turned on explicitly and erroneously for FreeBSD).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506231813.UAA29598>