From owner-freebsd-hackers Fri Feb 8 8: 4:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from squall.waterspout.com (squall.waterspout.com [208.13.56.12]) by hub.freebsd.org (Postfix) with ESMTP id 380C637B417; Fri, 8 Feb 2002 08:04:33 -0800 (PST) Received: by squall.waterspout.com (Postfix, from userid 1050) id 4F51A9B08; Fri, 8 Feb 2002 11:03:51 -0500 (EST) Date: Fri, 8 Feb 2002 11:03:51 -0500 From: Will Andrews To: Maxim Sobolev Cc: Will Andrews , hackers@FreeBSD.org Subject: Re: Linking libc before libc_r into application causes weird problems Message-ID: <20020208160351.GC82640@squall.waterspout.com> References: <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> <3C63F639.FBE067CF@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C63F639.FBE067CF@FreeBSD.org> User-Agent: Mutt/1.3.26i 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 On Fri, Feb 08, 2002 at 06:00:57PM +0200, Maxim Sobolev wrote: > > 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. I did. If you'll actually read my reply, I said nothing about the order, just where it came from. REgards, -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message