------- Comment #31 from developer at sandoe-acoustics dot co dot uk 2009-09-21 18:50 ------- OK. this is what I've done (a) bootstrapped with Jakub's path but modified thus >> Common Report Var(dwarf_strict) Init(1) - bootstrap succeeds (with the four errors mentioned in #26).
(b) I then hand edited gcc/options.c to set dwarf_strict=0; and re-made xgcc. Now I have a built complier that responds to the -gstrict_dwarf flag. so I made a very simple source file: int testfunc(void) { int ; i=1; return i; } I can compile this with/without -gstrict-dwarf and cmp says the .o files are the same. -save-temps -fverbose-asm says that gstrict-dwarf is being turned on & off. dwarfdump succeeds with everything but --debug-frame :Assertion failed: (reg_state_pos != cie->initial_state.regs.end()), function ParseInstructions, (note that for this simple file the debug-str; segment is empty - which is the error case in the four lib ones). any guru gonna point me to where to go next ... it's really difficult to know where the problem really lies right now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41405