Bug 1158594
Summary: | clang++ cannot link libstdc++ (without gcc-c++) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rex Dieter <rdieter> |
Component: | llvm | Assignee: | Nobody's working on this, feel free to take it <nobody> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | ajax, asn, bos, dmalcolm, jakub, jv+fedora, law, petersen, scottt.tw, tomspur, zbyszek |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-05-31 03:35:02 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rex Dieter
2014-10-29 17:09:25 UTC
libstdc++.so is intentionally on certain architectures part of gcc-c++, as we don't want those linker scripts or symlinks in /usr/lib{,64} - which libstdc++ and other library to link depends on the gcc version. Furthermore, gcc uses different multilib directory naming schemes in directories owned by gcc (there it e.g. on x86_64 uses . for 64-bit and 32/ for 32-bit), compared to OS multilib naming scheme (../lib64 for 64-bit, . (== ../lib) for 32-bit, and as libstdc++-devel.i686 needs to be usable by both gcc-c++.x86_64 and gcc-c++.i686, it really can't install files in compiler target dependent directories. sparc/ppc do things slightly differently, because there the target name between -m32 and -m64 is the same, so extra tweaks are needed for that. Anyway, if clang++ wants to link against a particular version of libstdc++, best would be if it would package in clang/llvm owned directories a symlink or linker script that would make it work. Not a bug on the gcc side. I disagree that it's not possible to fix this amicably in libstc++, but fair enough. Reassigning to llvm(clang), to choose to include an appropriate symlink or linker script as suggested (or not). Reassign to nobody@. I have no time and no interest in working on clang, and the only reason it's even in the llvm package is because it can't be built any other way. If anyone wishes to volunteer for comaintainer with a focus on clang, please let me know (preferably with direct email, if it's in bz I'll likely miss the request), I'll be happy to hook you up. This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 *** This bug has been marked as a duplicate of bug 1021645 *** |