Re: TLS seems to hae broken profiling

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Mon, 30 Aug 2004 15:55:44 -0700
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 <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?
> 

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
Received on Mon Aug 30 2004 - 20:55:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:09 UTC