From owner-freebsd-hackers Fri Feb 8 8: 1:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id 5114E37B421 for ; Fri, 8 Feb 2002 08:01:41 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id SAA48793; Fri, 8 Feb 2002 18:01:25 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (h71.228.dialup.iptcom.net [212.9.228.71]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id SAA53700; Fri, 8 Feb 2002 18:01:14 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g18G0hd69357; Fri, 8 Feb 2002 18:00:43 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3C63F639.FBE067CF@FreeBSD.org> Date: Fri, 08 Feb 2002 18:00:57 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Will Andrews Cc: hackers@FreeBSD.org Subject: Re: Linking libc before libc_r into application causes weird problems References: <1013147180.73417.2.camel@notebook> <20020207234233.D23162@canonware.com> <3C639A8C.6D100326@FreeBSD.org> <3C63A62D.3E4A4FC4@mindspring.com> <3C63AD02.79BA5AF5@FreeBSD.org> <20020208164132.D78163@sunbay.com> <3C63E5D1.1E423698@FreeBSD.org> <3C63E961.45706408@mindspring.com> <20020208172503.H78163@sunbay.com> <3C63F3FE.D4E73334@FreeBSD.org> <20020208155425.GA82640@squall.waterspout.com> Content-Type: text/plain; charset=x-user-defined Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Will Andrews wrote: > > [ cc:-list from hell snipped ] > > On Fri, Feb 08, 2002 at 05:51:26PM +0200, Maxim Sobolev wrote: > > But no library has it here! libc comes out of blue just before libc_r > > - see attached script. Perhaps I'm missing something, but I can't > > figure out where it comes from, could you? > > It is added automatically by ld(1) if -nostdlib is not specified. BZZZT! Wrong! It should come *after* libc_r, not before it. Please read the whole thread. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message