From owner-freebsd-current@FreeBSD.ORG Fri Apr 16 05:27:57 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AD5916A4CE for ; Fri, 16 Apr 2004 05:27:57 -0700 (PDT) Received: from nwkea-mail-2.sun.com (nwkea-mail-2.sun.com [192.18.42.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6DDF43D55 for ; Fri, 16 Apr 2004 05:27:56 -0700 (PDT) (envelope-from Peter.Weiss@Sun.com) Received: from sun-gy.germany ([129.157.128.5]) by nwkea-mail-2.sun.com (8.12.10/8.12.9) with ESMTP id i3GCRtgx015537 for ; Fri, 16 Apr 2004 05:27:56 -0700 (PDT) Received: from Winona.Germany.Sun.COM (winona [129.157.133.118]) i3GCRsBg007664 for ; Fri, 16 Apr 2004 14:27:54 +0200 (MEST) Received: from Winona.Germany.Sun.COM (localhost [IPv6:::1]) i3GCRsCM014321 for ; Fri, 16 Apr 2004 14:27:54 +0200 (MEST) Received: (from pw105345@localhost)i3GCRsYJ014320; Fri, 16 Apr 2004 14:27:54 +0200 (MEST) X-Authentication-Warning: winona.Germany.Sun.COM: pw105345 set sender to Peter.Weiss@Sun.com using -f To: freebsd-current@freebsd.org From: Peter.Weiss@Sun.com (Peter Weiss, Sun Microsystems, Germany) Date: Fri, 16 Apr 2004 14:27:54 +0200 In-Reply-To: <20040415145214.GA73881@lichen.forest.homeunix.net> (Anthony Wood's message of "Thu, 15 Apr 2004 10:52:14 -0400") Message-ID: User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.3 (sparc-sun-solaris2.9) References: <1082015313.6486.4.camel@area51.cc-web.ma.schlund.de> <20040415145214.GA73881@lichen.forest.homeunix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: portsupgrade and XFree86-4.4.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 12:27:57 -0000 >>>>> "Anthony" == Anthony Wood writes: Anthony> On Thu, Apr 15, 2004 at 09:48:33AM +0200, Sascha Holzleiter wrote: Anthony> [...] Anthony> On a related not, when compiling 4.4.99.3, I get: Anthony> making all in lib/GL/GL... rm -f libGL.a ar clq libGL.a Anthony> ../../../lib/GL/glx/unshared/?*.o ../../../lib/GL/glx/glapi_x86.o Anthony> ../../../lib/GL/dri/unshared/XF86dri.o Anthony> ../../../lib/GL/dri/unshared/dri_glx.o Anthony> ../../../lib/GL/dri/drm/unshared/?*.o /usr/libexec/elf/ar: Anthony> ../../../lib/GL/dri/drm/unshared/?*.o: No such file or directory *** Anthony> Error code 1 Anthony> Peter, did you have to do anything to overcome this? Hello Anthony, Nope, the compilation went okay without any problems (I used the original 4.4.0 sources from xfree.org). The only thing I had to do was to fix the Makefile in xc/lib/GL/GL/Makefile: :2$ grep thread Makefile * e THREADS_LIBS = -lpthread THREADS_CXXLIBS = -lpthread (It used to be set to -lc_r) Now the dependencies are fixed: :2$ ldd /usr/X11R6/lib/libGL.so /usr/X11R6/lib/libGL.so: libpthread.so.1 => /usr/lib/libpthread.so.1 (0x281b3000) libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x281d6000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x281db000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x281e8000) libc.so.5 => /lib/libc.so.5 (0x28075000) I'd suggest to ensure that none of the libs in /usr/{local,X11R6}/lib has any dependency on libc_r (check either with ldd(1) or objdump(1)). See my other posting in this thread how I solved this. More details on request. Peter -- Peter Weiss / Peter.Weiss@germany.sun.com Sun Microsystems GmbH / Sonnenallee 1, D-85551 Kirchheim-Heimstetten (+49 89) 46008 2947 / mobil 0177/ 60 40 121