[Bug ld/29087] "non-canonical reference to canonical protected function" with protected visibility, -mno-direct-extern-access and virtual functions

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29087

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/30732] ld: 'ELF weak (alias)' tests fail on hppa

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30732

Sam James  changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu.org

--- Comment #2 from Sam James  ---
Dave, can you reproduce this one?

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


[Bug ld/30733] ld: SHF_GNU_RETAIN 7a' test fail on hppa

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30733

Sam James  changed:

   What|Removed |Added

   See Also||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=30734

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


[Bug ld/30734] ld: 'relocatable with script' test fails on hppa

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30734

Sam James  changed:

   What|Removed |Added

   See Also||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=30733

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


[Bug ld/30734] ld: 'relocatable with script' test fails on hppa

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30734

Sam James  changed:

   What|Removed |Added

Version|2.41|2.42 (HEAD)

--- Comment #1 from Sam James  ---
This looks the same as PR30733 to me (bad xfail pattern), so I'll send a patch.

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


[Bug ld/30734] New: ld: 'relocatable with script' test fails on hppa

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30734

Bug ID: 30734
   Summary: ld: 'relocatable with script' test fails on hppa
   Product: binutils
   Version: 2.41
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: sam at gentoo dot org
  Target Milestone: ---

$ ld/ld-new --version | head -1
GNU ld (GNU Binutils) 2.41.50.20230808

$ grep -rsin ^FAIL ./*/*.sum
./ld/ld.sum:502:FAIL: relocatable with script
./ld/ld.sum:512:FAIL: SHF_GNU_RETAIN 7a
./ld/ld.sum:1145:FAIL: ELF weak (alias)

```
Executing on host: sh -c {./ld-new -z norelro 
-L/home/sam/git/binutils-gdb/ld/testsuite/ld-elf  -r -T relocatable.t -o
tmpdir/dump tmpdir/simple.o  2>&1}  /dev/null dump.tmp (timeout = 300)
spawn [open ...]
/home/sam/git/binutils-gdb/ld/../binutils/readelf  -S --wide tmpdir/dump >
tmpdir/dump.out
Executing on host: sh -c {/home/sam/git/binutils-gdb/ld/../binutils/readelf  -S
--wide tmpdir/dump > tmpdir/dump.out 2>dump.tmp}  /dev/null  (timeout = 300)
spawn [open ...]
extra regexps in /home/sam/git/binutils-gdb/ld/testsuite/ld-elf/relocatable.d
starting with "^  \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t]+0+80[
\t0-9a-f]+AX.*$"
EOF from tmpdir/dump.out
FAIL: relocatable with script
```

```
~/git/binutils-gdb/ld $ ./ld-new -z norelro 
-L/home/sam/git/binutils-gdb/ld/testsuite/ld-elf  -r -T relocatable.t -o
tmpdir/dump tmpdir/simple.o
~/git/binutils-gdb/ld $ /home/sam/git/binutils-gdb/ld/../binutils/readelf  -S
--wide tmpdir/dump > tmpdir/dump.out
~/git/binutils-gdb/ld $ cat tmpdir/dump.out
There are 6 section headers, starting at offset 0xc4:

Section Headers:
  [Nr] Name  TypeAddr OffSize   ES Flg Lk Inf
Al
  [ 0]   NULL 00 00 00  0   0 
0
  [ 1] .text PROGBITS 34 04 00  AX  0   0 
1
  [ 2] .data PROGBITS0090 38 04 00  WA  0   0 
1
  [ 3] .symtab   SYMTAB   3c 50 10  4   5 
4
  [ 4] .strtab   STRTAB   8c 10 00  0   0 
1
  [ 5] .shstrtab STRTAB   9c 27 00  0   0 
1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
  L (link order), O (extra OS processing required), G (group), T (TLS),
  C (compressed), x (unknown), o (OS specific), E (exclude),
  R (retain), D (mbind), p (processor specific)
```

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


[Bug ld/30733] ld: SHF_GNU_RETAIN 7a' test fail on hppa

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30733

--- Comment #1 from Sam James  ---
This one looks obvious - ./testsuite/ld-elf/retain7a.d has a skip for
'hppa-*-linux*' but that doesn't match 'hppa2.0-*'. I'll send a patch.

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


[Bug ld/30733] New: ld: SHF_GNU_RETAIN 7a' test fail on hppa

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30733

Bug ID: 30733
   Summary: ld: SHF_GNU_RETAIN 7a' test fail on hppa
   Product: binutils
   Version: 2.41
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: sam at gentoo dot org
  Target Milestone: ---

$ ld/ld-new --version | head -1
GNU ld (GNU Binutils) 2.41.50.20230808

$ grep -rsin ^FAIL ./*/*.sum
./ld/ld.sum:502:FAIL: relocatable with script
./ld/ld.sum:512:FAIL: SHF_GNU_RETAIN 7a
./ld/ld.sum:1145:FAIL: ELF weak (alias)

