From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 23 07:21:46 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 22F4FB46 for ; Wed, 23 Jul 2014 07:21:46 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0933C2A1B for ; Wed, 23 Jul 2014 07:21:46 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6N7Ljcn099479 for ; Wed, 23 Jul 2014 07:21:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 192056] New: [new_xorg] freebsd:10:x86:32 repository: libGL/dri libraries have DT_RPATH tags but are missing DT_RUNPATH tags Date: Wed, 23 Jul 2014 07:21:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: nbe@renzel.net X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2014 07:21:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192056 Bug ID: 192056 Summary: [new_xorg] freebsd:10:x86:32 repository: libGL/dri libraries have DT_RPATH tags but are missing DT_RUNPATH tags Product: Ports Tree Version: Latest Hardware: i386 OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: nbe@renzel.net I've built "i386-wine-devel" using an i386 chroot on an amd64 10.0-STABLE. In that chroot I'm using the X.Org libraries from the "new_xorg" PKG repository. For some reason in some of its libraries the "DT_RPATH" tag is set but not the "DT_RUNPATH" tag: ================================================================================ (32-bit chroot) # elfdump -d /usr/local/lib/libX11.so | grep PATH d_tag: DT_RPATH d_tag: DT_RUNPATH # elfdump -d /usr/local/lib/libGL.so | grep PATH d_tag: DT_RPATH # elfdump -d /usr/local/lib/dri/i965_dri.so | grep PATH d_tag: DT_RPATH ================================================================================ That leads to the problem that some 32-bit libraries cannot be found on the 64- bit host (because of that DT_RPATH without DT_RUNPATH precedence): ================================================================================ (64-bit host) #env LD_32_LIBRARY_PATH=/usr/local/lib32 ldd32 /usr/local/lib32/libGL.so.1 /usr/local/lib32/libGL.so.1: libglapi.so.0 => not found (0) libXext.so.6 => not found (0) libXdamage.so.1 => not found (0) libXfixes.so.3 => not found (0) libX11-xcb.so.1 => not found (0) libX11.so.6 => not found (0) libxcb-glx.so.0 => not found (0) libxcb-dri2.so.0 => not found (0) libxcb.so.1 => not found (0) libXxf86vm.so.1 => not found (0) libdrm.so.2 => not found (0) libm.so.5 => /usr/lib32/libm.so.5 (0x28253000) libthr.so.3 => /usr/lib32/libthr.so.3 (0x28278000) libc.so.7 => /usr/lib32/libc.so.7 (0x2806d000) ================================================================================ Using the "LD_32_LIBRARY_PATH_RPATH" workaround: ================================================================================ (64-bit host) #env LD_32_LIBRARY_PATH_RPATH=y LD_32_LIBRARY_PATH=/usr/local/lib32 ldd32 /usr/local/lib32/libGL.so.1 /usr/local/lib32/libGL.so.1: libglapi.so.0 => /usr/local/lib32/libglapi.so.0 (0x28253000) libXext.so.6 => /usr/local/lib32/libXext.so.6 (0x28272000) libXdamage.so.1 => /usr/local/lib32/libXdamage.so.1 (0x28281000) libXfixes.so.3 => /usr/local/lib32/libXfixes.so.3 (0x28284000) libX11-xcb.so.1 => /usr/local/lib32/libX11-xcb.so.1 (0x28289000) libX11.so.6 => /usr/local/lib32/libX11.so.6 (0x2828b000) libxcb-glx.so.0 => /usr/local/lib32/libxcb-glx.so.0 (0x283a2000) libxcb-dri2.so.0 => /usr/local/lib32/libxcb-dri2.so.0 (0x283b5000) libxcb.so.1 => /usr/local/lib32/libxcb.so.1 (0x283b9000) libXxf86vm.so.1 => /usr/local/lib32/libXxf86vm.so.1 (0x283d4000) libdrm.so.2 => /usr/local/lib32/libdrm.so.2 (0x283d9000) libm.so.5 => /usr/lib32/libm.so.5 (0x28c00000) libthr.so.3 => /usr/lib32/libthr.so.3 (0x28c25000) libc.so.7 => /usr/lib32/libc.so.7 (0x2806d000) librpcsvc.so.5 => /usr/lib32/librpcsvc.so.5 (0x283e4000) libpthread-stubs.so.0 => /usr/local/lib32/libpthread-stubs.so.0 (0x283ed000) libXau.so.6 => /usr/local/lib32/libXau.so.6 (0x283ef000) libXdmcp.so.6 => /usr/local/lib32/libXdmcp.so.6 (0x283f2000) ================================================================================ I don't know if that's intentional... -- You are receiving this mail because: You are the assignee for the bug.