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]

Re: Fix testsuite failures caused by -static-libgcc and -static-libstdc++ options


On Thu, Dec 20, 2012 at 3:15 PM, Cary Coutant <ccoutant@google.com> wrote:
> 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.


Does it fix

http://www.sourceware.org/bugzilla/show_bug.cgi?id=14608

-- 
H.J.


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