From owner-freebsd-current@FreeBSD.ORG Mon Aug 30 22:50:07 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 0F58816A4D0 for ; Mon, 30 Aug 2004 22:50:07 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E664343D3F for ; Mon, 30 Aug 2004 22:50:06 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id C24DE7A3D2; Mon, 30 Aug 2004 15:50:06 -0700 (PDT) Message-ID: <4133AF1E.4090005@elischer.org> Date: Mon, 30 Aug 2004 15:50:06 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Steve Kargl References: <20040830223820.GA93366@troutmask.apl.washington.edu> In-Reply-To: <20040830223820.GA93366@troutmask.apl.washington.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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:50:07 -0000 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? > > >