Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652890 - sys-devel/gcc-7.3.0-r1 fails to build: configure: error: system bdw-gc required but not found (USE=multilib,obc-gc)
Summary: sys-devel/gcc-7.3.0-r1 fails to build: configure: error: system bdw-gc requir...
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: 2018-04-10 06:21 UTC by mael
Modified: 2018-04-10 19:12 UTC (History)
2 users (show)

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


Attachments
build logs (gcc-build-logs.tar.bz2,624.50 KB, application/x-bzip2)
2018-04-10 06:24 UTC, mael
Details
"emerge --info" output (emerge-info.txt,18.03 KB, text/plain)
2018-04-10 08:55 UTC, mael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mael 2018-04-10 06:21:25 UTC
gcc-7.3.0-r1 fails to emerge. i think there are multilib issues in libsanitize

Reproducible: Always

Steps to Reproduce:
1.unmask gcc-7.3.0-r1
2.emerge -1Nuv gcc
3.
Actual Results:  
Adding multilib support to Makefile in /var/tmp/portage/sys-devel/gcc-7.3.0-r1/work/gcc-7.3.0/libsanitizer
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
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-7.3.0-r1/work/build'
make: *** [Makefile:23661: profiledbootstrap] Error 2
 [31;01m*[0m ERROR: sys-devel/gcc-7.3.0-r1::gentoo failed (compile phase):
 [31;01m*[0m   emake failed

Expected Results:  
a new compiler version ;-)

i am using latest testing toolchain. execept for gcc for obvious reasons, its 6.4.0!
Comment 1 mael 2018-04-10 06:24:31 UTC
Created attachment 526982 [details]
build logs

The complete build logs
Comment 2 Tomáš Mózes 2018-04-10 08:14:12 UTC
Please attach the output of $(emerge --info).
Comment 3 mael 2018-04-10 08:55:30 UTC
Created attachment 527000 [details]
"emerge --info" output

here my "emerge --info" output as requestet.
Comment 4 Tomáš Mózes 2018-04-10 11:32:47 UTC
Just tested on ~amd64 with almost default settings (CFLAGS="-mtune=native -O2 -pipe") and builds fine.
Comment 5 Tomáš Mózes 2018-04-10 11:33:55 UTC
According to your $(emerge --info) you have ACCEPT_KEYWORDS="amd64". Are you mixing amd64 and ~amd64 in some way?
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2018-04-10 19:10:06 UTC
The failure here is:

make[1]: *** [Makefile:19713: configure-target-libobjc] Error 1
make[1]: *** Waiting for unfinished jobs....
...
configure: error: system bdw-gc required but not found

Which is probably USE=objc-gc

It's configure is in x86_64-pc-linux-gnu/libobjc. It's somewhat misleading because failure happens only for 32-bit library check:

configure:11641: /var/tmp/portage/sys-devel/gcc-7.3.0-r1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-7.3.0-r1/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-lin
ux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include  -m32 -o conftest -g -O2 -pipe -ggdb -march=haswell    conftest.c  -lgc >&5
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libgc.so when searching for -lgc
/usr/x86_64-pc-linux-gnu/bin/ld: cannot find -lgc


Make sure you have dev-libs/boehm-gc inshalled with USE=abi_x86_32. We'll need to fix the deps in gcc against USE=multilib.
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2018-04-10 19:12:00 UTC

*** This bug has been marked as a duplicate of bug 617788 ***