Looking at the --verbose build log, compilation is successful, so this probably doesn't have anything to do with my current make.conf. This conclusion is supported by the fact that I've commented out all the changes I did to the make.conf (basically reverting it to the defaults) which still resulted in the same behavior.
The last build output I get from the log is:
Code: Select all
>>> Completed installing sys-devel/gcc-10.2.0-r1 into /var/tmp/portage/sys-devel/gcc-10.2.0-r1/image
* Final size of build directory: 2052720 KiB ( 1.9 GiB)
* Final size of installed tree: 420204 KiB (410.3 MiB)
The --debug flag gives a better insight into what portage/emerge is doing. The debug output after the 'Completed installing' step is so long that I can't attach it here, but this is the last debug output after which emerge comes to a halt:
Code: Select all
++ f=
++ for dir in "${forbidden_dirs[@]}"
++ read l
+++ echo '/var/tmp/portage/sys-devel/gcc-10.2.0-r1/image/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/plugin/libcc1plugin.so.0.0.0:/usr/lib/../lib64
/var/tmp/portage/sys-devel/gcc-10.2.0-r1/image/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/plugin/libcp1plugin.so.0.0.0:/usr/lib/../lib64
/var/tmp/portage/sys-devel/gcc-10.2.0-r1/image/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/32/libasan.so.6.0.0:/usr/lib/../lib
/var/tmp/portage/sys-devel/gcc-10.2.0-r1/image/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/32/libubsan.so.1.0.0:/usr/lib/../lib
/var/tmp/portage/sys-devel/gcc-10.2.0-r1/image/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libcc1.so.0.0.0:/usr/lib/../lib64
/var/tmp/portage/sys-devel/gcc-10.2.0-r1/image/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/liblsan.so.0.0.0:/usr/lib/../lib64
/var/tmp/portage/sys-devel/gcc-10.2.0-r1/image/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libasan.so.6.0.0:/usr/lib/../lib64
/var/tmp/portage/sys-devel/gcc-10.2.0-r1/image/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libubsan.so.1.0.0:/usr/lib/../lib64
/var/tmp/portage/sys-devel/gcc-10.2.0-r1/image/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libtsan.so.0.0.0:/usr/lib/../lib64'
+++ grep -F -e :/var/tmp/portage/sys-devel/gcc-10.2.0-r1 -e :: -e ': '
+++ find /var/tmp/portage/sys-devel/gcc-10.2.0-r1/image -type f '(' -perm -u+s -o -perm -g+s ')' -exec scanelf -qyRF '%r %p' '{}' +
+++ grep '$ORIGIN'
I'm a little confused and very frustrated, this being the second gentoo stage3 install within a few days where I encountered the same issue. I'd really like to use Gentoo on my system, but I won't start over again for the third time and I'm not sure how I'm supposed to use this distribution if either I or the computer can't do the most basic things.
This is running on the hardened profile with pretty much default compilation flags (`-O2 -march=native`), however I've added the lto, pgo and graphite USE flags for gcc. Has anyone here ran into the same issue before and could assist me?





