------- Comment #5 from howarth at nitro dot med dot uc dot edu 2010-08-03 22:50 ------- The linkage of events succeeds if done manually (without using libtool which invokes dsymutil)...
[MacPro:~/bad_dwarf] howarth% /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/as -arch x86_64 -force_cpusubtype_ALL -o eventsmain.o eventsmain.s [MacPro:~/bad_dwarf] howarth% /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/collect2 -dynamic -arch x86_64 -bind_at_load -macosx_version_min 10.6.4 -multiply_defined suppress -weak_reference_mismatches non-weak -w -o events -lcrt1.10.5.o -L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.4.0/./libjava/.libs -L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc -L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.4.0/libjava/testsuite/.. eventsmain.o events.o natevents.o -allow_stack_execute -lm -lgcc_s.10.5 -lgcc_ext.10.5 -lgcc -lgcj -lm -L/sw/lib -liconv -lpthread -lz -allow_stack_execute -ldl -lgcc_s.10.5 -lgcc_ext.10.5 -lgcc -no_compact_unwind -lSystem however the resulting executable triggers the warning with dsymutil... dsymutil events error: Invalid DWARF in /Users/howarth/bad_dwarf/natevents.o: DIE 0x00006c58 has multiple AT_byte_size attributes. dwarfdump natevents.o > natevents.o.dwarfdump shows... 0x00006c58: TAG_structure_type [39] * AT_byte_size( 0x18 ) AT_decl_file( "/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100803/libjava/classpath/include/jni.h" ) AT_decl_line( 213 ) AT_byte_size( 0x18 ) AT_decl_file( "/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100803/libjava/classpath/include/jni.h" ) AT_decl_line( 213 ) AT_sibling( {0x00006c90} ) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45171