On Wed, 27 May 2020 at 16:26, Jeff Law via Gcc <gcc@gcc.gnu.org> wrote: > > On Wed, 2020-05-27 at 11:16 -0300, Alexandre Oliva wrote: > > Hello, David, > > > > On May 26, 2020, David Edelsohn <dje....@gmail.com> wrote: > > > > > Complaints about -dA, -dD, -dumpbase, etc. > > > > This was the main symptom of the problem fixed in the follow-up commit > > r11-635-g6232d02b4fce4c67d39815aa8fb956e4b10a4e1b > > > > Could you please confirm that you did NOT have this commit in your > > failing build, and that the patch above fixes the problem for you as it > > did for others? > > > > > > > This patch was not properly tested on all targets. > > > > This problem had nothing to do with targets. Having Ada enabled, which > > I've nearly always and very long done to increase test coverage, was > > what kept the preexisting bug latent in my testing. > > > > > > Sorry that I failed to catch it before the initial check in. > Any thoughts on the massive breakage on the embedded ports in the testsuite? > Essentially every test that links is failing like this: > > > Executing on host: /home/jenkins/workspace/c6x-elf/c6x-elf-obj/gcc/gcc/xgcc > > -B/home/jenkins/workspace/c6x-elf/c6x-elf-obj/gcc/gcc/ > > /home/jenkins/gcc/gcc/testsuite/gcc.c-torture/execute/20000112-1.c > > gcc_tg.o -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers > > -fdiagnostics-color=never -fdiagnostics-urls=never -O0 -w -msim {} > > {} - > > Wl,-wrap,exit -Wl,-wrap,_exit -Wl,-wrap,main -Wl,-wrap,abort -lm -o > > ./20000112-1.exe (timeout = 300) > > spawn -ignore SIGHUP > > /home/jenkins/workspace/c6x-elf/c6x-elf-obj/gcc/gcc/xgcc > > -B/home/jenkins/workspace/c6x-elf/c6x-elf-obj/gcc/gcc/ > > /home/jenkins/gcc/gcc/testsuite/gcc.c-torture/execute/20000112-1.c gcc_tg.o > > -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers > > -fdiagnostics- > > color=never -fdiagnostics-urls=never -O0 -w -msim -Wl,-wrap,exit -Wl,- > > wrap,_exit -Wl,-wrap,main -Wl,-wrap,abort -lm -o ./20000112-1.exe^M > > xgcc: error: : No such file or directory^M > > xgcc: error: : No such file or directory^M > > compiler exited with status 1 > > FAIL: gcc.c-torture/execute/20000112-1.c -O0 (test for excess errors) > > Excess errors: > > xgcc: error: : No such file or directory > > xgcc: error: : No such file or directory > > > > > Sadly there's no additional output that would help us figure out what went > wrong.
If that helps, I traced this down to the new gcc_adjust_linker_flags function. Christophe > > jeff >