Project

General

Profile

Bug #4534

llvm 3.3 (Build 5.11-0.5.1.8) depends on GCC 4.6.3 but SFE installs GCC 4.6.4

Added by Bob Friesenhahn over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
2014-01-27
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

After a full system update (on January 26, 2014), clang/llvm are not able to compile code due to an internal dependency on GCC 4.6.3 files. SFE now installs GCC 4.6.4 and 4.6.3 is not available:

% clang -v -o range range.c
clang version 3.3 (tags/RELEASE_33/final)
Target: i386-pc-solaris2.11
Thread model: posix
"/usr/bin/clang" -cc1 -triple i386-pc-solaris2.11 -emit-obj -mrelax-all -disable-free -main-file-name range.c -mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu pentium4 -target-linker-version -v -resource-dir /usr/bin/../lib/clang/3.3 -fdebug-compilation-dir /home/bfriesen/src/graphics/test-progs -ferror-limit 19 -fmessage-length 117 -mstackrealign -fobjc-runtime=gcc -fobjc-default-synthesize-properties -fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops -o /tmp/bfriesen/range-5IaWcv.o -x c range.c
clang -cc1 version 3.3 based upon LLVM 3.3 default target i386-pc-solaris2.11
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/bin/../lib/clang/3.3/include
/usr/include
End of search list.
"/usr/bin/ld" -C -e _start -Bdynamic --dynamic-linker /usr/lib/ld.so.1 -o range /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/values-Xa.o /usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.3/crtbegin.o -L/usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.3/ /tmp/bfriesen/range-5IaWcv.o -lgcc_s -lgcc -lc -lm /usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.3/crtend.o /usr/lib/crtn.o
ld: fatal: file /usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.3/crtbegin.o: open failed: No such file or directory
ld: fatal: library -lgcc_s: not found
ld: fatal: library -lgcc: not found
ld: fatal: file /usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.3/crtend.o: open failed: No such file or directory
ld: fatal: file processing errors. No output written to range
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Also available in: Atom PDF