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 ; 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 Subject: Re: error compiling XFree86-4.1.0 To: Filippo Moretti , 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: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: 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 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

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-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message