Date: Tue, 05 Apr 2016 14:14:06 +0000 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 Message-ID: <bug-208538-21738-za0zN6laCB@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-208538-21738@https.bugs.freebsd.org/bugzilla/> References: <bug-208538-21738@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208538 --- Comment #5 from russo@bogodyn.org --- Attempts to make firefox compile with gcc5 without globally setting DEFAULT_VERSIONS= gcc=5 in /etc/make.conf failed. This was my preferred course, to avoid having to rebuild with gcc5 a lot of libraries that are used in the course of software development on this system. I tried putting USE_GCC=4.9+ in a /usr/local/etc/pkgtools.conf rule, but portupgrade failed --- the port continued to use gcc48. MAKE_ENV = { 'firefox-*' => 'USE_GCC=4.9+', } I tried building with "USE_GCC=4.9+" directly on a make command line in /usr/ports/www/firefox, but got an error message about string comparison error on line 130 of bsd.gcc.mk, which is supposed to be doing a numeric comparison. Same happened if I just used USE_GCC=5. I also tried just editing the Makefile in /usr/ports/www/firefox to add USE_GCC=5, and it gave the same error message (not surprisingly). The only thing that worked was DEFAULT_VERSIONS= gcc=5 in /etc/make.conf (or commenting out FAVORITE_COMPILER=gcc), 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 when one of them forces me to upgrade (or otherwise play games with /etc/make.conf), I can live with this for now. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208538-21738-za0zN6laCB>
