This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/37600] New: Bootstrap Failure with Undefined References


$ uname -a
CYGWIN_NT-5.1 MCKELVEY-XP 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin


$ g++ -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with: /cygdrive/f/Home/cvsroot/gcc/configure --verbose
--enable-threads --disable-nls --disable-win32-registry
--enable-languages=c,c++
Thread model: posix
gcc version 4.4.0 20080826 (experimental) (GCC) 

$ alias CONFIGURECVS
alias CONFIGURECVS='/cygdrive/f/Home/cvsroot/gcc/configure     --verbose
--enable-threads --disable-nls     --disable-win32-registry
--enable-languages=c,c++'

User@MCKELVEY-XP ~/cvsroot/gcc-obj
$ alias BUILD
alias BUILD='nice make CFLAGS='\'''\'' BOOT_CFLAGS='\'''\'' LIBCFLAGS='\''-g
-O'\''     CXXFLAGS='\''-O'\'' LIBCXXFLAGS='\''-g -O'\''     bootstrap'



mv tmp-libgcc.map libgcc.map
# @multilib_flags@ is still needed because this may use
# /cygdrive/f/Home/cvsroot/gcc-obj/./gcc/xgcc
-B/cygdrive/f/Home/cvsroot/gcc-obj/./gcc/ -B/usr/local/i686-pc-cygwin/bin/
-B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/include
-isystem /usr/local/i686-pc-cygwin/sys-include and -O2
-I/cygdrive/f/Home/cvsroot/gcc/gcc/../winsup/w32api/include -g -O2 -DIN_GCC  
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition  -isystem ./include   -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  directly.
# @multilib_dir@ is not really necessary, but sometimes it has
# more uses than just a directory name.
/bin/sh /cygdrive/f/Home/cvsroot/gcc/libgcc/../mkinstalldirs .
ln -s libgcc.map libgcc.map.def && if [ ! -d ./shlib ]; then mkdir ./shlib else
true; fi && /cygdrive/f/Home/cvsroot/gcc-obj/./gcc/xgcc
-B/cygdrive/f/Home/cvsroot/gcc-obj/./gcc/ -B/usr/local/i686-pc-cygwin/bin/
-B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/include
-isystem /usr/local/i686-pc-cygwin/sys-include -O2
-I/cygdrive/f/Home/cvsroot/gcc/gcc/../winsup/w32api/include -g -O2 -DIN_GCC  
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition  -isystem ./include   -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs libgcc.map.def
-Wl,--out-implib,./shlib/libgcc_s.a.tmp -o ./shlib/libgcc_s_1.dll.tmp -g -O2
-B./ _chkstk_s.o _muldi3_s.o _negdi2_s.o _lshrdi3_s.o _ashldi3_s.o _ashrdi3_s.o
_cmpdi2_s.o _ucmpdi2_s.o _clear_cache_s.o _enable_execute_stack_s.o
_trampoline_s.o __main_s.o _absvsi2_s.o _absvdi2_s.o _addvsi3_s.o _addvdi3_s.o
_subvsi3_s.o _subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o
_ctors_s.o _ffssi2_s.o _ffsdi2_s.o _clz_s.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o
_ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o _popcountdi2_s.o _paritysi2_s.o
_paritydi2_s.o _powisf2_s.o _powidf2_s.o _powixf2_s.o _powitf2_s.o _mulsc3_s.o
_muldc3_s.o _mulxc3_s.o _multc3_s.o _divsc3_s.o _divdc3_s.o _divxc3_s.o
_divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o
_fixunsxfsi_s.o _fixsfdi_s.o _fixdfdi_s.o _fixxfdi_s.o _fixtfdi_s.o
_fixunssfdi_s.o _fixunsdfdi_s.o _fixunsxfdi_s.o _fixunstfdi_s.o _floatdisf_s.o
_floatdidf_s.o _floatdixf_s.o _floatditf_s.o _floatundisf_s.o _floatundidf_s.o
_floatundixf_s.o _floatunditf_s.o _divdi3_s.o _moddi3_s.o _udivdi3_s.o
_umoddi3_s.o _udiv_w_sdiv_s.o _udivmoddi4_s.o unwind-dw2_s.o unwind-dw2-fde_s.o
unwind-sjlj_s.o gthr-gnat_s.o unwind-c_s.o emutls_s.o -luser32 -lkernel32
-ladvapi32 -lshell32 && ar -r ./shlib/libgcc_s.a.tmp _chkstk.o _ctors.o
gthr-win32.o && if [ -f ./shlib/libgcc_s_1.dll ]; then mv -f
./shlib/libgcc_s_1.dll ./shlib/libgcc_s_1.dll.backup; else true; fi && mv
./shlib/libgcc_s_1.dll.tmp ./shlib/libgcc_s_1.dll && mv ./shlib/libgcc_s.a.tmp
./shlib/libgcc_s.a
Creating library file: ./shlib/libgcc_s.a.tmp
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: warning:
cannot find entry symbol __cygwin_dll_entry@12; defaulting to 10001000
_absvsi2_s.o: In function `__absvsi2':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/libgcc2.c:237: undefined reference
to `_abort'
_absvdi2_s.o: In function `__absvdi2':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/libgcc2.c:276: undefined reference
to `_abort'
_addvsi3_s.o: In function `__addvsi3':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/libgcc2.c:90: undefined reference to
`_abort'
_addvdi3_s.o: In function `__addvdi3':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/libgcc2.c:115: undefined reference
to `_abort'
_subvsi3_s.o: In function `__subvsi3':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/libgcc2.c:128: undefined reference
to `_abort'
_subvdi3_s.o:/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/libgcc2.c:153: more
undefined references to `_abort' follow
unwind-dw2-fde_s.o: In function `get_cie_encoding':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/unwind-dw2-fde.c:276: undefined
reference to `_strlen'
unwind-dw2-fde_s.o: In function `start_fde_sort':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/unwind-dw2-fde.c:401: undefined
reference to `_malloc'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/unwind-dw2-fde.c:404: undefined
reference to `_malloc'
unwind-dw2-fde_s.o: In function `init_object':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/unwind-dw2-fde.c:582: undefined
reference to `_free'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/unwind-dw2-fde.c:579: undefined
reference to `_abort'
unwind-dw2-fde_s.o: In function `__gthread_mutex_lock':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:760: undefined
reference to `_pthread_mutex_lock'
unwind-dw2-fde_s.o: In function `__gthread_mutex_unlock':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:792: undefined
reference to `_pthread_mutex_unlock'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:792: undefined
reference to `_pthread_mutex_unlock'
unwind-dw2-fde_s.o: In function `__gthread_mutex_lock':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:760: undefined
reference to `_pthread_mutex_lock'
unwind-dw2-fde_s.o: In function `__gthread_mutex_unlock':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:792: undefined
reference to `_pthread_mutex_unlock'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:792: undefined
reference to `_pthread_mutex_unlock'
unwind-dw2-fde_s.o: In function `__deregister_frame_info_bases':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/unwind-dw2-fde.c:217: undefined
reference to `_abort'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/unwind-dw2-fde.c:201: undefined
reference to `_free'
unwind-dw2-fde_s.o: In function `__gthread_mutex_lock':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:760: undefined
reference to `_pthread_mutex_lock'
unwind-dw2-fde_s.o: In function `__register_frame_table':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/unwind-dw2-fde.c:157: undefined
reference to `_malloc'
unwind-dw2-fde_s.o: In function `__gthread_mutex_lock':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:760: undefined
reference to `_pthread_mutex_lock'
unwind-dw2-fde_s.o: In function `__register_frame':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/unwind-dw2-fde.c:119: undefined
reference to `_malloc'
unwind-dw2-fde_s.o: In function `__deregister_frame':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/unwind-dw2-fde.c:232: undefined
reference to `_free'
unwind-dw2-fde_s.o: In function `__gthread_mutex_unlock':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:792: undefined
reference to `_pthread_mutex_unlock'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:792: undefined
reference to `_pthread_mutex_unlock'
unwind-sjlj_s.o: In function `__gthread_once':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:718: undefined
reference to `_pthread_once'
unwind-sjlj_s.o: In function `__gthread_key_create':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:726: undefined
reference to `_pthread_key_create'
unwind-sjlj_s.o: In function `_Unwind_RaiseException_Phase2':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/unwind.inc:76: undefined reference
to `_abort'
unwind-sjlj_s.o: In function `__gthread_setspecific':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:744: undefined
reference to `_pthread_setspecific'
unwind-sjlj_s.o: In function `__gthread_getspecific':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:738: undefined
reference to `_pthread_getspecific'
unwind-sjlj_s.o: In function `__gthread_setspecific':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:744: undefined
reference to `_pthread_setspecific'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:744: undefined
reference to `_pthread_setspecific'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:744: undefined
reference to `_pthread_setspecific'
unwind-sjlj_s.o: In function `__gthread_getspecific':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:738: undefined
reference to `_pthread_getspecific'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:738: undefined
reference to `_pthread_getspecific'
unwind-sjlj_s.o: In function `_Unwind_SjLj_Resume_or_Rethrow':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/unwind.inc:264: undefined reference
to `_abort'
unwind-sjlj_s.o: In function `__gthread_getspecific':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:738: undefined
reference to `_pthread_getspecific'
unwind-sjlj_s.o: In function `_Unwind_SjLj_Resume':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/unwind.inc:239: undefined reference
to `_abort'
unwind-sjlj_s.o: In function `__gthread_getspecific':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:738: undefined
reference to `_pthread_getspecific'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:738: undefined
reference to `_pthread_getspecific'
unwind-c_s.o: In function `read_encoded_value_with_base':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/unwind-pe.h:262: undefined reference
to `_abort'
emutls_s.o: In function `__gthread_getspecific':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:738: undefined
reference to `_pthread_getspecific'
emutls_s.o: In function `__gthread_once':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:718: undefined
reference to `_pthread_once'
emutls_s.o: In function `__gthread_mutex_lock':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:760: undefined
reference to `_pthread_mutex_lock'
emutls_s.o: In function `__gthread_mutex_unlock':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:792: undefined
reference to `_pthread_mutex_unlock'
emutls_s.o: In function `emutls_alloc':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/emutls.c:103: undefined reference to
`_malloc'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/emutls.c:120: undefined reference to
`_memcpy'
emutls_s.o: In function `__emutls_get_address':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/emutls.c:168: undefined reference to
`_realloc'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/emutls.c:172: undefined reference to
`_memset'
emutls_s.o: In function `__gthread_setspecific':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:744: undefined
reference to `_pthread_setspecific'
emutls_s.o: In function `__emutls_get_address':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/emutls.c:156: undefined reference to
`_calloc'
emutls_s.o: In function `__gthread_setspecific':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:744: undefined
reference to `_pthread_setspecific'
emutls_s.o: In function `emutls_alloc':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/emutls.c:111: undefined reference to
`_malloc'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/emutls.c:122: undefined reference to
`_memset'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/emutls.c:113: undefined reference to
`_abort'
emutls_s.o: In function `__gthread_key_create':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/gthr-posix.h:726: undefined
reference to `_pthread_key_create'
emutls_s.o: In function `emutls_init':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/emutls.c:89: undefined reference to
`_abort'
emutls_s.o: In function `emutls_destroy':
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/emutls.c:76: undefined reference to
`_free'
/cygdrive/f/Home/cvsroot/gcc/libgcc/../gcc/emutls.c:79: undefined reference to
`_free'
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.dll] Error 1
make[3]: Leaving directory
`/cygdrive/f/Home/cvsroot/gcc-obj/i686-pc-cygwin/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/cygdrive/f/Home/cvsroot/gcc-obj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/cygdrive/f/Home/cvsroot/gcc-obj'
make: *** [bootstrap] Error 2
[1]+  Done                    clean  (wd: ~)
(wd now: ~/cvsroot/gcc-obj)

User@MCKELVEY-XP ~/cvsroot/gcc-obj


-- 
           Summary: Bootstrap Failure with Undefined References
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mckelvey at maskull dot com
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37600


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]