Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448526 - sys-devel/clang-3.2 calls AR and RANLIB directly
Summary: sys-devel/clang-3.2 calls AR and RANLIB directly
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo Clang Team (OBSOLETE)
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2012-12-25 14:20 UTC by Julian Ospald
Modified: 2016-08-16 16:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).