This is the mail archive of the
egcs@egcs.cygnus.com
mailing list for the EGCS project. See the EGCS
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: multiple definitions of 'xxx keyed to...' in egcs-1.1.1
- To: hjl@lucon.org
- Subject: Re: multiple definitions of 'xxx keyed to...' in egcs-1.1.1
- From: "Martin v. Loewis" <martin@mira.isdn.cs.tu-berlin.de>
- Date: Sun, 21 Feb 1999 00:35:50 +0100
- CC: law@cygnus.com, egcs@egcs.cygnus.com, egcs-patches@egcs.cygnus.com
- Delivered-To: listarch-egcs@egcs.cygnus.com
- Delivered-To: mailing list egcs@egcs.cygnus.com
- In-reply-to: <m10EJXX-000392C@ocean.lucon.org> (hjl@lucon.org)
- Mailing-List: contact egcs-help@egcs.cygnus.com; run by ezmlm
- References: <m10EJXX-000392C@ocean.lucon.org>
- Sender: owner-egcs@egcs.cygnus.com
- User-Agent: SEMI/1.8.6 (Fukuoka) FLIM/1.9.2 (Shin-Tanabe) Emacs/20.3 (with unibyte mode)
> * decl2.c (start_objects): Make file scope constructors and
> destructors local to the file if ASM_OUTPUT_CONSTRUCTOR and
> ASM_OUTPUT_DESTRUCTOR are defined.
This is incorrect. Please look at config/aoutos.h. It always defines
ASM_OUTPUT_CONSTRUCTOR, but then decides, at runtime, whether to use
GNU binutils. If GNU ld is not used, no __CTOR_LIST__ is constructed,
and collect2 would have to find constructors. Now that you made them
static, this would fail.
Regards,
Martin