------- Comment #5 from victor dot pasko at gmail dot com 2010-07-13 12:36 ------- The root cause of the problem is in using weak symbol pthread_cancel in unit.o object from libgfortran.a library. Why it's so?
Look: % nm unit.o 00000000000004f0 T _gfortrani_close_unit 00000000000004a0 T _gfortrani_close_units U _gfortrani_error_stream 0000000000000a60 T _gfortrani_find_unit U _gfortrani_free_mem U _gfortrani_get_mem 0000000000000900 T _gfortrani_get_unit U _gfortrani_init_loop_spec 0000000000000500 T _gfortrani_init_units U _gfortrani_input_stream U _gfortrani_internal_error 0000000000000170 T _gfortrani_is_array_io 0000000000000150 T _gfortrani_is_internal_unit 0000000000000008 C _gfortrani_max_offset U _gfortrani_open_internal U _gfortrani_options U _gfortrani_output_stream 0000000000000000 B _gfortrani_unit_lock 0000000000000008 C _gfortrani_unit_root 0000000000000340 T _gfortrani_unlock_unit 0000000000000360 t close_unit_1 0000000000000040 t compare 0000000000000060 t delete_root 00000000000000d0 t delete_treap 0000000000000a50 T find_or_create_unit 0000000000000720 t find_unit_1 0000000000000180 t insert 0000000000000230 t insert_unit 0000000000000040 b internal_unit U memset w pthread_cancel w pthread_mutex_lock w pthread_mutex_trylock w pthread_mutex_unlock 0000000000000000 t rotate_left 0000000000000020 t rotate_right 0000000000000110 b unit_cache 0000000000000000 d x0.6677 -- victor dot pasko at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44927