https://sourceware.org/bugzilla/show_bug.cgi?id=33470
--- Comment #23 from Alan Modra ---
(In reply to H.J. Lu from comment #22)
> Created attachment 16386 [details]
> The v5 patch set to build binutils with clang LTO
>
> I built binutils and GDB with clang LTO on Fedora 42 and Ubuntu 24.04.
Yo
https://sourceware.org/bugzilla/show_bug.cgi?id=33470
--- Comment #16 from Alan Modra ---
Re the v2 patch. Yes GCC_PLUGIN_OPTION is not in libtool.m4, but see
m4_defun([_LT_CMD_OLD_ARCHIVE],
[plugin_option=
plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
for plugin in $pl
https://sourceware.org/bugzilla/show_bug.cgi?id=33470
--- Comment #18 from Alan Modra ---
I have these review comments on the patch.
Was commit 268533381f80 for people who build libiberty stand-alone? Otherwise
it doesn't seem to be needed, and might be reverted rather than applying
further cha
https://sourceware.org/bugzilla/show_bug.cgi?id=33470
--- Comment #17 from Alan Modra ---
v3 looks good here.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=33470
--- Comment #8 from Alan Modra ---
(In reply to H.J. Lu from comment #6)
> Created attachment 16368 [details]
> A patch to build binutils with clang and LTO
Thanks for looking into this, but it doesn't work for me. After applying your
patch
https://sourceware.org/bugzilla/show_bug.cgi?id=33470
--- Comment #9 from Alan Modra ---
oss-fuzz for binutils is also failing to build due to a similar problem in
choosing a gcc plugin rather than a clang plugin:
Step #3 - "compile-afl-address-x86_64": ranlib --plugin
/usr/lib/gcc/x86_64-linux-
: binutils
Assignee: unassigned at sourceware dot org
Reporter: amodra at gmail dot com
Target Milestone: ---
On an x86_64-linux host
CC="clang" \
CXX="clang++" \
CFLAGS="-O2 -g -flto" \
CXXFLAGS="-O2 -g -flto" \
~/src/binutils-gdb/config
https://sourceware.org/bugzilla/show_bug.cgi?id=33385
Alan Modra changed:
What|Removed |Added
Target Milestone|--- |2.46
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=33406
Alan Modra changed:
What|Removed |Added
Target Milestone|--- |2.46
--
You are receiving this mail bec
https://sourceware.org/bugzilla/show_bug.cgi?id=33406
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
at sourceware dot org |amodra at gmail dot com
Ever confirmed|0 |1
Last reconfirmed||2025-09-09
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=33389
Alan Modra changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
https://sourceware.org/bugzilla/show_bug.cgi?id=33385
Alan Modra changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
Ever
: binutils
Assignee: unassigned at sourceware dot org
Reporter: amodra at gmail dot com
Target Milestone: ---
(gdb) set disassembler-options ppc,book,any
Invalid disassembler option value: 'book,any'.
and
objdump -Mppc,book,any -d ...
warning: ignoring unknown -Mbook,any opt
https://sourceware.org/bugzilla/show_bug.cgi?id=33360
Alan Modra changed:
What|Removed |Added
Target Milestone|--- |2.46
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=33302
Alan Modra changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
at sourceware dot org |amodra at gmail dot com
Last reconfirmed||2025-08-22
Ever confirmed|0 |1
--- Comment #2 from Alan Modra ---
I don't think the patch is correct. There is non-PE COFF support that uses the
header. I'
https://sourceware.org/bugzilla/show_bug.cgi?id=33246
Alan Modra changed:
What|Removed |Added
Status|WAITING |ASSIGNED
--- Comment #31 from Alan Modra
https://sourceware.org/bugzilla/show_bug.cgi?id=30874
Alan Modra changed:
What|Removed |Added
Resolution|--- |OBSOLETE
Status|WAITING
https://sourceware.org/bugzilla/show_bug.cgi?id=33244
Alan Modra changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
||2025-08-02
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
Ever confirmed|0 |1
--- Comment #2 from Alan Modra ---
(In reply to Hannes Domani from comment #1)
> but there is actually code in there that expects key=N
https://sourceware.org/bugzilla/show_bug.cgi?id=33230
Alan Modra changed:
What|Removed |Added
CC||amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33230
Alan Modra changed:
What|Removed |Added
CC||udo at hypervisor dot org
--- Comment #2
https://sourceware.org/bugzilla/show_bug.cgi?id=33232
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=33229
Alan Modra changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
||2025-07-29
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
Ever confirmed|0 |1
--- Comment #1 from Alan Modra ---
Created attachment 16209
--> https://sourceware.org/bugzilla/attachment.cgi?id=16209&acti
https://sourceware.org/bugzilla/show_bug.cgi?id=33223
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Target Milestone|---
https://sourceware.org/bugzilla/show_bug.cgi?id=33223
Alan Modra changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
Ever
https://sourceware.org/bugzilla/show_bug.cgi?id=33214
Alan Modra changed:
What|Removed |Added
Target Milestone|--- |2.46
Status|ASSIGNED
https://sourceware.org/bugzilla/show_bug.cgi?id=33214
--- Comment #2 from Alan Modra ---
Created attachment 16203
--> https://sourceware.org/bugzilla/attachment.cgi?id=16203&action=edit
proposed fix
Tested on linux.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=33214
Alan Modra changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
at sourceware dot org |amodra at gmail dot com
Target Milestone|--- |2.46
Resolution|--- |FIXED
--- Comment #3 from Alan Modra ---
Fixed for 2.46
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=33210
--- Comment #1 from Alan Modra ---
*** Bug 33211 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=33211
Alan Modra changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=33197
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://sourceware.org/bugzilla/show_bug.cgi?id=33197
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
https://sourceware.org/bugzilla/show_bug.cgi?id=33197
Alan Modra changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33197
--- Comment #1 from Alan Modra ---
Odd. What shell are you using? At least with bash the backslash is needed, I
assume because the quotes are inside ${RELOCATING+} and the shell expands
the word in ${parameter+word}.
--
You are receivi
https://sourceware.org/bugzilla/show_bug.cgi?id=33193
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=33086
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=22085
Alan Modra changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=33020
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
redhat dot com|amodra at gmail dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=33020
Alan Modra changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
|--- |2.45
Resolution|--- |FIXED
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
--- Comment #2 from Alan Modra ---
Fixed for 2.45
--
You are receiving this mail because:
You are on the CC list for the bug.
|--- |FIXED
Target Milestone|--- |2.45
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
--- Comment #2 from Alan Modra ---
Fixed for 2.45
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=33029
Alan Modra changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33018
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=33018
Alan Modra changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
--
You
|RESOLVED
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
Target Milestone|--- |2.45
--- Comment #2 from Alan Modra ---
Fixed for 2.45
--
You are receiving this mail because:
You are on the CC list for the bug.
|--- |2.45
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Alan Modra ---
Fixed for 2.45
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=33027
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=33022
Alan Modra changed:
What|Removed |Added
Resolution|--- |MOVED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=33026
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=33028
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=3298
--- Comment #16 from Alan Modra ---
(In reply to Joern Rennecke from comment #11)
> I see we have similar code in coff-sh.c sh_swap_insns.
Yes. That is obviously wrong too. Likely adjusting r_addend isn't the right
thing to do for COFF, we'd
https://sourceware.org/bugzilla/show_bug.cgi?id=32978
Alan Modra changed:
What|Removed |Added
Resolution|--- |MOVED
Status|NEW
https://sourceware.org/bugzilla/show_bug.cgi?id=32944
Alan Modra changed:
What|Removed |Added
Resolution|--- |OBSOLETE
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=32896
Alan Modra changed:
What|Removed |Added
Target Milestone|--- |2.45
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=32896
--- Comment #3 from Alan Modra ---
HJ's patch looks good except that the new test fails for me..
Also the comment needs tweaking. I'd suggest something like:
/* Set sh_offset for .tbss sections to their nominal
|--- |FIXED
Target Milestone|--- |2.45
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
--- Comment #2 from Alan Modra ---
Fixed
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=32858
Alan Modra changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32858
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Target Milestone|---
https://sourceware.org/bugzilla/show_bug.cgi?id=32829
Alan Modra changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=32829
Alan Modra changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25237
--- Comment #18 from Alan Modra ---
BTW, there are multiple existing tests that exercise the hack added for this
pr. One such is ld-elf/tbss1.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=13993
Alan Modra changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
Assignee: unassigned at sourceware dot org
Reporter: amodra at gmail dot com
Target Milestone: ---
I'm seeing the new gprof test copied from glibc fail on x86_64-linux, depending
on compiler and CFLAGS. I haven't fully investigated, but I think the problem
is that glibc
https://sourceware.org/bugzilla/show_bug.cgi?id=32768
--- Comment #9 from Alan Modra ---
The fixed patch you posted to the mailing list works for me. The one attached
here does not due to lack of -O2 when compiling tst-gmon.c
--
You are receiving this mail because:
You are on the CC list for t
https://sourceware.org/bugzilla/show_bug.cgi?id=32768
Alan Modra changed:
What|Removed |Added
Status|WAITING |NEW
--- Comment #8 from Alan Modra ---
https://sourceware.org/bugzilla/show_bug.cgi?id=32768
--- Comment #5 from Alan Modra ---
$ gcc -DHAVE_CONFIG_H -fcf-protection=none -fno-pie -pg -g -O1 -c -o tst-gmon.o
/home/alan/src/binutils-virgin/gprof/testsuite/tst-gmon.c
$ gcc -pg -g -O1 -o tst-gmon nop.o nop.o nop.o nop.o nop.o nop.o nop.o
https://sourceware.org/bugzilla/show_bug.cgi?id=32768
--- Comment #4 from Alan Modra ---
Oh, sorry, the system compiler also needs -fno-pie
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=32768
--- Comment #3 from Alan Modra ---
The compiler was one I built a while ago, (GCC) 15.0.0 20241022. I don't think
it matters very much, you just need to compile to fairly small functions. My
default system gcc Ubuntu 13.3.0-6ubuntu2~24.04 wi
https://sourceware.org/bugzilla/show_bug.cgi?id=32768
Alan Modra changed:
What|Removed |Added
Target||x86_64-linux-gnu
CC|
|RESOLVED
Target Milestone|--- |2.45
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
--- Comment #4 from Alan Modra ---
Fixed
--
You are receiving this mail because:
You are on the CC list for the bug.
sourceware dot org |amodra at gmail dot com
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Alan Modra ---
Fixed for 2.45
--
You are receiving this mail because:
You are on the CC list for the bug.
: gas
Assignee: unassigned at sourceware dot org
Reporter: amodra at gmail dot com
Target Milestone: ---
This one is similar to pr30117 in that fuzzed nonsense can trigger the "know"
in parse_register.
Testcase:
A=%eax%%!
Y=A
Z=A
or $6,Z
--
You are receiving
https://sourceware.org/bugzilla/show_bug.cgi?id=32715
Alan Modra changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=32671
Bug 32671 depends on bug 32715, which changed state.
Bug 32715 Summary: ld-elf/elf.exp fails, when configured with
--disable-default-execstack --enable-warn-rwx-segments
https://sourceware.org/bugzilla/show_bug.cgi?id=32715
What
https://sourceware.org/bugzilla/show_bug.cgi?id=32716
Alan Modra changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
|1
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
at sourceware dot org |amodra at gmail dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=32703
Alan Modra changed:
What|Removed |Added
Target Milestone|--- |2.45
Status|ASSIGNED
https://sourceware.org/bugzilla/show_bug.cgi?id=32703
Alan Modra changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32699
Alan Modra changed:
What|Removed |Added
Resolution|--- |NOTABUG
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=32700
Alan Modra changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=32698
Alan Modra changed:
What|Removed |Added
Target Milestone|--- |2.45
Status|ASSIGNED
https://sourceware.org/bugzilla/show_bug.cgi?id=32710
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
||2025-02-15
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
Status|UNCONFIRMED |ASSIGNED
--- Comment #2 from Alan Modra ---
I typoed an array index.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=32698
Alan Modra changed:
What|Removed |Added
Last reconfirmed||2025-02-15
Ever confirmed|0
https://sourceware.org/bugzilla/show_bug.cgi?id=32698
Alan Modra changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32690
--- Comment #10 from Alan Modra ---
I think HJ's patch is just papering over the real problem, and likely will
result in sections being placed wrongly at the end of the relro segment.
--
You are receiving this mail because:
You are on the CC
https://sourceware.org/bugzilla/show_bug.cgi?id=32586
--- Comment #1 from Alan Modra ---
riscv-dis.c:1444 sets dump_size from riscv_insn_length which looks like it can
be up to 22 bytes. A carefully constructed testcase that gets this value from
riscv_insn_length but then has only 20 bytes in th
https://sourceware.org/bugzilla/show_bug.cgi?id=32664
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
|1
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=32663
Alan Modra changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=32662
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
sourceware dot org |amodra at gmail dot com
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed||2025-02-09
--
You are receiving this mail because:
You are on the CC list for the bug.
|1
Last reconfirmed||2025-02-09
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=32603
Alan Modra changed:
What|Removed |Added
Target Milestone|--- |2.45
Status|ASSIGNED
1 - 100 of 1952 matches
Mail list logo