```
/home/sam/git/binutils-gdb/ld/../gas/as-new  --defsym ALIGN=2-o
tmpdir/retain7.o /home/sam/git/binutils-gdb/ld/testsuite/ld-elf/retain7.s
Executing on host: sh -c {/home/sam/git/binutils-gdb/ld/../gas/as-new  --defsym
ALIGN=2-o tmpdir/retain7.o
/home/sam/git/binutils-gdb/ld/testsuite/ld-elf/retain7.s 2>&1}  /dev/null
dump.tmp (timeout = 300)
spawn [open ...]
./ld-new -z norelro  -L/home/sam/git/binutils-gdb/ld/testsuite/ld-elf  -e
_start --gc-sections -o tmpdir/dump tmpdir/retain7.o
Executing on host: sh -c {./ld-new -z norelro 
-L/home/sam/git/binutils-gdb/ld/testsuite/ld-elf  -e _start --gc-sections -o
tmpdir/dump tmpdir/retain7.o  2>&1}  /dev/null dump.tmp (timeout = 300)
spawn [open ...]
/home/sam/git/binutils-gdb/ld/../binutils/readelf  -h tmpdir/dump >
tmpdir/dump.out
Executing on host: sh -c {/home/sam/git/binutils-gdb/ld/../binutils/readelf  -h
tmpdir/dump > tmpdir/dump.out 2>dump.tmp}  /dev/null  (timeout = 300)
spawn [open ...]
fail if no difference
FAIL: SHF_GNU_RETAIN 7a
/home/sam/git/binutils-gdb/ld/../gas/as-new  --defsym ALIGN=2-o
tmpdir/retain7.o /home/sam/git/binutils-gdb/ld/testsuite/ld-elf/retain7.s
Executing on host: sh -c {/home/sam/git/binutils-gdb/ld/../gas/as-new  --defsym
ALIGN=2-o tmpdir/retain7.o
/home/sam/git/binutils-gdb/ld/testsuite/ld-elf/retain7.s 2>&1}  /dev/null
dump.tmp (timeout = 300)
spawn [open ...]
./ld-new -z norelro  -L/home/sam/git/binutils-gdb/ld/testsuite/ld-elf  -r -o
tmpdir/dump tmpdir/retain7.o
Executing on host: sh -c {./ld-new -z norelro 
-L/home/sam/git/binutils-gdb/ld/testsuite/ld-elf  -r -o tmpdir/dump
tmpdir/retain7.o  2>&1}  /dev/null dump.tmp (timeout = 300)
spawn [open ...]
/home/sam/git/binutils-gdb/ld/../binutils/readelf  -h tmpdir/dump >
tmpdir/dump.out
Executing on host: sh -c {/home/sam/git/binutils-gdb/ld/../binutils/readelf  -h
tmpdir/dump > tmpdir/dump.out 2>dump.tmp}  /dev/null  (timeout = 300)
spawn [open ...]
```

