View previous topic :: View next topic |
Author |
Message |
mDup Apprentice
Joined: 14 Apr 2006 Posts: 212
|
Posted: Fri Jul 18, 2014 12:03 am Post subject: |
|
|
fwiw mythtv does not build
see Gentoo's Bugzilla Bug 516692
perhaps gcc 4.9.1 might take care |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3627
|
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3627
|
Posted: Sat Jul 19, 2014 6:03 pm Post subject: |
|
|
I've just tried with binutils-2.24.
-ffat-lto-object seems to work, patchless & symlinkless.
Let's notice gcc 4.8/binutils-2.24 never required this compile flag to be activated. A possible explanation:
Comparing 4.8.3 and 4.9. gnu docs seems like defaulting to -ffat-lto-object has now become defaulted to -fno-fat-lto-object. As a result it is very likely that including -ffat-lto-object in CFLAGS brings me back to my previous emerge environment, lto wise.
Since I decided to go for gcc 4.9 freshly after a lto activation for gcc-4.8 :
I remain unsure which of the two (fat or no-fat) should bring lto to the max efficiency?
I also remain unsure if I consequently get lto at link time since -ffat-lto-object (defaulted to or forced) seems to allow lto less link time (gnu doc), assuming lto is forced in my LDFLAGS.
The more I tweak around it (lto) the more I feel like I'm understanding it. I regret finding information is so time consuming.
Thks 4 ur attention, interest & support.
Last edited by CaptainBlood on Sat Jul 19, 2014 6:09 pm; edited 1 time in total |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6747
|
Posted: Sat Jul 19, 2014 6:08 pm Post subject: |
|
|
CaptainBlood wrote: | -ffat-lto-object seems to work, patchless & symlinkless. |
and usually effectless...
If linking works only when you use -ffat-lto-object, it means that lto is not used (at least for some parts of the build, usually the biggest part). |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3627
|
Posted: Sat Jul 19, 2014 6:20 pm Post subject: |
|
|
So I never got lto really involved to the max... , if I understand you well.
Anyone here with good kownledge which non system small ebuild which is concerned by -lto and working with -fno-fat-lto-objects, so that I can validate my lto/gcc/binutils env to start with?
I fear lto link time breakage.
Thks 4 ur attention, interest & support.
EDIT: remember I had to -fno-fat-lto-object for sys-apps/acl which initially caused gvfs mounting to fail. Giving a try. => failed Wonder if I shouldn't go back to gcc 4.8/binutils 2.24.0 env, trying to activate fno-fat-lto-object as much as possible and then wait for better visibility on gcc 4.9 lto readyness.EOE |
|
Back to top |
|
|
Jerry_McBride n00b
Joined: 23 Mar 2004 Posts: 10
|
Posted: Sat Jul 19, 2014 8:06 pm Post subject: Tigervnc |
|
|
I find that tigervnc fails to compile with the later GCC, I am not able to test LTO or GRAPHITE till I can resolve this error during vncviewer compile.
tigervnc-1.3.1/vncviewer/CConn.h:43:27: error: 'FL_SOCKET' has not been declared
Old versions of GCC, no problems... |
|
Back to top |
|
|
Maitreya Guru
Joined: 11 Jan 2006 Posts: 441
|
Posted: Sun Sep 07, 2014 10:52 pm Post subject: |
|
|
saellaven wrote: | haven't filed a bug yet since I haven't had time to dig deeper...
net-fs/nfs-utils-1.2.9-r3 with gcc-4.9.0
Jul 14 20:11:01 alpha kernel: rpc.mountd[3738]: segfault at 0 ip 00000000004096da sp 00007fff79a63920 error 4 in rpc.mountd[400000+18000]
Jul 14 20:57:31 alpha kernel: rpc.mountd[7152]: segfault at 0 ip 00000000004096da sp 00007fff5bfd8e80 error 4 in rpc.mountd[400000+18000]
works fine again compiled with 4.8.2
...
|
net-fs/nfs-utils-1.3.0 seems to have fixed this for me. |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Sun Jan 18, 2015 7:56 pm Post subject: |
|
|
I would welcome some advice. What are the important changes from 4.8.x to 4.9.2? Is a world recompile advisable or not? If so, how? I am well aware of lengthy discussions in the past whether or not to do a two-pass recompile, to include only a few compiler tools or the entire “system” group of packages etc. I prefer to use the wiki guide: http://wiki.gentoo.org/wiki/Upgrading_GCC is that what most of you use?
Side note: I no longer have the time to do a lot of experimentation myself |
|
Back to top |
|
|
lutel Tux's lil' helper
Joined: 19 Oct 2003 Posts: 110 Location: Pomroczna
|
Posted: Mon Aug 17, 2015 8:31 am Post subject: still no gcc 4.9 |
|
|
What is the current status of tests? Why it takes so long to unmask 4.9, even though 5.2 is on the horizon, and 5.1 being used in Debian? I think its crucial for Gentoo to stay on high gcc version, as for lots of people Gentoo is chosen for optimization reasons... |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Mon Aug 17, 2015 8:51 am Post subject: |
|
|
You may check gentoo bugzilla regarding those gcc constraints. As far as I can remember those Gcc had a several bug for any version and until not everything is fixed its masked ...
I get the feeling we have less developers as in the past. So many packages fail to build recently, some bugs are open for months. .... Just a slice of what I have seen but it seems like that. On the other hand we did not had all those gentoo derived distros in teh past liek these days. I would not be surprised that these devs went to those calculate / sabayon / funtoo and the main distro lacks developers ...
e.g. https://bugs.gentoo.org/show_bug.cgi?id=555886
like those i reported. They stay unconfirmed for ages ...
e.g. https://bugs.gentoo.org/buglist.cgi?quicksearch=gcc%205.2&list_id=2880478
7 results. 1 confirmed 6 unconfirmed ...
I hardly remember in the past that ebuilds lack so many dependencies as these days. I have so many emerge ... failed messages because there are missing dependencies.
No idea what happened to the gentoo bug fixing day? It used to be one day in a month a bug fixing day ...
check eternal lands ebuild. The client can not be used anymore, and its still in the tree. My humble request to ditch it out of the tree is ignored. when there are no maintainers and the current client can not be used anymore (a new client since 2-3 years for htis game) it should be removed. the ebuild for the outdated game client is still in many overlays so its not lost anyway.
I suggest tree cleaners to purge more software with open bugs especially when its outdated or when there are newer pacakges in the tree. that will reduce the bugs and gives developers more space to fix the essential things ... |
|
Back to top |
|
|
jorgicio n00b
Joined: 17 Oct 2014 Posts: 47
|
Posted: Thu Aug 20, 2015 8:10 pm Post subject: |
|
|
I just reinstalled Gentoo (coming from Funtoo), with the Unstable branch (ergo, with GCC 4.9.3), and no breakages at all. Using ~amd64.
I hope the same for everyone who wants to do that. |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Thu Aug 20, 2015 8:19 pm Post subject: |
|
|
Code: | gcc-config -l
[1] x86_64-pc-linux-gnu-4.4.7
[2] x86_64-pc-linux-gnu-4.5.4
[3] x86_64-pc-linux-gnu-4.6.4
[4] x86_64-pc-linux-gnu-4.7.4
[5] x86_64-pc-linux-gnu-4.9.3 * |
the issue is more about the gold linker. Some packages won t compile and i filed a few bug for gold linker...
the gcc is quite useable for quite a while. though i wonder if I should remove [1],[2], maybe [3]... |
|
Back to top |
|
|
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Fri Aug 21, 2015 1:10 pm Post subject: |
|
|
Hello,
I'm stuck with a VirtualBox installation and it seems it's due to a bug w/ GCC ... so I'm considering to upgrade GCC.
Is full world rebuild necessary ?
Is still Icetea failling ?
Thanks
Laurent |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Fri Aug 21, 2015 2:06 pm Post subject: |
|
|
there was a gentoo page about upgrading gcc for general questions. https://wiki.gentoo.org/wiki/Upgrading_GCC
Code: | [I] dev-java/icedtea-bin
Available versions:
(6) 6.1.13.7^s (~)6.1.13.7-r1^s
(7) 7.2.5.5^s (~)7.2.5.5-r1^s
{+X +alsa cjk +cups doc examples nsplugin pulseaudio selinux source webstart}
Installed versions: 6.1.13.7-r1(6)^s(09:04:02 29.06.2015)(X alsa cups nsplugin -cjk -doc -examples -selinux -source -webstart) 7.2.5.5-r1(7)^s(09:03:39 29.06.2015)(X alsa cups nsplugin pulseaudio -cjk -doc -examples -selinux -source -webstart)
Homepage: http://icedtea.classpath.org
Description: A Gentoo-made binary build of the IcedTea JDK
|
No issue with this package here.
It depends on your setup.
And it does not hurt to have several gcc on your box. In the old days I screwed up gcc and I was happy that i had another gcc on my box.
You could try to change gcc and compile that package which does not compile and than change back. Not sure if thats recommended...
I think about going gcc 5.x version soon... |
|
Back to top |
|
|
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Fri Aug 21, 2015 3:15 pm Post subject: |
|
|
Ok, I'll try my chance with 4.9 then
Last question : how can I prevent emerge --depclean to remove the current GCC ? I would like keeping the last 2 versions.
Thanks
Laurent |
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Fri Aug 21, 2015 4:24 pm Post subject: |
|
|
well, I can say that I haven't had any issues using 4.9 here yet (I am not using gold linker or anything outside the default, with normal safe compiler flags used).
Code: | ct85711@Oate ~ $ gcc-config -l
[1] x86_64-pc-linux-gnu-4.9.3 *
|
Quote: | Last question : how can I prevent emerge --depclean to remove the current GCC ? I would like keeping the last 2 versions. |
The easiest day would be using depclean but specifing the slot numbers with the package name (no need to do version, as the slot will do the same thing in this case)
An example (based off of tw04l124 output) would be like emerge --depclean sys-devel/gcc:4.4 sys-devel/gcc:4.5 sys-devel/gcc:4.6 adding eithre -a or -pv to that like would always be safe to verify it's doing as it should.
Just adjust the example line, for your setup... |
|
Back to top |
|
|
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Sat Aug 22, 2015 8:00 am Post subject: |
|
|
To precise my question, I'm doing
every time I'm upgrading world.
I'm looking for a way to 2 keep last versions of Gcc |
|
Back to top |
|
|
Apheus Guru
Joined: 12 Jul 2008 Posts: 422
|
Posted: Sat Aug 22, 2015 11:35 am Post subject: |
|
|
destroyedlolo wrote: | I'm looking for a way to 2 keep last versions of Gcc |
Put the exact version or slot you want to keep in your worldfile:
Code: | emerge --noreplace sys-devel/gcc:4.8 |
|
|
Back to top |
|
|
ian.au Guru
Joined: 07 Apr 2011 Posts: 591 Location: Australia
|
Posted: Sat Aug 22, 2015 1:35 pm Post subject: |
|
|
Virtualbox is the reason I upgraded to 4.9.2 in May, it's not a full rebuild, just emerge and switch compiler with gcc-config and rebuilt libtool from memory.
I always keep the stable version around when one package pushes me 'off the reservation', emerge noreplace is the method as already described.
Code: | ian@ls2 ~ $ gcc-config -l
[1] x86_64-pc-linux-gnu-4.8.4
[2] x86_64-pc-linux-gnu-4.9.3 * |
No problems whatsoever here since installation of 4.9.2 or the bump to 4.9.3 in June. |
|
Back to top |
|
|
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Mon Aug 24, 2015 1:17 pm Post subject: |
|
|
Hello,
I successfully installed VirtualBox guests ... but I'm facing an error while upgrading glibc :
Code: | CPP='x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -E -x c-header' /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.T
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: cannot execute binary file: Exec format error |
I don't have to the time to investigate so I'm returning to gcc-4.8
Let see ...
[update] The same with 4.8
Skiping for the moment [/update] |
|
Back to top |
|
|
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Mon Aug 31, 2015 3:58 pm Post subject: |
|
|
Upgraded my system and GLibC is now compiling |
|
Back to top |
|
|
|