[gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 2016-05-13, Grant Edwards wrote: > Well, I had never tried 4.9.3, and I'd been using 4.6 without problems > for some time, so keeping 4.6 seemed like the safe way to go. I still > don't understand what broke 4.6. I must have been using 4.9 for a while and then switched back to 4.6 when I ran across something that wouldn't build with 4.9. That would explain why packages could no longer be built with 4.6. If I understand correctly, there's no guarantee that you can build packages with a gcc version that's older than that used to build libraries that are used by the package being built. The good news: the emerge of gcc 4.9.3 (from sources) using a gcc 4.9.3 binary package seems to have worked, and it looks like things are building normally now. I'm pretty sure this all would have been avoided if I had told gcc-config to switch to 4.9.3 and then let emerge remove the older versions of gcc. :) -- Grant Edwards grant.b.edwardsYow! And furthermore, at my bowling average is gmail.comunimpeachable!!!
Re: [gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 14/05/16 06:35, Grant Edwards wrote: > On 2016-05-13, Bill Kenworthy wrote: > >> I have not seen it mentioned, but did you run "fix_libtool_files.sh" >> after changing gcc versions? > > You mean after I installed the binary 4.9.3 package and told > gcc-config to switch from 4.6 to 4.9.3? > > No, I didn't. > > According to https://wiki.gentoo.org/wiki/Upgrading_GCC you don't need to: > >Earlier installments of GCC on Gentoo required you to run a >specific command called fix_libtool_files.sh. Some time ago, the >execution of this command has been integrated in the package >deployments itself (through the toolchain eclass) so there is no >need for users to call this themselves anymore. > I suggest either giving it a go ... or check the logs to make sure that it did run. Experience from when I have had gcc breakage is that the mechanism is fragile. BillK
[gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 2016-05-13, Bill Kenworthy wrote: > I have not seen it mentioned, but did you run "fix_libtool_files.sh" > after changing gcc versions? You mean after I installed the binary 4.9.3 package and told gcc-config to switch from 4.6 to 4.9.3? No, I didn't. According to https://wiki.gentoo.org/wiki/Upgrading_GCC you don't need to: Earlier installments of GCC on Gentoo required you to run a specific command called fix_libtool_files.sh. Some time ago, the execution of this command has been integrated in the package deployments itself (through the toolchain eclass) so there is no need for users to call this themselves anymore. -- Grant Edwards grant.b.edwardsYow! If our behavior is at strict, we do not need fun! gmail.com
Re: [gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 14/05/16 06:18, Grant Edwards wrote: > On 2016-05-13, waltd...@waltdnes.org wrote: > >>> So, I uninstalled gcc 4.9 and all older versions except 4.6. >> >> Ouch! I was asking what you had, not suggesting removing anything yet. >> I would've recommended removing the old versions and keeping 4.9.3 if >> anything. > > Well, I had never tried 4.9.3, and I'd been using 4.6 without problems > for some time, so keeping 4.6 seemed like the safe way to go. I still > don't understand what broke 4.6. > >>> I then removed 4.6 from the world file (but left it installed). >>> >>> emerge is now happy and willing to upgrade gcc from 4.6 to 4.9 -- but >>> it can't: now the build of 4.9.3 is failing. It appears I can no >>> longer build _anything_. >>> >>> My system seems to be well and truly borked. >> >> See >> https://forums.gentoo.org/viewtopic-t-1009338-postdays-0-postorder-asc-start-0.html >> where someone else destroyed their gcc, and downloaded and untarred a >> binary tarball of gcc, to save their system. > > I built a few binary gcc packages on different Gentoo installs using > quickpkg. The first couple didn't work, but I eventually found a > machine whose gcc binaries will run on my broken box. I've now got a > binary install of gcc-4.9.3 that seems to be working. It's been > building gcc 4.9.3 for about 15 minutes now (building it with 4.6 > would fail within 15-20 seconds). > >> I can't seem to get http://tinderbox.dev.gentoo.org to respond. Was >> that part of the re-organization of the gentoo.org website? > > Tinderbox's owner pulled the plug on it a couple years ago. AFAIR, it > didn't have anything to do with the website reort. > I have not seen it mentioned, but did you run "fix_libtool_files.sh" after changing gcc versions? BillK
[gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 2016-05-13, waltd...@waltdnes.org wrote: >> So, I uninstalled gcc 4.9 and all older versions except 4.6. > > Ouch! I was asking what you had, not suggesting removing anything yet. > I would've recommended removing the old versions and keeping 4.9.3 if > anything. Well, I had never tried 4.9.3, and I'd been using 4.6 without problems for some time, so keeping 4.6 seemed like the safe way to go. I still don't understand what broke 4.6. >> I then removed 4.6 from the world file (but left it installed). >> >> emerge is now happy and willing to upgrade gcc from 4.6 to 4.9 -- but >> it can't: now the build of 4.9.3 is failing. It appears I can no >> longer build _anything_. >> >> My system seems to be well and truly borked. > > See > https://forums.gentoo.org/viewtopic-t-1009338-postdays-0-postorder-asc-start-0.html > where someone else destroyed their gcc, and downloaded and untarred a > binary tarball of gcc, to save their system. I built a few binary gcc packages on different Gentoo installs using quickpkg. The first couple didn't work, but I eventually found a machine whose gcc binaries will run on my broken box. I've now got a binary install of gcc-4.9.3 that seems to be working. It's been building gcc 4.9.3 for about 15 minutes now (building it with 4.6 would fail within 15-20 seconds). > I can't seem to get http://tinderbox.dev.gentoo.org to respond. Was > that part of the re-organization of the gentoo.org website? Tinderbox's owner pulled the plug on it a couple years ago. AFAIR, it didn't have anything to do with the website reort. -- Grant Edwards grant.b.edwardsYow! Is a tattoo real, like at a curb or a battleship? gmail.comOr are we suffering in Safeway?
Re: [gentoo-user] Re: Can't figure out gcc-4.9 blocker
On Fri, May 13, 2016 at 08:25:14PM +, Grant Edwards wrote > AFAICT, you are suddenly not allowed to have gcc 4.9 installed > alongside any older versions -- even though they're supposedly in > slots. > > This is odd, because my system has had 4.9.whatever along with 3-4 > older versions for some time and been perfectly happy. > > So, I uninstalled gcc 4.9 and all older versions except 4.6. Ouch! I was asking what you had, not suggesting removing anything yet. I would've recommended removing the old versions and keeping 4.9.3 if anything. > > I then removed 4.6 from the world file (but left it installed). > > emerge is now happy and willing to upgrade gcc from 4.6 to 4.9 -- but > it can't: now the build of 4.9.3 is failing. It appears I can no > longer build _anything_. > > My system seems to be well and truly borked. See https://forums.gentoo.org/viewtopic-t-1009338-postdays-0-postorder-asc-start-0.html where someone else destroyed their gcc, and downloaded and untarred a binary tarball of gcc, to save their system. I can't seem to get http://tinderbox.dev.gentoo.org to respond. Was that part of the re-organization of the gentoo.org website? -- Walter Dnes I don't run "desktop environments"; I run useful applications
[gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 2016-05-13, Willie M wrote: So, I uninstalled gcc 4.9 and all older versions except 4.6. > 4.9 most likely works if it is installed. Just have to tell gentoo to > use it. > > gcc-config -l $ gcc-config -l [1] x86_64-pc-linux-gnu-4.6.4 * -- Grant Edwards grant.b.edwardsYow! JAPAN is a WONDERFUL at planet -- I wonder if we'll gmail.comever reach their level of COMPARATIVE SHOPPING ...
Re: [gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 05/13/2016 02:24 PM, Willie M wrote: > On 05/13/2016 01:43 PM, Alec Ten Harmsel wrote: >> On Fri, May 13, 2016 at 08:25:14PM +, Grant Edwards wrote: >>> >>> So, I uninstalled gcc 4.9 and all older versions except 4.6. >>> >>> I then removed 4.6 from the world file (but left it installed). >>> >>> emerge is now happy and willing to upgrade gcc from 4.6 to 4.9 -- but >>> it can't: now the build of 4.9.3 is failing. >> >> What is the error? >> >>> It appears I can no >>> longer build _anything_. >> >> If this is true, that sucks. I have not had a problem upgrading GCC at >> all, although I've been rolling with 4.9 for a while I think. >> >> Alec >> > > gcc-config -l > 4.9 most likely works if it is installed. Just have to tell gentoo to use it. gcc-config -l it will tell you how to set the seleted one you want which will be 4.9.3 or something like that. -- Willie Matthews matthews.willi...@gmail.com (702) 659-9966 signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 05/13/2016 01:43 PM, Alec Ten Harmsel wrote: > On Fri, May 13, 2016 at 08:25:14PM +, Grant Edwards wrote: >> >> So, I uninstalled gcc 4.9 and all older versions except 4.6. >> >> I then removed 4.6 from the world file (but left it installed). >> >> emerge is now happy and willing to upgrade gcc from 4.6 to 4.9 -- but >> it can't: now the build of 4.9.3 is failing. > > What is the error? > >> It appears I can no >> longer build _anything_. > > If this is true, that sucks. I have not had a problem upgrading GCC at > all, although I've been rolling with 4.9 for a while I think. > > Alec > gcc-config -l -- Willie Matthews matthews.willi...@gmail.com (702) 659-9966 signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 2016-05-13, Alec Ten Harmsel wrote: > On Fri, May 13, 2016 at 08:25:14PM +, Grant Edwards wrote: >> >> So, I uninstalled gcc 4.9 and all older versions except 4.6. >> >> I then removed 4.6 from the world file (but left it installed). >> >> emerge is now happy and willing to upgrade gcc from 4.6 to 4.9 -- but >> it can't: now the build of 4.9.3 is failing. > > What is the error? I gave up on 4.9.3, and am just trying to rebuild 4.6.4. It fails pretty much the same way when trying to build libiberty: /usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] checking for grep that handles long lines and -e... /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/unlink-if-ordinary.c: In function ‘$ /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/unlink-if-ordinary.c:65:15: error: storage size of ‘st’ isn’t known /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/unlink-if-ordinary.c:67:3: warning: implicit declaration of function ‘stat’ [-Wimplicit$ /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/unlink-if-ordinary.c:68:7: warning: implicit declaration of function ‘S_ISREG’ [-Wimpli$ /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/unlink-if-ordinary.c:69:5: warning: implicit declaration of function ‘unlink’ [-Wimplic$ /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/unlink-if-ordinary.c:65:15: warning: unused variable ‘st’ [-Wunused-variable] Makefile:1147: recipe for target 'unlink-if-ordinary.o' failed make[3]: *** [unlink-if-ordinary.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-4.6.4/work/build/libiberty' Makefile:10456: recipe for target 'all-stage1-libiberty' failed make[2]: *** [all-stage1-libiberty] Error 2 make[2]: *** Waiting for unfinished jobs So, it seems I now don't have a working compiler. I tried doing a quickpkg of gcc-4.9.3 on one of my other systems (which is still happy with having 4.9.3 and older versions installed), but the CPU type didn't match closely enough, and the binaries from the package had illegal instructions. -- Grant Edwards grant.b.edwardsYow! I once decorated my at apartment entirely in ten gmail.comfoot salad forks!!
[gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 2016-05-13, Neil Bothwick wrote: > On Fri, 13 May 2016 19:34:18 + (UTC), Grant Edwards wrote: > >> Is one no longer allowed to have multiple gcc versions insalled? It >> seemd to be allowed earlier today... > > That's right, see the "A Glitch in the Matrix..." thread, particularly > Jonathan's posts, for enlightenment. Ah, silly me. When I was searching through the mailing list I didn't recognize that subject line as relevent. -- Grant Edwards grant.b.edwardsYow! HELLO, everybody, at I'm a HUMAN!! gmail.com
Re: [gentoo-user] Re: Can't figure out gcc-4.9 blocker
On Fri, May 13, 2016 at 08:25:14PM +, Grant Edwards wrote: > > So, I uninstalled gcc 4.9 and all older versions except 4.6. > > I then removed 4.6 from the world file (but left it installed). > > emerge is now happy and willing to upgrade gcc from 4.6 to 4.9 -- but > it can't: now the build of 4.9.3 is failing. What is the error? > It appears I can no > longer build _anything_. If this is true, that sucks. I have not had a problem upgrading GCC at all, although I've been rolling with 4.9 for a while I think. Alec
Re: [gentoo-user] Re: Can't figure out gcc-4.9 blocker
On Fri, 13 May 2016 19:34:18 + (UTC), Grant Edwards wrote: > Is one no longer allowed to have multiple gcc versions insalled? It > seemd to be allowed earlier today... That's right, see the "A Glitch in the Matrix..." thread, particularly Jonathan's posts, for enlightenment. -- Neil Bothwick Linux like wigwam. No windows, no gates, Apache inside. pgpdgbGbJNcO6.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 05/13/2016 01:25 PM, Grant Edwards wrote: > AFAICT, you are suddenly not allowed to have gcc 4.9 installed > alongside any older versions -- even though they're supposedly in > slots. > > This is odd, because my system has had 4.9.whatever along with 3-4 > older versions for some time and been perfectly happy. > > So, I uninstalled gcc 4.9 and all older versions except 4.6. > > I then removed 4.6 from the world file (but left it installed). > > emerge is now happy and willing to upgrade gcc from 4.6 to 4.9 -- but > it can't: now the build of 4.9.3 is failing. It appears I can no > longer build _anything_. > > My system seems to be well and truly borked. > That is what the multislot start was telling you with the minus sign in front of it. That is what changed. -- Willie Matthews matthews.willi...@gmail.com (702) 659-9966 signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Can't figure out gcc-4.9 blocker
AFAICT, you are suddenly not allowed to have gcc 4.9 installed alongside any older versions -- even though they're supposedly in slots. This is odd, because my system has had 4.9.whatever along with 3-4 older versions for some time and been perfectly happy. So, I uninstalled gcc 4.9 and all older versions except 4.6. I then removed 4.6 from the world file (but left it installed). emerge is now happy and willing to upgrade gcc from 4.6 to 4.9 -- but it can't: now the build of 4.9.3 is failing. It appears I can no longer build _anything_. My system seems to be well and truly borked. -- Grant Edwards grant.b.edwardsYow! I want to kill at everyone here with a cute gmail.comcolorful Hydrogen Bomb!!
[gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 2016-05-13, waltd...@waltdnes.org wrote: > Do you have gcc-4.5.4, gcc-4.3.6, and gcc-4.6.4 in "world"? Yes (I did). > If so, why? Because at one time or another have have needed specific versions of gcc for building something. Is one no longer allowed to have multiple gcc versions insalled? It seemd to be allowed earlier today... -- Grant Edwards grant.b.edwardsYow! I'd like MY data-base at JULIENNED and stir-fried! gmail.com
[gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 2016-05-13, Willie M wrote: > On 05/13/2016 12:16 PM, Grant Edwards wrote: > > I have no idea but I seen that star and thought about that it might be > that reason. It also wants to reinstall gcc-4.5 so make sure you > uninstall that. A couple hours ago, my system was perfectly happy with the exact same set of GCC versions installed (with no multislot flag), and now it now says they can't be installed together. -- Grant Edwards grant.b.edwardsYow! It's a hole all the at way to downtown Burbank! gmail.com
Re: [gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 05/13/2016 12:16 PM, Grant Edwards wrote: > On 2016-05-13, Willie M wrote: > >> It looks like the multislot use flag has changed. I think that is what >> the star means. > > I had it enabled temporarily, but emerge then failed on the first > package it tried to build (gcc-4.5). > > Then decided I shouldn't need it and removed it, since it seemed to be > for installing multiple versions within a slot. Why would one need > "multislot" set? > >> So make sure you have that use flag enabled still for >> all of your gcc versions. > >> >> sys-devel/gcc multislot > > > I have no idea but I seen that star and thought about that it might be that reason. It also wants to reinstall gcc-4.5 so make sure you uninstall that. That may be a reason it is telling you that also. -- Willie Matthews matthews.willi...@gmail.com (702) 659-9966 signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Can't figure out gcc-4.9 blocker
On 2016-05-13, Willie M wrote: > It looks like the multislot use flag has changed. I think that is what > the star means. I had it enabled temporarily, but emerge then failed on the first package it tried to build (gcc-4.5). Then decided I shouldn't need it and removed it, since it seemed to be for installing multiple versions within a slot. Why would one need "multislot" set? > So make sure you have that use flag enabled still for > all of your gcc versions. > > sys-devel/gcc multislot -- Grant Edwards grant.b.edwardsYow! Okay ... I'm going at home to write the "I HATE gmail.comRUBIK's CUBE HANDBOOK FOR DEAD CAT LOVERS" ...