Opened 15 years ago

Last modified 15 years ago

#22818 closed defect

Error building llvm-gcc42 — at Initial Version

Reported by: anand.prabhakar.patil@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: llvm-gcc42

Description

This is on an intel MacBook running Snow Leopard.

---> Fetching llvm-gcc42 ---> Attempting to fetch llvm-gcc-4.2-2.6.source.tar.gz from http://arn.se.distfiles.macports.org/llvm-gcc42 sudo port upgrade installed ---> 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.6.source/gcc/opt-functions.awk -f ../../llvm-gcc4.2-2.6.source/gcc/opth-gen.awk \

< optionlist > tmp-options.h

/bin/sh ../../llvm-gcc4.2-2.6.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.6.source/gcc -I../../llvm-gcc4.2-2.6.source/gcc/build -I../../llvm-gcc4.2-2.6.source/gcc/../include -I./../intl -I../../llvm-gcc4.2-2.6.source/gcc/../libcpp/include -I../../llvm-gcc4.2-2.6.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 -I/opt/local/lib/llvm/obj/include -DNDEBUG -D_GNU_SOURCE -DSTDC_LIMIT_MACROS -DSTDC_CONSTANT_MACROS -o build/genmodes.o ../../llvm-gcc4.2-2.6.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.6.source/gcc -I../../llvm-gcc4.2-2.6.source/gcc/build -I../../llvm-gcc4.2-2.6.source/gcc/../include -I./../intl -I../../llvm-gcc4.2-2.6.source/gcc/../libcpp/include -I../../llvm-gcc4.2-2.6.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 -I/opt/local/lib/llvm/obj/include -DNDEBUG -D_GNU_SOURCE -DSTDC_LIMIT_MACROS -DSTDC_CONSTANT_MACROS -o build/errors.o ../../llvm-gcc4.2-2.6.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.6.source/gcc -I../../llvm-gcc4.2-2.6.source/gcc/build -I../../llvm-gcc4.2-2.6.source/gcc/../include -I./../intl -I../../llvm-gcc4.2-2.6.source/gcc/../libcpp/include -I../../llvm-gcc4.2-2.6.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 -I/opt/local/lib/llvm/obj/include -DNDEBUG -D_GNU_SOURCE -DSTDC_LIMIT_MACROS -DSTDC_CONSTANT_MACROS -o build/gengenrtl.o ../../llvm-gcc4.2-2.6.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 fsf-funding.pod gcov.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.

Change History (0)

Note: See TracTickets for help on using tickets.