[Bug binutils/31543] windres announces non-PE targets as supported

2024-03-26 Thread peter0x44 at disroot dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31543

Peter0x44  changed:

   What|Removed |Added

 CC||peter0x44 at disroot dot org

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


[Bug binutils/31561] New: AArch64 gas test case "SME extension (ZERO)" fails on s390x

2024-03-26 Thread jremus at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=31561

Bug ID: 31561
   Summary: AArch64 gas test case "SME extension (ZERO)" fails on
s390x
   Product: binutils
   Version: 2.43 (HEAD)
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: jremus at linux dot ibm.com
  Target Milestone: ---

The AArch64 GNU Assembler test case "SME extension (ZERO)" fails in a GNU
Binutils build for target "aarch64-linux-gnu" on s390x as follows:


Target is aarch64-unknown-linux-gnu
Host   is s390x-ibm-linux-gnu
...
../as-new  -march=armv8-a+sme  -o tmpdir/sme-4.o
/home/jremus/binutils/gas/testsuite/gas/aarch64/sme-4.s
Executing on host: sh -c {../as-new  -march=armv8-a+sme  -o tmpdir/sme-4.o
/home/jremus/binutils/gas/testsuite/gas/aarch64/sme-4.s 2>&1}  /dev/null
dump.tmp (timeout = 300)
spawn [open ...]
/home/jremus/binutils/build-gcc-aarch64/gas/testsuite/../../binutils/objdump 
-dr tmpdir/sme-4.o > tmpdir/dump.out
Executing on host: sh -c
{/home/jremus/binutils/build-gcc-aarch64/gas/testsuite/../../binutils/objdump 
-dr tmpdir/sme-4.o > tmpdir/dump.out 2>dump.tmp}  /dev/null  (timeout = 300)
spawn [open ...]
regexp_diff match failure
regexp "^   4:  c00800ffzero{za}$"
line   "   4:   c00800ffzero{}"
regexp_diff match failure
regexp "^   8:  c00800ffzero{za}$"
line   "   8:   c00800ffzero{}"
regexp_diff match failure
regexp "^   c:  c00800ffzero{za}$"
line   "   c:   c00800ffzero{}"
regexp_diff match failure
regexp "^  10:  c00800ffzero{za}$"
line   "  10:   c00800ffzero{}"
regexp_diff match failure
regexp "^  14:  c00800ffzero{za}$"
line   "  14:   c00800ffzero{}"
regexp_diff match failure
regexp "^  18:  c0080001zero{za0\.d}$"
line   "  18:   c0080001zero{}"
regexp_diff match failure
regexp "^  1c:  c0080002zero{za1\.d}$"
line   "  1c:   c0080002zero{}"
regexp_diff match failure
regexp "^  20:  c0080004zero{za2\.d}$"
line   "  20:   c0080004zero{}"
regexp_diff match failure
regexp "^  24:  c0080008zero{za3\.d}$"
line   "  24:   c0080008zero{}"
regexp_diff match failure
regexp "^  28:  c0080010zero{za4\.d}$"
line   "  28:   c0080010zero{}"
regexp_diff match failure
regexp "^  2c:  c0080020zero{za5\.d}$"
line   "  2c:   c0080020zero{}"
regexp_diff match failure
regexp "^  30:  c0080040zero{za6\.d}$"
line   "  30:   c0080040zero{}"
regexp_diff match failure
regexp "^  34:  c0080080zero{za7\.d}$"
line   "  34:   c0080080zero{}"
regexp_diff match failure
regexp "^  38:  c0080001zero{za0\.d}$"
line   "  38:   c0080001zero{}"
regexp_diff match failure
regexp "^  3c:  c0080003zero{za0\.d, za1\.d}$"
line   "  3c:   c0080003zero{}"
regexp_diff match failure
regexp "^  40:  c0080007zero{za0\.d, za1\.d, za2\.d}$"
line   "  40:   c0080007zero{}"
regexp_diff match failure
regexp "^  44:  c008000fzero{za0\.d, za1\.d, za2\.d, za3\.d}$"
line   "  44:   c008000fzero{}"
regexp_diff match failure
regexp "^  48:  c008001fzero{za0\.s, za1\.d, za2\.d, za3\.d}$"
line   "  48:   c008001fzero{}"
regexp_diff match failure
regexp "^  4c:  c008003fzero{za0\.s, za1\.s, za2\.d, za3\.d}$"
line   "  4c:   c008003fzero{}"
regexp_diff match failure
regexp "^  50:  c008007fzero{za0\.h, za1\.s, za3\.d}$"
line   "  50:   c008007fzero{}"
regexp_diff match failure
regexp "^  54:  c00800ffzero{za}$"
line   "  54:   c00800ffzero{}"
regexp_diff match failure
regexp "^  58:  c0080080zero{za7\.d}$"
line   "  58:   c0080080zero{}"
regexp_diff match failure
regexp "^  5c:  c00800c0zero{za6\.d, za7\.d}$"
line   "  5c:   c00800c0zero{}"
regexp_diff match failure
regexp "^  60:  c00800e0zero{za5\.d, za6\.d, za7\.d}$"
line   "  60:   c00800e0zero{}"
regexp_diff match failure
regexp "^  64:  c00800f0zero{za4\.d, za5\.d, za6\.d, za7\.d}$"
line   "  64:   c00800f0zero{}"
regexp_diff match failure
regexp "^  68:  c00800f8zero{za3\.s, za4\.d, za5\.d, za6\.d}$"
line   "  68:   c00800f8zero{}"
regexp_diff match failure
regexp "^  6c:  c00800fczero{za2\.s, za3\.s, za4\.d, za5\.d}$"
line   "  6c:   c00800fczero{}"
regexp_diff match failure
regexp "^  70:  c00800fezero{za1\.h, za2\.s, za4\.d}$"
line   "  70:   c00800fezero{}"
regexp_diff match failure
regexp "^  74:  c00800ffzero{za}$"
line   "  74:   c00800ffzero  

