[Bug ld/27443] FAIL: pr25355.o

2021-03-13 Thread dave.anglin at bell dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=27443

--- Comment #8 from dave.anglin at bell dot net ---
Nope, it was my build setup.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/27443] FAIL: pr25355.o

2021-03-13 Thread dave.anglin at bell dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=27443

--- Comment #7 from dave.anglin at bell dot net ---
It's strange that this fails with Debian gcc-10:
gcc version 10.2.1 20210110 (Debian 10.2.1-6)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/27443] FAIL: pr25355.o

2021-03-12 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27443

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #6 from Alan Modra  ---
And a freshly built mainline gcc (commit 3972574f11e5) gives:
~/build/cross/hppa-linux/gcc$ ~/build/gas/hppa-linux/binutils/nm-new --plugin
lto-plugin/.libs/liblto_plugin.so pr25355.o 
 B nm_test_var
 D nm_test_var2

And the same for a freshly built gcc-10 branch compiler (commit a07015ad4dc1),
and for a freshly built gcc 10.1.0.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/27443] FAIL: pr25355.o

2021-03-12 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27443

--- Comment #5 from Alan Modra  ---
OK, tracing this through a little, in bfd_plugin_canonicalize_symtab I see
current_plugin->has_symbol_type is zero for me.  This looks to be a case of my
hppa-linux-gcc lto plugin using the old LDPT_ADD_SYMBOLS rather than
LDPT_ADD_SYMBOLS_V2.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/27443] FAIL: pr25355.o

2021-03-12 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27443

--- Comment #4 from Alan Modra  ---
I see the same incorrect 'T' for these variables using a gcc-8.8.1
cross-compiler.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/27443] FAIL: pr25355.o

2021-03-12 Thread danglin at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27443

--- Comment #3 from John David Anglin  ---
dave@mx3210:~/gnu/binutils/objdir/ld$
/home/dave/gnu/binutils/objdir/ld/../binutils/nm-new --plugin
/home/dave/opt/test/libexec/gcc/hppa-linux-gnu/10.0.0/liblto_plugin.so
tmpdir/pr25355.o > dump.out
dave@mx3210:~/gnu/binutils/objdir/ld$ cat dump.out
 T nm_test_var
 T nm_test_var2

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/27443] FAIL: pr25355.o

2021-03-12 Thread dave.anglin at bell dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=27443

--- Comment #2 from dave.anglin at bell dot net ---
Hi Nick,

Attached.

Regards,
Dave

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/27443] FAIL: pr25355.o

2021-03-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27443

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

--- Comment #1 from Nick Clifton  ---
Hi John,

  Not having a native hppa environment to hand (or a suitable cross compiler)
  I cannot run this test locally.  Would you mind uploading the pr25335.o
  object file so that I can examine it ?  (I am assuming that the test is
  failing because the symbols have a type that the pr25355.d file does not
  expect).

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.