This is the mail archive of the gcc@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]

Problem building libgcc2 on sparcv9 with current GCC


I'm in the process of trying to get the current GCC to bootstrap on
a Sparc 64-bit system. Yesterday the compiler was blowing up building
the stage2 (loop.c), but today it doesn't get that far and crashes
building the library (making it real hard to go after yesterdays bug!).

This seems a GC-related problem as the blowup is right after a garbage
collection has completed, and cutting down the (preprocessed) source
makes the problem go away. Does anybody have a hint on how to figure
out what is going wrong here? (I don't have a 64-bit capable debugger yet)

Thanks in advance!

  -Geert

./cc1 -fpreprocessed libgcc2.i -g1 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -fPIC -fexceptions -o libgcc2.s
GNU CPP version 2.97 20010219 (experimental) (cpplib) (sparc)
GNU C version 2.97 20010219 (experimental) (sparcv9-sun-solaris)
        compiled by GNU C version 2.97 20010218 (experimental).
options passed:  -fpreprocessed -g1 -O2 -W -Wall -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -fPIC -fexceptions
options enabled:  -fdefer-pop -fomit-frame-pointer -foptimize-sibling-calls
 -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations
 -fthread-jumps -fstrength-reduce -fpeephole -fforce-mem -ffunction-cse
 -finline -fkeep-static-consts -fcaller-saves -freg-struct-return
 -fdelayed-branch -fgcse -frerun-cse-after-loop -frerun-loop-opt
 -fdelete-null-pointer-checks -fschedule-insns -fschedule-insns2
 -fsched-interblock -fsched-spec -fbranch-count-reg -fPIC -fexceptions
 -fnew-exceptions -freorder-blocks -fcommon -fgnu-linker -fregmove
 -foptimize-register-move -fargument-alias -fstrict-aliasing -fident
 -fpeephole2 -fguess-branch-probability -fmath-errno -mepilogue -mptr64
 -m64 -mstack-bias
 __gthread_active_p __gthread_once __gthread_key_create __gthread_key_dtor __gthread_key_delete __gthread_getspecific __gthread_setspecific __gthread_mutex_lock __gthread_mutex_trylock __gthread_mutex_unlock __default_terminate __terminate __terminate_set_func __throw_type_match __empty new_eh_context eh_context_free __get_eh_context __get_eh_info init_reg_size_table eh_threads_initialize eh_context_initialize
../../gcc/gcc/libgcc2.c: In function `eh_context_initialize':
../../gcc/gcc/libgcc2.c:3290: warning: missing braces around initializer

../../gcc/gcc/libgcc2.c:3290: warning: (near initialization for `once.__pthread_once_pad')

../../gcc/gcc/libgcc2.c:3302: warning: missing braces around initializer

../../gcc/gcc/libgcc2.c:3302: warning: (near initialization for `once_regsizes.__pthread_once_pad')
 eh_context_static eh_context_specific {GC 5333k -> 768k} __eh_alloc __eh_free __get_dynamic_handler_chain __sjthrow __sjpopnthrow __eh_rtime_match
../../gcc/gcc/libgcc2.c: In function `__eh_rtime_match':
../../gcc/gcc/libgcc2.c:3601: Internal error: Segmentation Fault
Please submit a full bug report, with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
nile%./cc1 -fpreprocessed libgcc2.i -g1 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -fPIC -fexceptions -o libgcc2.s


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