From owner-freebsd-ruby@freebsd.org Tue Oct 18 09:29:03 2016 Return-Path: Delivered-To: freebsd-ruby@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12575C16486 for ; Tue, 18 Oct 2016 09:29:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EFE5AFCD for ; Tue, 18 Oct 2016 09:29:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EF547C16484; Tue, 18 Oct 2016 09:29:02 +0000 (UTC) Delivered-To: ruby@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF034C16483 for ; Tue, 18 Oct 2016 09:29:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DEB4EFCC for ; Tue, 18 Oct 2016 09:29:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9I9T2mI096366 for ; Tue, 18 Oct 2016 09:29:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 213588] lang/gcc5 fails to build www/firefox and lang/ruby22 with DTRACE enabled Date: Tue, 18 Oct 2016 09:29:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kennethsalerno@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org 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 cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2016 09:29:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213588 Bug ID: 213588 Summary: lang/gcc5 fails to build www/firefox and lang/ruby22 with DTRACE enabled Product: Ports & Packages Version: Latest Hardware: i386 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: kennethsalerno@yahoo.com CC: gecko@FreeBSD.org, gerald@FreeBSD.org, ruby@FreeBSD.org CC: gecko@FreeBSD.org, gerald@FreeBSD.org, ruby@FreeBSD.org Note: similar linker failure listed in NetBSD PR toolchain/51459 Resolution: www/firefox: disable DTRACE lang/ruby22: force --disable-dtrace (should be a configurable option...) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D www/firefox build fails with: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D /usr/local/bin/ld: ../../js/src/js-dtrace.o: warning: relocation against `_ZN2js 13ExecuteKernelEP9JSContextN2JS6HandleIP8JSScriptEER8JSObjectRKNS2_5ValueEN= S_16A bstractFramePtrEPS9_' in readonly section `.SUNW_dof' `__x86.get_pc_thunk.bx' referenced in section `.text' of ../../js/src/js-dtrace.o: defined in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of ../../js/src/js-dtrace.o `__x86.get_pc_thunk.bx' referenced in section `.text.startup' of ../../js/src/js-dtrace.o: defined in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of ../../js/src/js-dtrace.o `__x86.get_pc_thunk.bx' referenced in section `.text.exit' of ../../js/src/js-dtrace.o: defined in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of ../../js/src/js-dtrace.o /usr/local/bin/ld: read-only segment has dynamic relocations. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D lang/ruby22 build fails with: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D linking miniruby `__x86.get_pc_thunk.bx' referenced in section `.text' of probes.o: defined = in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of probes.o `__x86.get_pc_thunk.bx' referenced in section `.text.startup' of probes.o: defined in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of probes.o `__x86.get_pc_thunk.bx' referenced in section `.text.exit' of probes.o: def= ined in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of probes.o collect2: error: ld returned 1 exit status My build environment: poudriere 3.1.14 poudriere jail world (src): 11.0-RELEASE-p1 XCC =3D /usr/local/bin/i386-portbld-freebsd11.0-gcc XCXX =3D /usr/local/bin/i386-portbld-freebsd11.0-g++ XCPP =3D /usr/local/bin/i386-portbld-freebsd11.0-cpp CROSS_BINUTILS_PREFIX =3D /usr/local/bin/i386-freebsd- (i386-gcc and i386-binutils are simply a copy of devel/amd64-* xtoolchains built for i386 with sed -i '' 's/amd64/i386/g; s/x86_64/i386/g' Makefile && make && make makeplist >pkg-plist && make clean && make install clean) ports config: CC =3D /usr/local/bin/gcc5 CXX =3D /usr/local/bin/g++5 CPP =3D /usr/local/bin/cpp5 CFLAGS +=3D -Wl,-rpath=3D/usr/local/lib/gcc5 CXXFLAGS +=3D -Wl,-rpath=3D/usr/local/lib/gcc5 LDFLAGS +=3D -Wl,-rpath=3D/usr/local/lib/gcc5 -L/usr/local/lib/gcc5 --=20 You are receiving this mail because: You are on the CC list for the bug.=