Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2002 17:12:58 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Dan Lukes <dan@obluda.cz>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: buildworld fails on x86
Message-ID:  <20021125170457.I55737-100000@gamplex.bde.org>
In-Reply-To: <3DE16DE9.3000700@obluda.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021125170457.I55737-100000>