From owner-freebsd-stable  Fri Jun  8  8: 5: 6 2001
Delivered-To: freebsd-stable@freebsd.org
Received: from web14708.mail.yahoo.com (web14708.mail.yahoo.com [216.136.224.125])
	by hub.freebsd.org (Postfix) with SMTP id 289FC37B405
	for <stable@FreeBSD.org>; Fri,  8 Jun 2001 08:05:02 -0700 (PDT)
	(envelope-from hackr_d@yahoo.com)
Message-ID: <20010608150459.88054.qmail@web14708.mail.yahoo.com>
Received: from [63.67.120.228] by web14708.mail.yahoo.com; Fri, 08 Jun 2001 08:04:59 PDT
Date: Fri, 8 Jun 2001 08:04:59 -0700 (PDT)
From: Donn Miller <hackr_d@yahoo.com>
Subject: Re: error compiling XFree86-4.1.0
To: Filippo Moretti <gunnut@2ainfo.it>, stable@FreeBSD.org
In-Reply-To: <20010608164507.B13037@2ainfo.it>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-1804289383-992012699=:87790"
Sender: owner-freebsd-stable@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-stable.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo?subject=subscribe%20freebsd-stable>
List-Unsubscribe: <mailto:majordomo?subject=unsubscribe%20freebsd-stable>
X-Loop: FreeBSD.ORG

--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