cwalls251 / iphone-dev

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

compilation of LLVM-GCC infinity loop #161

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. compiling of LLVM-GCC, the final step

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

URL: http://iphone-dev.googlecode.com/svn/trunk
Repository Root: http://iphone-dev.googlecode.com/svn
Repository UUID: c21c009e-8f39-0410-915a-49ea6329ddb5
Revision: 280

OS: Linux  2.4.21-189-GHWERIG #4 Tue Nov 8 18:59:16 MSK 2005 i686 unknown
GCC: gcc version 3.4.0

Please provide any additional information below.

During the compilation cc1 compiler comes to some infinity loop and
progress stops. cc1 eats CPU cycles for many hours without any result
config.status is attached 

It's the last output

cp xlimits.h include/limits.h
cp ../../../llvm-gcc-4.0-iphone/gcc/unwind-generic.h include/unwind.h
chmod a+r include/limits.h
rm -f include/README
cp ../../../llvm-gcc-4.0-iphone/gcc/../fixincludes/README-fixinc include/README
chmod a+r include/README
echo timestamp > stmp-int-hdrs
objext='.o' \
LIB1ASMFUNCS='_udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls ' \
LIB2FUNCS_ST='_eprintf __gcc_bcmp' \
LIBGCOV='_gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta
_gcov_fork _gcov_execl _gcov_execlp _gcov_execle _gcov_execv _gcov_execvp
_gcov_execve' \
LIB2ADD='' \
LIB2ADD_ST='' \
LIB2ADDEH='../../../llvm-gcc-4.0-iphone/gcc/unwind-dw2.c
../../../llvm-gcc-4.0-iphone/gcc/unwind-dw2-fde-darwin.c
../../../llvm-gcc-4.0-iphone/gcc/unwind-sjlj.c
../../../llvm-gcc-4.0-iphone/gcc/unwind-c.c' \
LIB2ADDEHSTATIC='../../../llvm-gcc-4.0-iphone/gcc/unwind-dw2.c
../../../llvm-gcc-4.0-iphone/gcc/unwind-dw2-fde-darwin.c
../../../llvm-gcc-4.0-iphone/gcc/unwind-sjlj.c
../../../llvm-gcc-4.0-iphone/gcc/unwind-c.c' \
LIB2ADDEHSHARED='../../../llvm-gcc-4.0-iphone/gcc/unwind-dw2.c
../../../llvm-gcc-4.0-iphone/gcc/unwind-dw2-fde-darwin.c
../../../llvm-gcc-4.0-iphone/gcc/unwind-sjlj.c
../../../llvm-gcc-4.0-iphone/gcc/unwind-c.c' \
LIB2ADDEHDEP='unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c' \
LIBUNWIND='' \
LIBUNWINDDEP='' \
SHLIBUNWIND_LINK='' \
SHLIBUNWIND_INSTALL='' \
FPBIT='' \
FPBIT_FUNCS='_pack_sf _unpack_sf _addsub_sf _mul_sf _div_sf _fpcmp_parts_sf
_compare_sf _eq_sf _ne_sf _gt_sf _ge_sf _lt_sf _le_sf _unord_sf _si_to_sf
_sf_to_si _negate_sf _make_sf _sf_to_df _sf_to_tf _thenan_sf _sf_to_usi
_usi_to_sf' \
LIB2_DIVMOD_FUNCS='_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv
_udivmoddi4' \
DPBIT='' \
DPBIT_FUNCS='_pack_df _unpack_df _addsub_df _mul_df _div_df _fpcmp_parts_df
_compare_df _eq_df _ne_df _gt_df _ge_df _lt_df _le_df _unord_df _si_to_df
_df_to_si _negate_df _make_df _df_to_sf _df_to_tf _thenan_df _df_to_usi
_usi_to_df' \
TPBIT='' \
TPBIT_FUNCS='_pack_tf _unpack_tf _addsub_tf _mul_tf _div_tf _fpcmp_parts_tf
_compare_tf _eq_tf _ne_tf _gt_tf _ge_tf _lt_tf _le_tf _unord_tf _si_to_tf
_tf_to_si _negate_tf _make_tf _tf_to_df _tf_to_sf _thenan_tf _tf_to_usi
_usi_to_tf' \
APPLE_LOCAL='APPLE LOCAL libcc_kext' \
MULTILIBS="`/usr/local/iphone/iphone-dev/build/llvm-gcc-4.0-iphone/gcc/xgcc
-B/usr/local/iphone/iphone-dev/build/llvm-gcc-4.0-iphone/gcc/
-B/usr/local/iphone/toolchain/arm-apple-darwin/arm-apple-darwin/bin/
-B/usr/local/iphone/toolchain/arm-apple-darwin/arm-apple-darwin/lib/
-isystem
/usr/local/iphone/toolchain/arm-apple-darwin/arm-apple-darwin/include
-isystem
/usr/local/iphone/toolchain/arm-apple-darwin/arm-apple-darwin/sys-include
--print-multi-lib` static;@static@fno-pic
kext;@Dmalloc=kern_os_malloc@Dfree=kern_os_free@DLIBCC_KEXT@static@fno-pic@fno-e
xceptions@fno-non-call-exceptions"
\
EXTRA_MULTILIB_PARTS='crt3.o' \
SHLIB_LINK='/usr/local/iphone/iphone-dev/build/llvm-gcc-4.0-iphone/gcc/xgcc
-B/usr/local/iphone/iphone-dev/build/llvm-gcc-4.0-iphone/gcc/
-B/usr/local/iphone/toolchain/arm-apple-darwin/arm-apple-darwin/bin/
-B/usr/local/iphone/toolchain/arm-apple-darwin/arm-apple-darwin/lib/
-isystem
/usr/local/iphone/toolchain/arm-apple-darwin/arm-apple-darwin/include
-isystem
/usr/local/iphone/toolchain/arm-apple-darwin/arm-apple-darwin/sys-include
-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 -dynamiclib -nodefaultlibs
-install_name /usr/lib/@shlib_base_name@`if test @multilib_dir@ = ppc64 ;
then echo _@multilib_dir@ ; fi`.1.dylib -single_module -o
@multilib_dir@/@shlib_base_name@.1.dylib.tmp
-Wl,-exported_symbols_list,@shlib_map_file@ -compatibility_version 1
-current_version 1.0 @multilib_flags@ @shlib_objs@ -lc' \
SHLIB_INSTALL='$(mkinstalldirs) $(DESTDIR)$(slibdir); /usr/bin/install -c
-m 644 @shlib_base_name@.1.dylib
$(DESTDIR)$(slibdir)/@shlib_base_name@.1.dylib' \
SHLIB_EXT='.dylib' \
SHLIB_MULTILIB='' \
SHLIB_MKMAP='../../../llvm-gcc-4.0-iphone/gcc/mkmap-flat.awk' \
SHLIB_MKMAP_OPTS='-v leading_underscore=1' \
SHLIB_MAPFILES='../../../llvm-gcc-4.0-iphone/gcc/libgcc-std.ver' \
SHLIB_NM_FLAGS='-pg' \
MULTILIB_OSDIRNAMES='' \
ASM_HIDDEN_OP='.private_extern' \
mkinstalldirs='/bin/sh ../../../llvm-gcc-4.0-iphone/gcc/../mkinstalldirs' \
  /bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
TARGET_CPU_DEFAULT="" \
HEADERS="ansidecl.h" DEFINES="" \
/bin/sh ../../../llvm-gcc-4.0-iphone/gcc/mkconfig.sh tconfig.h
make \
  CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  " \
  CONFIG_H="config.h  auto-host.h
../../../llvm-gcc-4.0-iphone/gcc/../include/ansidecl.h" \
  MAKEOVERRIDES= \
  -f libgcc.mk all

Original issue reported on code.google.com by maxim.ch...@googlemail.com on 16 Dec 2008 at 1:53

Attachments: