------- Comment #6 from howarth at nitro dot med dot uc dot edu  2009-09-19 
23:22 -------
This seems strange to me. If I create the offending conftest.c test file and
execute...

/sw/src/fink.build/gcc45-4.4.999-20090919/darwin_objdir/./prev-gcc/xgcc
-B/sw/src/fink.build/gcc45-4.4.999-20090919/darwin_objdir/./prev-gcc/
-B/sw/lib/gcc4.5/x86_64-apple-darwin10/bin/
-B/sw/lib/gcc4.5/x86_64-apple-darwin10/bin/
-B/sw/lib/gcc4.5/x86_64-apple-darwin10/lib/ -isystem
/sw/lib/gcc4.5/x86_64-apple-darwin10/include -isystem
/sw/lib/gcc4.5/x86_64-apple-darwin10/sys-include    -o conftest -g -O2 
--save-temps  conftest.c

I get...

Assertion failed: (!"Unknown one-operand"), function LinkLocation, file
/SourceCache/dwarf_utilities/dwarf_utilities-70/source/DWARFdSYM.cpp, line
1571.
xgcc: Internal error: Abort trap (program dsymutil)

whereas if I then use the preprocessed source file to execute...

/sw/src/fink.build/gcc45-4.4.999-20090919/darwin_objdir/./prev-gcc/xgcc
-B/sw/src/fink.build/gcc45-4.4.999-20090919/darwin_objdir/./prev-gcc/
-B/sw/lib/gcc4.5/x86_64-apple-darwin10/bin/
-B/sw/lib/gcc4.5/x86_64-apple-darwin10/bin/
-B/sw/lib/gcc4.5/x86_64-apple-darwin10/lib/ -isystem
/sw/lib/gcc4.5/x86_64-apple-darwin10/include -isystem
/sw/lib/gcc4.5/x86_64-apple-darwin10/sys-include -o conftest -g -O2 conftest.i

I get no error and a conftest executable is created that runs without errors.
This would seem to point back at the xgcc as at fault and not dsymutil, no?


-- 


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

Reply via email to