From: Nick Clifton <nickc@redhat.com>
To: "H.J. Lu" <hjl.tools@gmail.com>,
Fangrui Song <maskray@google.com>, Alan Modra <amodra@gmail.com>
Cc: Binutils <binutils@sourceware.org>
Subject: Re: V6 [PATCH] ld: Add --export-dynamic-symbol and --export-dynamic-symbol-list
Date: Wed, 3 Jun 2020 11:51:30 +0100 [thread overview]
Message-ID: <ed95b401-6f40-3ba6-ef75-02d15282aedf@redhat.com> (raw)
In-Reply-To: <CAMe9rOos-S_sS5=HujgFNhkZ3DD9WUVf_FVuW6YN+=PvaBF65Q@mail.gmail.com>
Hi H.J.
> Here is the rebased patch. Nick, Alan, is it OK for master? Thanks.
Short version: Approved - please apply.
Long version: The patch looks mostly fine to me. But there is a problem:
some regressions in the linker testsuite for various targets:
Checking Binutils in: mips-sgi-irix6 ...
LD REGRESSION: -u --export-dynamic-symbol foo archive
LD REGRESSION: -u --export-dynamic-symbol "f*" archive
LD REGRESSION: -u --export-dynamic-symbol-list foo bar archive
LD REGRESSION: -u --export-dynamic-symbol-list fstar archive
The failures here all look like:
extra regexps in ld/testsuite/ld-dynamic/export-dynamic-symbol-2.d starting with "^[0-9a-f]+ T +bar$"
I suspect that this is a target that can be skipped/xfailed.
Next:
Checking Binutils in: mn10300-elf ...
LD REGRESSION: --export-dynamic-symbol foo archive
LD REGRESSION: -u --export-dynamic-symbol foo archive
LD REGRESSION: -u --export-dynamic-symbol "f*" archive
These failures are from:
./ld-new: tmpdir/dump: error: PHDR segment not covered by LOAD segment
However this failure is showing up for a lot more tests than just your new ones,
so please ignore. It is obviously a mn10300 specific problem.
Finally:
Checking Binutils in: sanitize-undefined ... LD: 400 done
LD REGRESSION: Build libdl2e.so with --export-dynamic-symbol=foo
LD REGRESSION: Build libdl2f.so with --dynamic-list=dlempty.list and
LD REGRESSION: Build libdl2g.so with --export-dynamic-symbol-list=dl2.list
LD REGRESSION: Build libdl2h.so with --dynamic-list=dlempty.list and
LD REGRESSION: Build libdl2i.so with -Bsymbolic and
LD REGRESSION: Build libdl2j.so with -Bsymbolic and
LD REGRESSION: Build libdl2k.so with --export-dynamic-symbol-list=dl2.list and
Which are all due to:
bfd/elf64-x86-64.c:3233:8: runtime error: member access within null pointer of type 'struct elf_x86_link_hash_entry'
I remember trying to look into this before and getting nowhere. It is however
another generic problem for linker tests run with the undefined sanitizer enabled
so it is not something that should hold up your patch.
Cheers
Nick
next prev parent reply other threads:[~2020-06-03 10:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-23 14:47 V2 " H.J. Lu
2020-05-23 18:29 ` Fangrui Song
2020-05-23 19:50 ` V3 " H.J. Lu
2020-05-23 21:56 ` Fangrui Song
2020-05-27 14:29 ` V4 " H.J. Lu
2020-05-27 16:19 ` Fangrui Song
2020-05-27 16:24 ` H.J. Lu
2020-05-27 20:24 ` V5 " H.J. Lu
2020-05-28 12:44 ` V6 " H.J. Lu
2020-06-03 10:51 ` Nick Clifton [this message]
2020-06-03 12:12 ` Alan Modra
2020-06-03 13:35 ` [PATCH] x86: Silence -fsanitize=undefined H.J. Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ed95b401-6f40-3ba6-ef75-02d15282aedf@redhat.com \
--to=nickc@redhat.com \
--cc=amodra@gmail.com \
--cc=binutils@sourceware.org \
--cc=hjl.tools@gmail.com \
--cc=maskray@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).