[LLVMbugs] [Bug 1846] New: error compiling llvm-gcc4.2 for iphone (arm) darwin
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Dec 8 20:15:39 PST 2007
http://llvm.org/bugs/show_bug.cgi?id=1846
Summary: error compiling llvm-gcc4.2 for iphone (arm) darwin
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: blocker
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: K3DavidK3 at gmail.com
CC: llvmbugs at cs.uiuc.edu
configure opts:
./configure --enable-llvm=`llvm-config --obj-root` \
--enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin
--enable-sjlj-exceptions \
--with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \
--with-ld=/usr/local/bin/arm-apple-darwin-ld
...
make
...
make[2]: Entering directory
`/home/Administrator/build/llvm-gcc-4.2-2.1.source/g
cc'
test -d po || mkdir po
: --statistics -o po/be.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/be.po
test -d po || mkdir po
: --statistics -o po/ca.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/ca.po
test -d po || mkdir po
: --statistics -o po/da.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/da.po
test -d po || mkdir po
: --statistics -o po/de.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/de.po
test -d po || mkdir po
: --statistics -o po/el.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/el.po
test -d po || mkdir po
: --statistics -o po/es.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/es.po
test -d po || mkdir po
: --statistics -o po/fr.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/fr.po
test -d po || mkdir po
: --statistics -o po/ja.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/ja.po
test -d po || mkdir po
: --statistics -o po/nl.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/nl.po
test -d po || mkdir po
: --statistics -o po/ru.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/ru.po
test -d po || mkdir po
: --statistics -o po/rw.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/rw.po
test -d po || mkdir po
: --statistics -o po/sr.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/sr.po
test -d po || mkdir po
: --statistics -o po/sv.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/sv.po
test -d po || mkdir po
: --statistics -o po/tr.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/tr.po
test -d po || mkdir po
: --statistics -o po/zh_CN.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/zh_CN.po
test -d po || mkdir po
: --statistics -o po/zh_TW.gmo ../../../llvm-gcc4.2-2.1.source/gcc/po/zh_TW.po
make \
CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-
prototypes -Wold-style-definition -Wmissing-format-attribute " \
CONFIG_H="config.h auto-host.h
../../../llvm-gcc4.2-2.1.source/gcc/..
/include/ansidecl.h
../../../llvm-gcc4.2-2.1.source/gcc/config/i386/xm-cygwin.h"
\
MAKEOVERRIDES= \
-f libgcc.mk all
make[3]: Entering directory
`/home/Administrator/build/llvm-gcc-4.2-2.1.source/g
cc'
make
GCC_FOR_TARGET="/home/Administrator/build/llvm-gcc-4.2-2.1.source/./gcc/xgc
c -B/home/Administrator/build/llvm-gcc-4.2-2.1.source/./gcc/
-B/usr/local/arm-ap
ple-darwin/bin/ -B/usr/local/arm-apple-darwin/lib/ -isystem
/usr/local/arm-apple
-darwin/include -isystem /usr/local/arm-apple-darwin/sys-include" \
AR_FOR_TARGET="arm-apple-darwin-ar" \
AR_CREATE_FOR_TARGET="arm-apple-darwin-ar rc" \
AR_EXTRACT_FOR_TARGET="arm-apple-darwin-ar x" \
AR_FLAGS_FOR_TARGET="" \
CC="gcc" CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-
Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute " \
BUILD_PREFIX="" \
BUILD_PREFIX_1="" \
LANGUAGES="" \
LIBGCC2_CFLAGS="-O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-
definition -isystem ./include -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc " \
MULTILIB_CFLAGS="" T= crt3.o
make[4]: Entering directory
`/home/Administrator/build/llvm-gcc-4.2-2.1.source/g
cc'
# APPLE LOCAL use -mlongcall for large text support
/home/Administrator/build/llvm-gcc-4.2-2.1.source/./gcc/xgcc
-B/home/Administrat
or/build/llvm-gcc-4.2-2.1.source/./gcc/ -B/usr/local/arm-apple-darwin/bin/
-B/us
r/local/arm-apple-darwin/lib/ -isystem /usr/local/arm-apple-darwin/include
-isys
tem /usr/local/arm-apple-darwin/sys-include -O2 -g -O2 -DIN_GCC
-DCROSS_DIRECTO
RY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes
-Wold-style-definition -isystem ./include -I. -I.
-I../../../llvm-gcc4.2-2.1.
source/gcc -I../../../llvm-gcc4.2-2.1.source/gcc/.
-I../../../llvm-gcc4.2-2.1.so
urce/gcc/../include -I../../../llvm-gcc4.2-2.1.source/gcc/../libcpp/include
-I.
./../../llvm-gcc4.2-2.1.source/gcc/../libdecnumber -I../libdecnumber
-I/tmp/llvm
-2.1/include -I/tmp/llvm-2.1/.build/include -mlongcall \
-fno-tree-dominator-opts \
\
-c ../../../llvm-gcc4.2-2.1.source/gcc/config/darwin-crt3.c -o crt3.o
cc1: internal error: #pragma pack is already registered
make[4]: *** [crt3.o] Error 1
make[4]: Leaving directory
`/home/Administrator/build/llvm-gcc-4.2-2.1.source/gc
c'
make[3]: *** [extra] Error 2
make[3]: Leaving directory
`/home/Administrator/build/llvm-gcc-4.2-2.1.source/gc
c'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory
`/home/Administrator/build/llvm-gcc-4.2-2.1.source/gc
c'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/Administrator/build/llvm-gcc-4.2-2.1.source'
make: *** [all] Error 2
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list