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] | |
This patch adds -shared-libgcc and -Bdynamic -lstdc++ options to
counteract the effect of the -static... options now passed in from the
top-level config. With a static libstdc++, the link of debug_msg_so
succeeds instead of printing several undefined variables, because we
suppress the printing of undefined variables when building a shared
object with unresolved DT_NEEDED entries.
Tested on x86_64. OK to commit?
-cary
gold/
* testsuite/Makefile.am (debug_msg_so.err): Add -shared-libgcc and
-Bdynamic -lstdc++ options.
(debug_msg_ndebug.err): Likewise.
* testsuite/Makefile.in: Regenerate.
Attachment:
gold-no-static-lib-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] |