From owner-freebsd-gecko@freebsd.org Tue Apr 5 14:14:06 2016 Return-Path: Delivered-To: freebsd-gecko@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 229A8B03F6F for ; Tue, 5 Apr 2016 14:14:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 0DC601035 for ; Tue, 5 Apr 2016 14:14:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0962AB03F6E; Tue, 5 Apr 2016 14:14:06 +0000 (UTC) Delivered-To: gecko@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 09089B03F6D for ; Tue, 5 Apr 2016 14:14:06 +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 D53A41032 for ; Tue, 5 Apr 2016 14:14:05 +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 u35EE5TT046672 for ; Tue, 5 Apr 2016 14:14:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 208538] www/firefox 45 fails to build with -pie on lang/gcc after r410748 Date: Tue, 05 Apr 2016 14:14:06 +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 Only Me X-Bugzilla-Who: russo@bogodyn.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-gecko@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2016 14:14:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208538 --- Comment #5 from russo@bogodyn.org --- Attempts to make firefox compile with gcc5 without globally setting DEFAULT_VERSIONS=3D gcc=3D5 in /etc/make.conf failed. This was my preferred course, to avoid having to rebuild with gcc5 a lot of libraries that are us= ed in the course of software development on this system.=20=20 I tried putting USE_GCC=3D4.9+ in a /usr/local/etc/pkgtools.conf rule, but portupgrade failed --- the port continued to use gcc48.=20=20 MAKE_ENV =3D { 'firefox-*' =3D> 'USE_GCC=3D4.9+', } I tried building with "USE_GCC=3D4.9+" directly on a make command line in /usr/ports/www/firefox, but got an error message about string comparison er= ror on line 130 of bsd.gcc.mk, which is supposed to be doing a numeric comparis= on.=20 Same happened if I just used USE_GCC=3D5.=20 I also tried just editing the Makefile in /usr/ports/www/firefox to add USE_GCC=3D5, and it gave the same error message (not surprisingly). The only thing that worked was DEFAULT_VERSIONS=3D gcc=3D5 in /etc/make.con= f (or commenting out FAVORITE_COMPILER=3Dgcc), as you recommend in comment 2. Since I can defer having to upgrade the various libraries I need for development for a while, and then upgrade all of them to build with gcc 5 w= hen one of them forces me to upgrade (or otherwise play games with /etc/make.co= nf), I can live with this for now. --=20 You are receiving this mail because: You are the assignee for the bug.=