------- Comment #5 from dir at lanl dot gov 2005-11-23 17:47 ------- Nothing called gthrw_pthread_mutex_lock (Darwin only has pthread_mutex_lock)is in any of the libraries as a terminator. If I run gcc directly, I do not know how to get all the flags set correctly to get a meaningful preprocessed output from environ.c - is there some macro that will pick up all the required parameters for this configuration ? When I touched environ.c and did another make - I found some warning messages in the output about the thread routines.
can't find atom for N_GSYM stabs compile_options:G(0,5)=(0,6)=s8warn_std:(0,4),0,32;allow_std:(0,4),32,32;; in .libs/compile_options.o can't find atom for N_GSYM stabs options:G(0,25)=(0,26)=s80stdin_unit:(0,8),0,32;stdout_unit:(0,8),32,32;stderr_unit:(0,8),64,32;optional_plus:(0,8),96,32;allocate_init_flag:(0,8),128,32;allocate_init_value:(0,8),160,32;locus:(0,8),192,32;separator_len:(0,8),224,32;separator:(0,5),256,64;mem_check:(0,8),320,32;use_stderr:(0,8),352,32;all_unbuffered:(0,8),384,32;default_recl:(0,8),416,32;fpu_round:(0,8),448,32;fpu_precision:(0,8),480,32;fpe:(0,8),512,32;sighup:(0,8),544,32;sigint:(0,8),576,32;; in .libs/environ.o can't find atom for N_GSYM stabs l8_to_l4_offset:G(0,2) in .libs/main.o ld: warning weak symbol references not set in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1 ld: warning weak referenced symbols: _pthread_cancel _pthread_mutex_lock _pthread_mutex_trylock _pthread_mutex_unlock can't find atom for N_GSYM stabs max_offset:G(0,30) in .libs/unit.o can't find atom for N_GSYM stabs unit_root:G(0,1) in .libs/unit.o can't find atom for N_GSYM stabs unit_lock:G(0,35) in .libs/unit.o -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24991