#10281 closed defect (fixed)
BUG: llvm-1.7 - build error
Reported by: | rcleven@… | Owned by: | erickt@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.4.42 |
Keywords: | Cc: | markd@… | |
Port: |
Description
Here's the error, at the end is a possible link for the solution:
---> Building llvm with target all Error: Target com.apple.build returned: shell command "cd /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_llvm/work/cfrontend/build && make all" returned error 2 Command output: SHLIB_LINK= \ SHLIB_INSTALL= \ SHLIB_EXT= \ SHLIB_MULTILIB= \ SHLIB_MKMAP= \ SHLIB_MKMAP_OPTS= \ SHLIB_MAPFILES= \ SHLIB_NM_FLAGS='-pg' \ MULTILIB_OSDIRNAMES= \ mkinstalldirs='/bin/sh ../../src/gcc/mkinstalldirs' \
/bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk TARGET_CPU_DEFAULT="" \ HEADERS="ansidecl.h" DEFINES="" \ /bin/sh ../../src/gcc/mkconfig.sh tconfig.h tconfig.h is unchanged make \
CFLAGS="-O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common " \ CONFIG_H="tconfig.h ../../src/gcc/../include/ansidecl.h" TM_H="tm.h ../../src/gcc/config/i386/i386.h ../../src/gcc/config/darwin.h ../../src/gcc/config/i386/darwin.h ../../src/gcc/defaults.h insn-constants.h insn-flags.h" \ MAKEOVERRIDES= \ -f libgcc.mk all
for d in libgcc; do \
if [ -d $d ]; then true; else /bin/sh ../../src/gcc/mkinstalldirs $d; fi; \
done if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_llvm/work/cfrontend/build/gcc/xgcc -B/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_llvm/work/cfrontend/build/gcc/ -B/opt/local/lib/llvm/i686-apple-darwin8.7.1/bin/ -B/opt/local/lib/llvm/i686-apple-darwin8.7.1/lib/ -isystem /opt/local/lib/llvm/i686-apple-darwin8.7.1/include -isystem /opt/local/lib/llvm/i686-apple-darwin8.7.1/sys-include -O2 -DIN_GCC -DDEFAULT_TARGET_MACHINE=\"i686-apple-darwin8.7.1\" -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -g -DIN_LIBGCC2 -DGCC_FLOAT_NOT_NEEDED -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -DL_muldi3 -c ../../src/gcc/libgcc2.c -o libgcc/./_muldi3.o xgcc: installation problem, cannot exec `gccas': No such file or directory make[2]: * [libgcc/./_muldi3.o] Error 1 make[1]: * [libgcc.a] Error 2 make: * [all-gcc] Error 2
Error: Status 1 encountered during processing.
here's the link I found:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2004-June/001379.html
Change History (6)
comment:1 Changed 18 years ago by markd@…
Summary: | Build error in darwin port for LLVM → BUG: llvm-1.7 - build error |
---|
comment:2 Changed 18 years ago by arto.bendiken@…
comment:3 Changed 18 years ago by pipping@…
Milestone: | → Port Bugs |
---|
comment:4 Changed 17 years ago by erickt@…
Owner: | changed from macports-tickets@… to erickt@… |
---|---|
Status: | new → assigned |
Version: | 1.2 → 1.4.42 |
I've just updated llvm to version 2.0. Does that work for you?
comment:5 Changed 17 years ago by markd@…
Cc: | markd@… added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
It works for me.
I have the same problem trying to install LLVM 1.7 on the latest MacPorts 1.3.2 - has anyone actually managed to successfully build this port?