Skip to content

error compiling llvm-gcc4.2 for iphone (arm) darwin #2218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
llvmbot opened this issue Dec 9, 2007 · 2 comments
Closed

error compiling llvm-gcc4.2 for iphone (arm) darwin #2218

llvmbot opened this issue Dec 9, 2007 · 2 comments
Labels
bugzilla Issues migrated from bugzilla invalid Resolved as invalid, i.e. not a bug

Comments

@llvmbot
Copy link
Member

llvmbot commented Dec 9, 2007

Bugzilla Link 1846
Resolution INVALID
Resolved on Dec 09, 2007 13:28
Version unspecified
OS Windows XP
Reporter LLVM Bugzilla Contributor
CC @asl

Extended Description

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

@lattner
Copy link
Collaborator

lattner commented Dec 9, 2007

sorry, but this is not a supported configuration.

@asl
Copy link
Collaborator

asl commented Dec 9, 2007

Just side note:

  1. SJLJ exceptions are not supported anyway, see some PR in bugzilla about it
  2. The configuration is definitely not supported, it looks like it tries to "mix" darwin and non-darwin stuff.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla invalid Resolved as invalid, i.e. not a bug
Projects
None yet
Development

No branches or pull requests

3 participants