From owner-freebsd-gnome@FreeBSD.ORG Mon Apr 13 21:31:26 2015 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 91ECDFE0 for ; Mon, 13 Apr 2015 21:31:26 +0000 (UTC) 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 5D248C0C for ; Mon, 13 Apr 2015 21:31:26 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3DLVQgo029303 for ; Mon, 13 Apr 2015 21:31:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 196078] [patch] unbreak x11-fm/sushi build on FreeBSD 8 Date: Mon, 13 Apr 2015 21:31:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: truckman@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: 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-gnome@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2015 21:31:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196078 Don Lewis changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #4 from Don Lewis --- If I convert lang/gjs and lang/spidermonkey24 from USES=compiler:c11 to USES=compiler:c++11-lib, sushi builds and appears to run correctly without needing any modification. I can't totally verify functionality because I still can't start a GNOME session. On FreeBSD 8 and 9, this change causes gjs and spidermonkey24 to be build with gcc 4.8 from ports and link to its bundled copy of libstdc++ instead of being built with clang and linked the version of libstdc++ in base. Converting sushi to USES=compiler:c11 and forcing it to link to libstdc++ is the wrong approach because sushi appears to be entirely written in C and does not directly need a C++ library. The link errors were happening because libwebkitgtk-3.0 requires the newer libstdc++ from the gcc 4.8 port, but the other libraries were linked to the base libstdc++, and the version chosen by the linker when building sushi seems depend on the order of the libraries since it wasn't being forced to pick the gcc 4.8 port version by sushi. The libgraphite2 library is still linked to libstdc++ in base but doesn't seem to cause any problems. -- You are receiving this mail because: You are the assignee for the bug.