diff options
author | Cary Coutant <ccoutant@gmail.com> | 2017-12-01 22:03:09 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2017-12-01 22:03:09 -0800 |
commit | 059256c7465164fc070482dbe04ebe4e2ccf1a08 (patch) | |
tree | 1275b750ca92942492ff9a890440f839c6ed4953 /gold/testsuite/Makefile.am | |
parent | 97cbe998d0dd5c13a0317fbb24d745da367d8caa (diff) | |
download | gdb-059256c7465164fc070482dbe04ebe4e2ccf1a08.zip gdb-059256c7465164fc070482dbe04ebe4e2ccf1a08.tar.gz gdb-059256c7465164fc070482dbe04ebe4e2ccf1a08.tar.bz2 |
Fix incremental linking failure with GCC 7+.
With the new compiler, we're running out of patch space for the .eh_frame
section. To workaround that issue, we compile the before and after versions
both with no unwind tables.
gold/
PR gold/22309
* testsuite/Makefile.am (two_file_test_1_v1_ndebug.o): Compile with
no EH information.
(two_file_test_1_ndebug.o): Likewise.
* testsuite/Makefile.in: Regenerate.
* testsuite/two_file_test_1.cc: Touch to force recompilation with new
flags.
* testsuite/two_file_test_1_v1.cc: Likewise.
Diffstat (limited to 'gold/testsuite/Makefile.am')
-rw-r--r-- | gold/testsuite/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index 5f7f66f..f490453 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -2996,9 +2996,9 @@ pr20976-d.o: pr20976.o gcctestdir/ld if DEFAULT_TARGET_X86_64 two_file_test_1_v1_ndebug.o: two_file_test_1_v1.cc - $(CXXCOMPILE) -O0 -g0 -c -o $@ $< + $(CXXCOMPILE) -O0 -g0 -fno-exceptions -fno-asynchronous-unwind-tables -c -o $@ $< two_file_test_1_ndebug.o: two_file_test_1.cc - $(CXXCOMPILE) -O0 -g0 -c -o $@ $< + $(CXXCOMPILE) -O0 -g0 -fno-exceptions -fno-asynchronous-unwind-tables -c -o $@ $< two_file_test_1b_ndebug.o: two_file_test_1b.cc $(CXXCOMPILE) -O0 -g0 -c -o $@ $< two_file_test_2_ndebug.o: two_file_test_2.cc |