This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gold patch] Fix testsuite failures caused by GCC adding --as-needed


I just upgraded my Linux desktop, and the stock GCC now adds
--as-needed to the link commands, which causes three test cases to
fail. I've fixed these by adding --no-as-needed to the LDFLAGS for
those three tests.

OK to commit?

-cary

gold/
	* testsuite/Makefile.am (exception_separate_shared_12_test): Add
	--no-as-needed flag.
	(exception_separate_shared_12_test): Likewise.
	(incremental_copy_test): Likewise.
	* testsuite/Makefile.in: Regenerate.

Attachment: gold-as-needed-patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]