From owner-freebsd-ports@FreeBSD.ORG Thu Sep 20 11:49:09 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 132CD106566B; Thu, 20 Sep 2012 11:49:09 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id BF56D8FC0A; Thu, 20 Sep 2012 11:49:08 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1TEexf-0001rt-NU>; Thu, 20 Sep 2012 13:30:27 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1TEexf-0003DC-L9>; Thu, 20 Sep 2012 13:30:27 +0200 Message-ID: <505AFE53.9090400@mail.zedat.fu-berlin.de> Date: Thu, 20 Sep 2012 13:30:27 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Brooks Davis References: <5059CDB5.4090105@zedat.fu-berlin.de> <20120919200932.GB3067@lor.one-eyed-alien.net> In-Reply-To: <20120919200932.GB3067@lor.one-eyed-alien.net> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Originating-IP: 130.133.86.198 Cc: "O. Hartmann" , 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: Thu, 20 Sep 2012 11:49:09 -0000 On 09/19/12 22:09, Brooks Davis wrote: > 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=4.6 to compile the port www/libxul and this works - but fails >> then installing with >> >> [...] >> 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 >> >> 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=4.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 > Hello Brooks. The port www/libxul does now compile with option USE_GCC=4.6+. I needed to remove the former config via "make rmconfig" first. Something went wrong on two FBSD10 boxes when the update was performed automatically and the config remained "old". It still fails compiling with CLANG. If you still want me to do the experiment, please give me a note. Regards, Oliver