Description of problem:
clang doesn't seem to have an explicit dependency on gcc-c++, but fails to find -lstdc++ without it.
Steps to Reproduce:
1. sudo yum install clang gcc-c++
Nothing to do
2. clang++ simple.cc
3. sudo rpm -e gcc-c++
4. clang++ simple.cc
/usr/bin/ld: cannot find -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This is also happening for me.
This also blocks opencl examples when pocl is used, because pocl itself relies on clang for compiling kernels.
According to this Forum Entry https://bbs.archlinux.org/viewtopic.php?pid=1120228#p1120228
The developers of clang have decided to use the c++ library from gcc cause the one from llvm is still under development.
I haven't checkt if this really is the case but if thats why you may be able to build clang from source aganinst llvm by manually change some lines in the source code of clang.
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 message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 20 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
*** Bug 1158594 has been marked as a duplicate of this bug. ***