[Bug ld/23935] [Regression] ld.bfd does not rescan fat LTO archives to resolve plugin-added references

2024-03-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23935

H.J. Lu  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED
   Target Milestone|2.32|2.43

--- Comment #13 from H.J. Lu  ---
Fixed for 2.43.

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


[Bug ld/23935] [Regression] ld.bfd does not rescan fat LTO archives to resolve plugin-added references

2024-03-26 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23935

--- Comment #12 from Sourceware Commits  ---
The master branch has been updated by H.J. Lu :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bb9a951fab7a30cc1209c6b8b1716c13456e8b1a

commit bb9a951fab7a30cc1209c6b8b1716c13456e8b1a
Author: H.J. Lu 
Date:   Thu Dec 6 11:45:41 2018 -0800

Don't claim a fat IR object if no IR object should be claimed

When the linker sees an input object containing nothing but IR during
rescan, it should ignore it (LTO phase is over).  But if the input object
is a fat IR object, which has non-IR code as well, it should be used to
resolve references as if it did not contain any IR at all.  This patch
adds lto_type to bfd and linker avoids claiming a fat IR object if no IR
object should be claimed.

bfd/

PR ld/23935
* archive.c (_bfd_compute_and_write_armap): Check bfd_get_lto_type
instead of lto_slim_object.
* elflink.c (elf_link_add_object_symbols): Likewise.
* bfd.c (bfd_lto_object_type): New.
(bfd): Remove lto_slim_object and add lto_type.
(bfd_get_lto_type): New function.
* elf.c (lto_section): Removed.
(_bfd_elf_make_section_from_shdr): Don't set lto_slim_object.
* format.c: (lto_section): New.
(bfd_set_lto_type): New function.
(bfd_check_format_matches): Call bfd_set_lto_type.
* bfd-in2.h: Regenerated.

binutils/

PR ld/23935
* nm.c (display_rel_file): Check bfd_get_lto_type instead of
lto_slim_object.

ld/

PR ld/23935
* ldmain.c (add_archive_element): Don't claim a fat IR object if
no IR object should be claimed.
* testsuite/ld-plugin/lto.exp (pr20103): Adjust fat IR test.
Add PR ld/23935 test.
* testsuite/ld-plugin/pr23935a.c: New file.
* testsuite/ld-plugin/pr23935b.c: Likewise.

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


[Bug ld/30685] bfd fails with lto on armhf and clang-16 (symbol from plugin): Number of symbols in input file has increased from 0 to 1

2024-03-26 Thread costamagnagianfranco at yahoo dot it
https://sourceware.org/bugzilla/show_bug.cgi?id=30685

--- Comment #4 from Gianfranco  ---
binutils 2.42-4ubuntu1 looks working now. Closing

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


[Bug ld/30685] bfd fails with lto on armhf and clang-16 (symbol from plugin): Number of symbols in input file has increased from 0 to 1

2024-03-26 Thread costamagnagianfranco at yahoo dot it
https://sourceware.org/bugzilla/show_bug.cgi?id=30685

Gianfranco  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Gianfranco  ---
binutils 2.42-4ubuntu1 looks working now. Closing

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


[Bug ld/27659] BFD (GNU Binutils for Debian) 2.36.1 internal error, aborting at ../../bfd/elfcode.h:224 in bfd_elf32_swap_symbol_out

2024-03-26 Thread costamagnagianfranco at yahoo dot it
https://sourceware.org/bugzilla/show_bug.cgi?id=27659

Gianfranco  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED

--- Comment #24 from Gianfranco  ---
closing.

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


[Bug ld/27659] BFD (GNU Binutils for Debian) 2.36.1 internal error, aborting at ../../bfd/elfcode.h:224 in bfd_elf32_swap_symbol_out

2024-03-26 Thread costamagnagianfranco at yahoo dot it
https://sourceware.org/bugzilla/show_bug.cgi?id=27659

--- Comment #23 from Gianfranco  ---
With binutils 2.42-4ubuntu1 looks like it is fixed.

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


[Bug ld/27659] BFD (GNU Binutils for Debian) 2.36.1 internal error, aborting at ../../bfd/elfcode.h:224 in bfd_elf32_swap_symbol_out

2024-03-26 Thread costamagnagianfranco at yahoo dot it
https://sourceware.org/bugzilla/show_bug.cgi?id=27659

--- Comment #22 from Gianfranco  ---
With binutils 2.42-4ubuntu1 looks like it is fixed.

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