On Mon, 25 Nov 2002, Dan Lukes wrote:

>       The problem you hit is that the pthread stub functions as declared
> within src/lib/libc/gen/_pthread_stubs.c are optimized-out by "-O3"
> causing undefined symbol errors later during build. I don't know if it
> is gcc's optimiser bug or there is something wrong with _pthread_stubs.c
> code, but someone who knows should report and/or repair it.

Optimizing away static functions is OK.  The problem seems to be just the
old one that the references to the static functions are hidden in asms.
They are weak references in this case.  The kernel had this problem with
hidden references to sysctl infrastructure.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to