[Top][All Lists]

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

Re: [PATCH] Building the Hurd with gcc-4.0

From: Neal H. Walfield
Subject: Re: [PATCH] Building the Hurd with gcc-4.0
Date: Wed, 14 Sep 2005 20:54:13 +0100
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.4 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI)

> It seems to be caused by _pthread_self, which is defined in
> libpthread/sysdeps/mach/hurd/pt-sysdep.h.  __hurd_threadvar_location is
> defined in glibc's include/hurd/threadvar.h, which is included by
> pt-sysdep.h.
> I "fixed" that issue by rebuilding parts of the Hurd with optimizations.
> Is there a real fix for that undefined reference?  Something like the
> above one?

The canonical fix in both scenarios is to compile with optimization
(i.e. at least -O1).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]