and:
```
~/git/binutils-gdb/ld $ ./ld-new -z norelro 
-L/home/sam/git/binutils-gdb/ld/testsuite/ld-elf  -r -o tmpdir/dump
tmpdir/retain7.o
~/git/binutils-gdb/ld $ /home/sam/git/binutils-gdb/ld/../binutils/readelf  -h
tmpdir/dump > tmpdir/dump.out
~/git/binutils-gdb/ld $ cat tmpdir/dump.out
ELF Header:
  Magic:   7f 45 4c 46 01 02 01 03 00 00 00 00 00 00 00 00
  Class: ELF32
  Data:  2's complement, big endian
  Version:   1 (current)
  OS/ABI:UNIX - GNU
  ABI Version:   0
  Type:  REL (Relocatable file)
  Machine:   HPPA
  Version:   0x1
  Entry point address:   0x0
  Start of program headers:  0 (bytes into file)
  Start of section headers:  252 (bytes into file)
  Flags: 0x210, PA-RISC 1.1
  Size of this header:   52 (bytes)
  Size of program headers:   0 (bytes)
  Number of program headers: 0
  Size of section headers:   40 (bytes)
  Number of section headers: 8
  Section header string table index: 7
~/git/binutils-gdb/ld $
```

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


[Bug ld/30732] ld: 'ELF weak (alias)' tests fail on hppa

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30732

--- Comment #1 from Sam James  ---
Created attachment 15048
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15048=edit
bad-alias-segfault.tar.xz

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


[Bug ld/30732] New: ld: 'ELF weak (alias)' tests fail on hppa

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30732

Bug ID: 30732
   Summary: ld: 'ELF weak (alias)' tests fail on hppa
   Product: binutils
   Version: 2.42 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: sam at gentoo dot org
  Target Milestone: ---

Created attachment 15047
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15047=edit
ld.log.xz

$ ld/ld-new --version | head -1
GNU ld (GNU Binutils) 2.41.50.20230808

