NickThePowerful / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

Make issue in LLVM-GCC make #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Followed all steps up to "make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn"
2. Ran "make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn"
3. Receive an error

What is the expected output? 

Successful make completion.

What do you see instead?

{{{
make \
  CFLAGS="-g -O2  -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
-Wold-style-definition  " \
  CONFIG_H="config.h  auto-host.h
../../llvm-gcc-4.0-iphone/gcc/../include/ansidecl.h" \
  MAKEOVERRIDES= \
  -f libgcc.mk all
make
GCC_FOR_TARGET="/Users/rich/Development/iphone/iphone-dev/llvm-gcc-4.0-iphone-bu
ild/gcc/xgcc
-B/Users/rich/Development/iphone/iphone-dev/llvm-gcc-4.0-iphone-build/gcc/
-B/usr/local/arm-apple-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 -pedantic -Wno-long-long -Wno-variadic-macros
-Wold-style-definition  " \
  BUILD_PREFIX="" \
  BUILD_PREFIX_1="loser-" \
  LANGUAGES="" \
  LIBGCC2_CFLAGS="-O2  -DIN_GCC    -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  "  \
  MULTILIB_CFLAGS="" T= crt3.o
/Users/rich/Development/iphone/iphone-dev/llvm-gcc-4.0-iphone-build/gcc/xgcc
-B/Users/rich/Development/iphone/iphone-dev/llvm-gcc-4.0-iphone-build/gcc/
-B/usr/local/arm-apple-darwin/bin/ -B/usr/local/arm-apple-darwin/lib/
-isystem /usr/local/arm-apple-darwin/include -isystem
/usr/local/arm-apple-darwin/sys-include -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -I. -I.
-I../../llvm-gcc-4.0-iphone/gcc -I../../llvm-gcc-4.0-iphone/gcc/.
-I../../llvm-gcc-4.0-iphone/gcc/../include -I./../intl
-I../../llvm-gcc-4.0-iphone/gcc/../libcpp/include 
-I/Users/rich/Development/iphone/llvm-svn/include
-I/Users/rich/Development/iphone/llvm-svn/include  \
 \
  -c ../../llvm-gcc-4.0-iphone/gcc/config/darwin-crt3.c -o crt3.o
cc1: error: invalid option 'macosx-version-min=10.4'
make[3]: *** [crt3.o] Error 1
make[2]: *** [extra] Error 2
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2
}}}

What version of the product are you using? On what operating system?

Mac OS X 10.4.10, all latest tools

Please provide any additional information below.

The latest build is no longer showing the pragma pack is already registered
issue...

Original issue reported on code.google.com by rich.war...@gmail.com on 12 Sep 2007 at 5:11

GoogleCodeExporter commented 9 years ago
I see comments on defect #7 that this may be fixed... sorry for the dupe if 
this is
already resolved...

Original comment by rich.war...@gmail.com on 12 Sep 2007 at 5:13

GoogleCodeExporter commented 9 years ago
Update to the latest SVN and rebuild LLVM-GCC from scratch (remove the build 
dir, start again). I got this error 
myself and I fixed it. I've also verified that all the header files I modified 
were indeed under version control.

Original comment by nightwat...@gmail.com on 12 Sep 2007 at 5:14

GoogleCodeExporter commented 9 years ago
All better now... thanks!

Original comment by rich.war...@gmail.com on 12 Sep 2007 at 5:57