From owner-freebsd-ports@FreeBSD.ORG Wed Sep 19 20:09:40 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3CC1C106566B for ; Wed, 19 Sep 2012 20:09:40 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id 711DB8FC1C for ; Wed, 19 Sep 2012 20:09:39 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id q8JK9WFr004646; Wed, 19 Sep 2012 15:09:32 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.5/8.14.5/Submit) id q8JK9W5D004645; Wed, 19 Sep 2012 15:09:32 -0500 (CDT) (envelope-from brooks) Date: Wed, 19 Sep 2012 15:09:32 -0500 From: Brooks Davis To: "O. Hartmann" Message-ID: <20120919200932.GB3067@lor.one-eyed-alien.net> References: <5059CDB5.4090105@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline In-Reply-To: <5059CDB5.4090105@zedat.fu-berlin.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Ports FreeBSD Subject: Re: www/libxul: fails to compile with CLANG and fails to install with GCC X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2012 20:09:40 -0000 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 19, 2012 at 03:50:45PM +0200, O. Hartmann wrote: > I already filed a PR (ports/171566) regarding the CLANG compilation > issue, but since CLANG is a troublemaker for several ports, I also used > USE_GCC=3D4.6 to compile the port www/libxul and this works - but fails > then installing with >=20 > [...] > adding: hyphenation/hyph_hu.dic (deflated 62%) > /usr/ports/www/libxul/work/mozilla-esr10/dist/bin/xpcshell: Undefined > symbol "JSVAL_NULL" > gmake[1]: *** [install] Error 1 > gmake[1]: Leaving directory > `/usr/ports/www/libxul/work/mozilla-esr10/xulrunner/installer' > gmake: *** [install] Error 2 > *** [gecko-pre-install] Error code 2 >=20 > Stop in /usr/ports/www/libxul. > *** [install] Error code 1 Hmm. Sounds like a miscompile. If you're up for an experiment, I'd be interested in the results of applying the linked patch and building with USE_GCC=3D4.2. http://people.freebsd.org/~brooks/patches/really-use-gcc.diff It turns out that USE_GCC incorrectly assumes that CC/CPP/CXX don't need to be changed when the requested version of gcc is in the base system. -- Brooks --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD4DBQFQWiZ7XY6L6fI4GtQRAlPWAJ4gpRiNGALZ+hUvdJwJZOaokOw5LQCVFMPA xNLMZIsZHb8znTo+pMXM+g== =isgT -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--