Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 638666

Summary: sys-devel/gcc-7.2.0 - checking host system type... configure: error: system bdw-gc required but not found
Product: Gentoo Linux Reporter: Ognian Tenchev <drJeckyll>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sandino
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
gcc-build-logs.tar.bz2

Description Ognian Tenchev 2017-11-24 06:34:05 UTC
Created attachment 506252 [details]
emerge --info

emerging gcc-7.2.0 failed to build with error:
checking host system type... configure: error: system bdw-gc required but not found
Comment 1 Ognian Tenchev 2017-11-24 06:35:16 UTC
Created attachment 506254 [details]
gcc-build-logs.tar.bz2
Comment 2 Bernie Hackett 2017-12-04 23:33:21 UTC
Assuming you're on a multilib system, add these lines to /etc/portage/package.use:

dev-libs/libatomic_ops abi_x86_32
dev-libs/boehm-gc abi_x86_32

Then rebuild libatomic_ops and boehm-gc. The problem is boehm-gc is needed for objc-gc. It used to be bundled in gcc, but was removed in gcc 7.1.

See the last few comments of https://bugs.gentoo.org/617788
Comment 3 Ognian Tenchev 2017-12-05 05:07:42 UTC
Thanks, that works for me
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2017-12-16 23:03:56 UTC

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