$ grep -rsin ^FAIL ./*/*.sum
./ld/ld.sum:502:FAIL: relocatable with script
./ld/ld.sum:512:FAIL: SHF_GNU_RETAIN 7a
./ld/ld.sum:1145:FAIL: ELF weak (alias)

```
hppa2.0-unknown-linux-gnu-gcc  -B/home/sam/git/binutils-gdb/ld/tmpdir/ld/
-I/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak -g -O2 -fno-sanitize=all
-fno-lto   -fno-lto -fpic -c
/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak/alias.c -o tmpdir/alias.o
Executing on host: sh -c {hppa2.0-unknown-linux-gnu-gcc 
-B/home/sam/git/binutils-gdb/ld/tmpdir/ld/
-I/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak -g -O2 -fno-sanitize=all
-fno-lto   -fno-lto -fpic -c
/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak/alias.c -o tmpdir/alias.o
2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
hppa2.0-unknown-linux-gnu-gcc  -B/home/sam/git/binutils-gdb/ld/tmpdir/ld/ 
-fno-lto  -L/usr/local/hppa2.0-unknown-linux-gnu/lib -L/usr/local/lib -L/lib
-L/usr/lib  -o tmpdir/alias.so --shared -Wl,--no-as-needed tmpdir/alias.o
Executing on host: sh -c {hppa2.0-unknown-linux-gnu-gcc 
-B/home/sam/git/binutils-gdb/ld/tmpdir/ld/  -fno-lto 
-L/usr/local/hppa2.0-unknown-linux-gnu/lib -L/usr/local/lib -L/lib -L/usr/lib 
-o tmpdir/alias.so --shared -Wl,--no-as-needed tmpdir/alias.o 2>&1}  /dev/null
ld.tmp (timeout = 300)
spawn [open ...]
hppa2.0-unknown-linux-gnu-gcc  -B/home/sam/git/binutils-gdb/ld/tmpdir/ld/
-I/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak -g -O2 -fno-sanitize=all
-fno-lto   -fno-lto -c
/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak/aliasmain.c -o
tmpdir/aliasmain.o
Executing on host: sh -c {hppa2.0-unknown-linux-gnu-gcc 
-B/home/sam/git/binutils-gdb/ld/tmpdir/ld/
-I/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak -g -O2 -fno-sanitize=all
-fno-lto   -fno-lto -c
/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak/aliasmain.c -o
tmpdir/aliasmain.o 2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
hppa2.0-unknown-linux-gnu-gcc  -B/home/sam/git/binutils-gdb/ld/tmpdir/ld/
-I/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak -g -O2 -fno-sanitize=all
-fno-lto   -fno-lto -c
/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak/weakref1.c -o
tmpdir/weakref1.o
Executing on host: sh -c {hppa2.0-unknown-linux-gnu-gcc 
-B/home/sam/git/binutils-gdb/ld/tmpdir/ld/
-I/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak -g -O2 -fno-sanitize=all
-fno-lto   -fno-lto -c
/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak/weakref1.c -o
tmpdir/weakref1.o 2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
hppa2.0-unknown-linux-gnu-gcc  -B/home/sam/git/binutils-gdb/ld/tmpdir/ld/
-I/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak -g -O2 -fno-sanitize=all
-fno-lto   -fno-lto -c
/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak/weakref2.c -o
tmpdir/weakref2.o
Executing on host: sh -c {hppa2.0-unknown-linux-gnu-gcc 
-B/home/sam/git/binutils-gdb/ld/tmpdir/ld/
-I/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak -g -O2 -fno-sanitize=all
-fno-lto   -fno-lto -c
/home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak/weakref2.c -o
tmpdir/weakref2.o 2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
hppa2.0-unknown-linux-gnu-gcc -B/home/sam/git/binutils-gdb/ld/tmpdir/ld/  
-L/usr/local/hppa2.0-unknown-linux-gnu/lib -L/usr/local/lib -L/lib -L/usr/lib 
-o tmpdir/alias -Wl,-rpath=.,--no-as-needed -fno-sanitize=all -fno-lto 
tmpdir/aliasmain.o tmpdir/weakref1.o tmpdir/weakref2.o tmpdir/alias.so
Executing on host: sh -c {hppa2.0-unknown-linux-gnu-gcc
-B/home/sam/git/binutils-gdb/ld/tmpdir/ld/  
-L/usr/local/hppa2.0-unknown-linux-gnu/lib -L/usr/local/lib -L/lib -L/usr/lib 
-o tmpdir/alias -Wl,-rpath=.,--no-as-needed -fno-sanitize=all -fno-lto 
tmpdir/aliasmain.o tmpdir/weakref1.o tmpdir/weakref2.o tmpdir/alias.so 2>&1} 
/dev/null ld.tmp (timeout = 300)
spawn [open ...]
tmpdir/alias >tmpdir/alias.out
child killed: segmentation violation
FAIL: ELF weak (alias)
```

Backtrace from running it manually:
```
Program received signal SIGSEGV, Segmentation fault.
0x41000600 in printf (__fmt=0x41000950 "value via psym1: %d, via psym2: %d,
strong %d\n") at /usr/include/bits/stdio2.h:86
86return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack
());
(gdb) bt
#0  0x41000600 in printf (__fmt=0x41000950 "value via psym1: %d, via psym2: %d,
strong %d\n") at /usr/include/bits/stdio2.h:86
#1  main () at /home/sam/git/binutils-gdb/ld/testsuite/ld-elfweak/aliasmain.c:9
(gdb)
```

I've 

[Bug ld/30724] cygwin ld performance regression since 014a602b86

2023-08-07 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30724

--- Comment #9 from Alan Modra  ---
(In reply to Achim from comment #7)
> is that on Git somewhere?  I can run a tests with it
> the upcoming weekend most likely.
No, the patch is not upstream anywhere yet, I'll wait for someone to test it on
cygwin before committing.  It applies with "git am" to either binutils master
or binutils-2_41-branch.

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


[Bug ld/30724] cygwin ld performance regression since 014a602b86

2023-08-07 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30724

Alan Modra  changed:

   What|Removed |Added

  Attachment #15045|0   |1
is obsolete||

--- Comment #8 from Alan Modra  ---
Created attachment 15046
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15046=edit
revised patch

(In reply to Hannes Domani from comment #6)
> Because last_io is never set to bfd_io_read or bfd_io_write.
Oops, yes, there needs to be an obvious fix..

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


[Bug gprofng/30700] tmpdir/gp-collect-app_F test fails

2023-08-07 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=30700

--- Comment #13 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Vladimir Mezentsev
:

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

commit e0282cf1284b4d358892427a6b4f60d6f4c0580b
Author: Vladimir Mezentsev 
Date:   Thu Aug 3 12:56:54 2023 -0700

gprofng: 30700 tmpdir/gp-collect-app_F test fails

gprofng/ChangeLog
2023-08-03  Vladimir Mezentsev  

PR gprofng/30700
* testsuite/gprofng.display/gp-collect-app_F.exp: Fix -name
argument
for sub-experiment filtering.

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


[Bug ld/30724] cygwin ld performance regression since 014a602b86

2023-08-07 Thread Stromeko at nexgo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=30724

--- Comment #7 from Achim  ---
That patch certainly looks more thorough than just reverting the change that
caused the regression… is that on Git somewhere?  I can run a tests with it the
upcoming weekend most likely.

Btw, Cygwin and MinGW are two completely different things except for the
executasble format.

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


[Bug binutils/30702] objcopy and strip invalidate the effect of ld option --no-insert-timestamp

2023-08-07 Thread jon.turney at dronecode dot org.uk
https://sourceware.org/bugzilla/show_bug.cgi?id=30702

Jon Turney  changed:

   What|Removed |Added

 CC||jon.turney at dronecode dot 
org.uk

--- Comment #3 from Jon Turney  ---
I think for reproducible builds, we should really be doing whatever MS LINK's
/Brepro flag does, which I believe is:

* Add a IMAGE_DEBUG_TYPE_REPRO entry to the debug directory
* Use a hash value for the "timestamp"

I wrote some support for objdump to show these in [1], but skated out of the
hard work of creating them.

See https://sourceware.org/bugzilla/show_bug.cgi?id=16887 for why setting
timestamps to zero should perhaps be approached with caution.

[1] https://sourceware.org/pipermail/binutils/2020-January/109656.html

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


[Bug ld/30724] cygwin ld performance regression since 014a602b86

2023-08-07 Thread ssbssa at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30724

--- Comment #6 from Hannes Domani  ---
(In reply to Alan Modra from comment #5)
> Created attachment 15045 [details]
> reinstate seek optimisation

Ist that the full patch?
Because last_io is never set to bfd_io_read or bfd_io_write.

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


[Bug ld/14512] -z nodelete should be default for shared libraries

2023-08-07 Thread fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=14512

Florian Weimer  changed:

   What|Removed |Added

 CC||fweimer at redhat dot com

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


[Bug ld/13141] Confusing error message with --no-copy-dt-needed-entries

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13141

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/14826] ld flag --as-needed do not remove extra link

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=14826

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/14603] no reloc emitted for ld generated veneers for ARM

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=14603

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/14512] -z nodelete should be default for shared libraries

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=14512

Sam James  changed:

   What|Removed |Added

   See Also||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=14511

--- Comment #1 from Sam James  ---
This came up in Qualys' recent OpenSSH writeup:
https://www.qualys.com/2023/07/19/cve-2023-38408/rce-openssh-forwarded-ssh-agent.txt.

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


[Bug ld/14512] -z nodelete should be default for shared libraries

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=14512

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/14424] support for "identical code folding"

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=14424

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/27230] ld: Add DWARF v5 sections and .debug_types to ld/scripttempl/DWARF.sc

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27230

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/27259] ld: Support SHF_LINK_ORDER self-link

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27259

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/26105] PROTECTED in executable

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26105

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/29656] Weak link symbol results in incorrect address resulting in segfault

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29656

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/30002] pr26391-5, pr26391-6 ld test failures on sparc64-unknown-linux-gnu since 496afd17055aeb7d8f45e01715c475664f2b73bd

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30002

Sam James  changed:

   What|Removed |Added

   Target Milestone|--- |2.41
 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #18 from Sam James  ---
And thus fixed. Thank you!

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


[Bug ld/26551] A definition referenced by an unneeded (--as-needed) shared object should be exported

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26551

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug binutils/14435] use -fvisibility=hidden

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=14435

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug binutils/21739] Inconsistent diagnostics

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21739

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug binutils/5546] add functionality to modify DT tags in ELF ways to binutils

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=5546

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug binutils/21479] strip doesn't handle lto archives

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21479

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug binutils/23401] binary size increases for ARM between 2.29.1 and 2.30

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23401

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug binutils/24319] Compressed / uncompressed debug info confusion in BFD

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24319

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug binutils/24400] ia64: binutils regression leads to gcc stage2/stage3 compare failure

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24400

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug binutils/28698] objdump is very slow in some cases

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28698

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug binutils/24768] Stop using __gnu_lto_slim symbol as a detection of a slim LTO object

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24768

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug binutils/28035] objcopy/strip: Don't convert SHT_REL to SHT_RELA

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28035

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug binutils/29785] memory bloat in version 2.39

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29785

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug binutils/16177] R_ARM_COPY reloc generated for reference in writable section

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=16177

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug binutils/30016] strip/objcopy should do atomic renames

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30016

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/26119] ld: Support --reproduce

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26119

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/28243] ld: Assigning a non-default symbol to a different version node should warn

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28243

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/12291] "ld -r" doesn't work with mixed IR/non-IR objects

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=12291

Sam James  changed:

   What|Removed |Added

   See Also||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=27122

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


[Bug ld/22831] ld causes massive thrashing if object files are not fully memory-resident: new algorithm needed

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22831

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/28045] add --warn-uncaught-exceptions to linker

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28045

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/18652] --no-allow-shlib-undefined affects loading of DT_NEEDED shared libraries

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=18652

Sam James  changed:

   What|Removed |Added

   See Also||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=26551
 CC||sam at gentoo dot org

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


[Bug ld/27122] ld -r does not complain about LTO/non-LTO mix and silently produces invalid object files.

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27122

Sam James  changed:

   What|Removed |Added

   See Also||https://github.com/gentoo-h
   ||askell/gentoo-haskell/issue
   ||s/1110,
   ||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=12291

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


[Bug ld/26925] x86/ld: Performance regression with execl()

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26925

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/26551] A definition referenced by an unneeded (--as-needed) shared object should be exported

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26551

Sam James  changed:

   What|Removed |Added

   See Also||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=18652

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


[Bug ld/26622] Support --gc-sections for SHF_MERGE sections

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26622

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/27122] ld -r does not complain about LTO/non-LTO mix and silently produces invalid object files.

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27122

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/26781] ld: Suggest alternative spelling for "undefined reference" diagnostics

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26781

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug gold/19392] Second PT_LOAD starts before the first section in some cases

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19392

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/24490] -z max-page-size=0x200000 -z separate-code creates huge binary

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24490

Sam James  changed:

   What|Removed |Added

   See Also||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=30612

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


[Bug ld/30612] maxpagesize alignment after relro segment takes up space

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30612

Sam James  changed:

   What|Removed |Added

   See Also||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=24490

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


[Bug ld/24490] -z max-page-size=0x200000 -z separate-code creates huge binary

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24490

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/30612] maxpagesize alignment after relro segment takes up space

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30612

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org
URL||https://gitlab.alpinelinux.
   ||org/alpine/aports/-/issues/
   ||14126

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


[Bug ld/30612] maxpagesize alignment after relro segment takes up space

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30612

Sam James  changed:

   What|Removed |Added

   See Also||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=28824

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


[Bug ld/28824] relro security issues

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28824

Sam James  changed:

   What|Removed |Added

   See Also||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=30612

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