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/>
next in thread | previous in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208538-21738-za0zN6laCB>