[MacPorts] #21059: llvm-gcc42 at 2.5 Build fails on SL -- Xcode: 3.2 (1610)
MacPorts
noreply at macports.org
Thu Sep 3 09:22:55 PDT 2009
#21059: llvm-gcc42 at 2.5 Build fails on SL -- Xcode: 3.2 (1610)
--------------------------------------+-------------------------------------
Reporter: vkemerlis@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.99
Keywords: snow leopard, llvm-gcc42 | Port: llvm-gcc42
--------------------------------------+-------------------------------------
{{{
---> Computing dependencies for llvm-gcc42
---> Fetching llvm-gcc42
---> Attempting to fetch llvm-gcc-4.2-2.5.source.tar.gz from
http://llvm.org/releases/2.5/
---> Verifying checksum(s) for llvm-gcc42
---> Extracting llvm-gcc42
---> Configuring llvm-gcc42
---> Building llvm-gcc42
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_lang_llvm-gcc42/work/build" && /usr/bin/make -j2 all "
returned error 2
Command output: (pod2man --center="GNU" --release="gcc-4.2.1" --section=7
fsf-funding.pod > doc/fsf-funding.7.T$$ && \
mv -f doc/fsf-funding.7.T$$ doc/fsf-funding.7) || \
(rm -f doc/fsf-funding.7.T$$ && exit 1)
awk -f ../../llvm-gcc4.2-2.5.source/gcc/opt-functions.awk -f ../../llvm-
gcc4.2-2.5.source/gcc/opth-gen.awk \
< optionlist > tmp-options.h
/bin/sh ../../llvm-gcc4.2-2.5.source/gcc/../move-if-change tmp-options.h
options.h
echo timestamp > s-options-h
/usr/bin/gcc-4.2 -m32 -c -g -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-
variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-
format-attribute -fno-common -mdynamic-no-pic -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I../../llvm-gcc4.2-2.5.source/gcc -I
../../llvm-gcc4.2-2.5.source/gcc/build -I../../llvm-
gcc4.2-2.5.source/gcc/../include -I./../intl -I../../llvm-
gcc4.2-2.5.source/gcc/../libcpp/include -I../../llvm-
gcc4.2-2.5.source/gcc/../libdecnumber -I../libdecnumber
-I/opt/local/lib/llvm/obj/include -I/opt/local/lib/llvm/src/include
-DENABLE_LLVM -I/opt/local/lib/llvm/src/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -o build/genmodes.o
../../llvm-gcc4.2-2.5.source/gcc/genmodes.c
/usr/bin/gcc-4.2 -m32 -c -g -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-
variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-
format-attribute -fno-common -mdynamic-no-pic -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I../../llvm-gcc4.2-2.5.source/gcc -I
../../llvm-gcc4.2-2.5.source/gcc/build -I../../llvm-
gcc4.2-2.5.source/gcc/../include -I./../intl -I../../llvm-
gcc4.2-2.5.source/gcc/../libcpp/include -I../../llvm-
gcc4.2-2.5.source/gcc/../libdecnumber -I../libdecnumber
-I/opt/local/lib/llvm/obj/include -I/opt/local/lib/llvm/src/include
-DENABLE_LLVM -I/opt/local/lib/llvm/src/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -o build/errors.o
../../llvm-gcc4.2-2.5.source/gcc/errors.c
/usr/bin/gcc-4.2 -m32 -c -g -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-
variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-
format-attribute -fno-common -mdynamic-no-pic -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I../../llvm-gcc4.2-2.5.source/gcc -I
../../llvm-gcc4.2-2.5.source/gcc/build -I../../llvm-
gcc4.2-2.5.source/gcc/../include -I./../intl -I../../llvm-
gcc4.2-2.5.source/gcc/../libcpp/include -I../../llvm-
gcc4.2-2.5.source/gcc/../libdecnumber -I../libdecnumber
-I/opt/local/lib/llvm/obj/include -I/opt/local/lib/llvm/src/include
-DENABLE_LLVM -I/opt/local/lib/llvm/src/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -o build/gengenrtl.o
../../llvm-gcc4.2-2.5.source/gcc/gengenrtl.c
/usr/bin/gcc-4.2 -m32 -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-
prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-
macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-
attribute -fno-common -mdynamic-no-pic -DHAVE_CONFIG_H -DGENERATOR_FILE
-L/opt/local/lib -o build/genchecksum \
build/genchecksum.o ../build-i686-apple-
darwin10/libiberty/libiberty.a
ld: warning: in ../build-i686-apple-darwin10/libiberty/libiberty.a, file
is not of required architecture
Undefined symbols:
"_fopen_unlocked", referenced from:
_dosum in genchecksum.o
"_md5_stream", referenced from:
_dosum in genchecksum.o
"_xstrerror", referenced from:
_dosum in genchecksum.o
_dosum in genchecksum.o
_dosum in genchecksum.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [build/genchecksum] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gcov.pod fsf-funding.pod gfdl.pod cpp.pod gpl.pod gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
Error: Status 1 encountered during processing.
}}}
Sys:
{{{
foo:~ vpk$ uname -a
Darwin foo.bar.edu 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31
22:46:25 PDT 2009; root:xnu-1456.1.25~1/RELEASE_X86_64 x86_64
}}}
OSX: SL (10.6), Xcode: 3.2 (1610), MacPorts: 1.8.99
It seems that there is a mismatch between /build-i686-apple-
darwin10/libiberty/libiberty.a (x86_64) and genchecksum.o (i386)
--
Ticket URL: <http://trac.macports.org/ticket/21059>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list