Hello,
I am looking for a way to disable '-gtoggle' flag in the run of stage 2
in
bootstrap; when configuring ARM with (*). The flag seems to be applied in stage 2 but not in stage 3 which seems
to
cause bootstrap failure when testing SMS as in stage 2 SMS fails because of debug_insn caused by -gtoggle disturbing do-loop; while in stage 3 SMS succeeds;
resulting
in different .o files and bootsrtrap failure.
(*) This the configure I used: ../gcc/configure --prefix=/home/eres/mainline/build --enable-checking --enable-languages=c --enable-bootstrap
By definition that's regarded as a bug in the compiler. Code generated with debug enabled is required to be identical to code generated without it.
OK, thanks for your answer. I'll try to see how to resolve it. btw, when configuring with --with-arch=armv7-a -gtoggle is *not* been used in the bootstrap stages (2 nor 3)
Revital
R.