tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fix -static with -lpthread



On Sat, Jun 26, 2010 at 01:41:39AM +0200, Joerg Sonnenberger wrote:
 > attached is a patch to fix PR 37454 (segmentation fault when using
 > libpthread in static linked programs). I can't find a cleaner way to
 > force initfini.o to pulled in. The approach of the patch is to reference
 > it from exit.o as crt0.o calls exit and there by pulls in exit.o.

...why not just reference it from crt0?

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index