Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2004 15:50:06 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: TLS seems to hae broken profiling
Message-ID:  <4133AF1E.4090005@elischer.org>
In-Reply-To: <20040830223820.GA93366@troutmask.apl.washington.edu>
References:  <20040830223820.GA93366@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


Steve Kargl wrote:

>dhcp-78-96:sgk[264] cat > h.c
>#include <stdio.h>
>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?

>
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4133AF1E.4090005>