From owner-freebsd-current@FreeBSD.ORG Mon Aug 30 22:55:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72BAD16A4CE for ; Mon, 30 Aug 2004 22:55:46 +0000 (GMT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55B9443D58 for ; Mon, 30 Aug 2004 22:55:46 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) i7UMtin0093549; Mon, 30 Aug 2004 15:55:44 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)i7UMtiJ2093548; Mon, 30 Aug 2004 15:55:44 -0700 (PDT) (envelope-from sgk) Date: Mon, 30 Aug 2004 15:55:44 -0700 From: Steve Kargl To: Julian Elischer Message-ID: <20040830225544.GA93502@troutmask.apl.washington.edu> References: <20040830223820.GA93366@troutmask.apl.washington.edu> <4133AF1E.4090005@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4133AF1E.4090005@elischer.org> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org Subject: Re: TLS seems to hae broken profiling X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 22:55:46 -0000 On Mon, Aug 30, 2004 at 03:50:06PM -0700, Julian Elischer wrote: > > > Steve Kargl wrote: > > >dhcp-78-96:sgk[264] cat > h.c > >#include > >int main(void) { > > printf("Hello world.\n"); > > return 0; > >} > >dhcp-78-96:sgk[265] gcc -o h -O2 h.c > >dhcp-78-96:sgk[266] ./h > >Hello world. > >dhcp-78-96:sgk[267] gcc -o h -O2 -pg h.c > >/usr/lib/gcrt1.o(.text+0x65): In function `_start': > >: undefined reference to `_init_tls' > >collect2: ld returned 1 exit status > > > >Is this a known issues or should I send-pr? > > > > do you need to compile a profiled libc? > Crude, you may be right. I disabled the building of profiled libraries a few weeks ago and forgot to update the *_p.a when TLS went into the system. -- Steve