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

Bug 466892

Summary: sys-devel/clang: fails multilib with SYMLINK_LIB=no
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED FIXED    
Severity: normal CC: ryao
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 506276    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-23 11:24:55 UTC
Steven Newbury has pointed out to me that the way we're changing install location for clang breaks multilib system with SYMLINK_LIB=no.

Since clang is multitarget, the lib/clang contains both 64-bit and 32-bit resources. Moving that to $(get_libdir) is wrong, and clang fails to find the system headers.

The suggested fix is to drop the libdir substitution completely. I will test it later today when I get near distcc.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-04-23 19:46:51 UTC
I think this is fixed since 3.3-r3 or so.