Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637316 - update gcc to version 5.x
Summary: update gcc to version 5.x
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-13 11:30 UTC by dieter ferdinand
Modified: 2017-11-13 18:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dieter ferdinand 2017-11-13 11:30:45 UTC
hello,
i update a copy of my system to gcc 5.x to check for problems and there are some problems:
- to switch to the new compiler i must delete/change some config files.
  this can be because it is a old system and while i switched from i586 to i686.
  the files are in /etc/env.d/gcc and /etc/env.d
  i must edit profile.env to delete the paths to the old compiler
- i must change/delete ld-config file in /etc/ld.so.conf.d to link the right lib.

the gcc-developer make a big mistake because the old and the new lib have the same name and they are incompatible.
but to link the new compiled programs to the right libs, it is nessasary to change the config for ld to link the lib from gcc 5.x instead of gcc 4.9.x and this make a running system unusable to the time, the update is finished.

i start recompiling of the system three or four times while i can't start the new compiled programs because they are linked at runtime again the false lib.

i make this changes on my running system, which will be updated after i check, that there are no big problems, which i can't solve, but the config change for the linker crash some programs, so i must restore the old config. but something crashed with systemd so that this program can't start any other program while /sys/fs/cgroup don't work right.

goodby
Comment 1 Andreas Sturmlechner gentoo-dev 2017-11-13 18:48:20 UTC
This has all been in the news. Read it.

https://www.gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html