Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 801583 - sys-devel/gcc-10.3.0-r1 bootstrap-lean compile failed
Summary: sys-devel/gcc-10.3.0-r1 bootstrap-lean compile failed
Status: RESOLVED DUPLICATE of bug 617788
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-11 14:42 UTC by Mario Fetka (geos_one)
Modified: 2021-07-13 14:52 UTC (History)
4 users (show)

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


Attachments
gcc build logs (gcc-build-logs.tar.bz2,311.12 KB, application/x-bzip)
2021-07-11 14:42 UTC, Mario Fetka (geos_one)
Details
GCC build logs (gcc-build-logs.tar.bz2,483.41 KB, application/x-bzip)
2021-07-11 17:02 UTC, Ken Cuvelier
Details
emerge --info (emerge_info.txt,6.57 KB, text/plain)
2021-07-11 17:03 UTC, Ken Cuvelier
Details
emerge -pqv (emerge_pqv.txt,268 bytes, text/plain)
2021-07-11 17:04 UTC, Ken Cuvelier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Fetka (geos_one) 2021-07-11 14:42:09 UTC
Created attachment 723286 [details]
gcc build logs

Building gcc failed in bootstrap-lean

Adding multilib support to Makefile in /var/tmp/portage/sys-devel/gcc-10.3.0-r1/work/gcc-10.3.0/libitm
with_multisubdir=32
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing gstdint.h commands
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing gstdint.h commands
config.status: executing libtool commands
config.status: executing gstdint.h commands
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing gstdint.h commands
make: *** [Makefile:24259: bootstrap-lean] Error 2
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-11 16:16:12 UTC
The failure is:

[Makefile:19902: configure-target-libobjc] Error 1

x86_64-pc-linux-gnu/32/libobjc/config.log says:

/var/tmp/portage/sys-devel/gcc-10.3.0-r1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-10.3.0-r1/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -fchecking=1  -m32 -o conftest -g -march=ivybridge -pipe -O2    conftest.c  -lgc >&5
/usr/x86_64-pc-linux-gnu/bin/ld: cannot find -lgc

Do you have dev-libs/boehm-gc[abi_x86_32] set? You need it to get sys-devel/gcc[objc] working: bug #617788
Comment 2 Ken Cuvelier 2021-07-11 17:02:49 UTC
Created attachment 723319 [details]
GCC build logs
Comment 3 Ken Cuvelier 2021-07-11 17:03:35 UTC
Created attachment 723322 [details]
emerge --info
Comment 4 Ken Cuvelier 2021-07-11 17:04:10 UTC
Created attachment 723325 [details]
emerge -pqv
Comment 5 Ken Cuvelier 2021-07-11 17:05:21 UTC
Attached recommended troubleshooting information, similar error as original submission.
Comment 6 Mario Fetka (geos_one) 2021-07-11 17:51:24 UTC
just follow the howto https://wiki.gentoo.org/wiki/Multilib/gx86-multilib

now rebuildig the systme with 32bit libs so willtake some time but i expect it would fix the gcc problem.
Comment 7 Ken Cuvelier 2021-07-11 19:50:53 UTC
Resolved issue on my system by reverting to sys-kernel/linux-headers-5.12.0.
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-12 00:01:19 UTC

*** This bug has been marked as a duplicate of bug 617788 ***
Comment 9 Ernst Herzberg 2021-07-13 14:52:04 UTC
(In reply to Ken Cuvelier from comment #7)
> Resolved issue on my system by reverting to sys-kernel/linux-headers-5.12.0.

Confirmed, masking linux-headers-5.13 fixes the problem