Description of problem: The linker cannot find several files: crt1.o crti.o crtbegin.o -lgcc -lgcc_s Version-Release number of selected component (if applicable): 2.9-4 How reproducible: Always Steps to Reproduce: 1. Add clang and llvm products to 32-bit Fedora Core 16 system. 2. Try to compile, link and run any C99 program: clang -std=c99 hello.c 3. Actual results: Expected results: Additional info:
When I reported this bug to http://llvm.org/bugs/ they told me that 2.9-4 is out of date and that I should upgrade to a newer version of clang/llvm. So, can we get a current version of clang for Fedora?
Apologies, that's due to the GCC update (clang < 3.0 is hard-coded to pick up files from the GCC it's compiled against). Will be fixed in -6, please help test.
llvm-2.9-6.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/llvm-2.9-6.fc16
Package llvm-2.9-6.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing llvm-2.9-6.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-1188/llvm-2.9-6.fc16 then log in and leave karma (feedback).
After doing the above update, I now can compile, link, and run C99 programs. Thanks. I tried do the above karma, but I believe I do not have a valid id/password. Any chance that clang 3.0 will be made available to Add/Install?
Thanks for confirming! To leave a karma, you need an account from https://admin.fedoraproject.org/accounts -- anyone can get an account that let them vote in Bodhi, I believe (you just need a verified email, which you do for Bugzilla anyway). We don't have a unified account system for Bugzilla yet, alas. For clang 3.0 you'd need to move to Fedora 17 when it's released. We use LLVM (to which clang is tied) for major parts of our infrastructure, so breaking updates post-release are not appropriate.
llvm-2.9-6.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.