Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2001 08:04:59 -0700 (PDT)
From:      Donn Miller <hackr_d@yahoo.com>
To:        Filippo Moretti <gunnut@2ainfo.it>, stable@FreeBSD.org
Subject:   Re: error compiling XFree86-4.1.0
Message-ID:  <20010608150459.88054.qmail@web14708.mail.yahoo.com>
In-Reply-To: <20010608164507.B13037@2ainfo.it>

next in thread | previous in thread | raw e-mail | index | archive | help
--0-1804289383-992012699=:87790
Content-Type: text/plain; charset=us-ascii


 Uh-oh, looks like you're trying to build XFree86 with an optimization level of -O3.  I've seen this problem before, and it _is_ in fact caused by an optimizer bug.  You should start over with an optimization level of -O2.  -O3 causes some kind of problems linking with libc_r.
  Filippo Moretti <gunnut@2ainfo.it> wrote: 
I tried to compile from ports XFree86-4.1.0 up to build number 3 and all exit with
the following error (I am in 4.3_Stable i386 arch) 


LD_LIBRARY_PATH=../../exports/lib cc -o appres -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -L../../exports/lib appres.o -lXt -lSM -lICE -lXext -lX11 -L /usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib
../../exports/lib/libXt.so: undefined reference to `pthread_cond_signal'
/usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_'
../../exports/lib/libX11.so: undefined reference to `pthread_cond_broadcast'
/usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_'
../../exports/lib/libXt.so: undefined reference to `pthread_cond_init'
../../exports/lib/libXt.so: undefined reference to `pthread_mutex_unlock'
../../exports/lib/libXt.so: undefined reference to `pthread_self'
../../exports/lib/libXt.so: undefined reference to `pthread_mutex_destroy'
../../exports/lib/libXt.so: undefined reference to `pthread_mutex_lock'
../../exports/lib/libXt.so: undefined reference to `pthread_cond_wait'
../../exports/lib/libXt.so: undefined reference to `pthread_cond_destroy'
../../exports/lib/libXt.so: undefined reference to `pthread_mutex_init



---------------------------------
Do You Yahoo!?
Yahoo! Mail Personal Address - Get email at your own domain with Yahoo! Mail.
--0-1804289383-992012699=:87790
Content-Type: text/html; charset=us-ascii

<P> Uh-oh, looks like you're trying to build XFree86 with an optimization level of -O3.&nbsp; I've seen this problem before, and it _is_ in fact caused by an optimizer bug.&nbsp; You should start over with an optimization level of -O2.&nbsp; -O3 causes some kind of problems linking with libc_r.
<P>&nbsp; <B><I>Filippo Moretti &lt;gunnut@2ainfo.it&gt;</I></B> wrote: 
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<P>I tried to compile from ports XFree86-4.1.0 up to build number 3 and all exit with<BR>the following error (I am in 4.3_Stable i386 arch) <BR><BR><BR>LD_LIBRARY_PATH=../../exports/lib cc -o appres -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -L../../exports/lib appres.o -lXt -lSM -lICE -lXext -lX11 -L /usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib<BR>../../exports/lib/libXt.so: undefined reference to `pthread_cond_signal'<BR>/usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_'<BR>../../exports/lib/libX11.so: undefined reference to `pthread_cond_broadcast'<BR>/usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_'<BR>../../exports/lib/libXt.so: undefined reference to `pthread_cond_init'<BR>../../exports/lib/libXt.so: undefined reference to `pthread_mutex_unlock'<BR>../../exports/lib/libXt.so: undefined reference to `pthread_self'<BR>../../exports/lib/libXt.so: undefined reference to `pthread_mutex_destroy'<BR>../../exports/lib/libXt.so: undefined reference to `pthread_mutex_lock'<BR>../../exports/lib/libXt.so: undefined reference to `pthread_cond_wait'<BR>../../exports/lib/libXt.so: undefined reference to `pthread_cond_destroy'<BR>../../exports/lib/libXt.so: undefined reference to `pthread_mutex_init</P></BLOCKQUOTE><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="http://personal.mail.yahoo.com/?.refer=mailiyfoot">Yahoo! Mail Personal Address</a> - 
Get email at your own domain with Yahoo! Mail.
--0-1804289383-992012699=:87790--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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