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

Bug 448526

Summary: sys-devel/clang-3.2 calls AR and RANLIB directly
Product: Gentoo Linux Reporter: Julian Ospald <hasufell>
Component: New packagesAssignee: Gentoo Clang Team (OBSOLETE) <clang+obsolete>
Status: RESOLVED OBSOLETE    
Severity: QA Keywords: NeedPatch
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Julian Ospald 2012-12-25 14:20:48 UTC
ranlib 2> /dev/null /var/tmp/portage/sys-devel/clang-3.2/work/llvm-3.2.src/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/libcompiler_rt.a

ar cru 2> /dev/null /var/tmp/portage/sys-devel/clang-3.2/work/llvm-3.2.src/tools/clang/runtime/compiler-rt/clang_linux/tsan-x86_64/x86_64/libcompiler_rt.a /var/tmp/portage/sys-devel/clang-3.2/work/llvm-3.2.src/tools/clang/runtime/compiler-rt/clang_linux/tsan-x86_64/x86_64/SubDir.lib/int_util.o [snip]


this will break cross compiling in a few rare cases since ar/ranlib are not strictly portable
Comment 1 Julian Ospald 2013-12-27 22:31:09 UTC
yoop? any progress?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-12-27 22:40:19 UTC
Supposedly will be fixed if we switch to cmake. That would require some upstream fixes to cmake build system though.

If you need this with their custom Makefiles, please provide a patch, preferably against -9999.
Comment 3 Julian Ospald 2013-12-27 22:42:17 UTC
not really urgent, just a reminder
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-12-27 23:00:18 UTC
Well, either cmake then or if I really get angry and have another time to do it, I will hack the build system around enough to build shared libs only. This will also fix the root issue, I guess.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-08-16 16:34:30 UTC
Mass-closing of bugs pinned to old clang versions. Please reopen and update summary appropriately if the bug still applies to a newer version (and hasn't been reported separately for it).