[Bug ld/32772] bfd crash in riscv_elf_relocate_section when linking GCC on riscv

2025-03-08 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32772 --- Comment #4 from Sourceware Commits --- The master branch has been updated by Nelson Chu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=512316811d47d689d75d25aa9d5b98bdafd64df6 commit 512316811d47d689d75d25aa9d5b98bdafd64df6

[Bug ld/32772] bfd crash in riscv_elf_relocate_section when linking GCC on riscv

2025-03-08 Thread nelsonc1225 at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32772 --- Comment #5 from Nelson Chu --- Thanks for that reduced failure attached :-) I get the follows after applying the fix, $ riscv64-unknown-linux-gnu-ld lto-wrapper.o libcommon-target.a libcommon.a libcpp.a libstdc++.a -shared riscv64-unknow

[Bug ld/32772] bfd crash in riscv_elf_relocate_section when linking GCC on riscv

2025-03-08 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32772 Sam James changed: What|Removed |Added CC||nelsonc1225 at sourceware dot org --- Co

[Bug ld/32772] bfd crash in riscv_elf_relocate_section when linking GCC on riscv

2025-03-08 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32772 --- Comment #1 from Sam James --- Tarball: https://dev.gentoo.org/~sam/bugs/sourceware/32772/binutils-32772.tar.xz ``` $ ld lto-wrapper.o libcommon-target.a libcommon.a libcpp.a libstdc++.a -shared ld: libcommon-target.a(vec.o): in function `_

[Bug ld/32772] bfd crash in riscv_elf_relocate_section when linking GCC on riscv

2025-03-08 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32772 --- Comment #2 from Sam James --- ``` Program received signal SIGSEGV, Segmentation fault. riscv_elf_relocate_section (output_bfd=output_bfd@entry=0x55855df0, info=0x5584e7f8 , input_bfd=input_bfd@entry=0x562e7fb0, input_secti

[Bug ld/32772] New: bfd crash in riscv_elf_relocate_section when linking GCC on riscv

2025-03-08 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32772 Bug ID: 32772 Summary: bfd crash in riscv_elf_relocate_section when linking GCC on riscv Product: binutils Version: 2.45 (HEAD) Status: NEW Severity: normal

[Bug ld/31100] [2.42 Regression] pr18841 test failures on riscv64-linux-gnu

2025-03-08 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31100 Sam James changed: What|Removed |Added Status|NEW |WAITING --- Comment #7 from Sam James --

[Bug ld/32499] pr18841 test failure on riscv64-unknown-linux-gnu

2025-03-08 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32499 Sam James changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug ld/32675] Wine binaries built with binutils 2.44 no longer run

2025-03-08 Thread lh_mouse at 126 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32675 LIU Hao changed: What|Removed |Added Attachment #15990|0 |1 is obsolete|

[Bug gprof/13993] gprof failed to accumulate hist time

2025-03-08 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=13993 Alan Modra changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gprof/32768] tst-gmon failure on x86_64

2025-03-08 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32768 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug gprof/32768] New: tst-gmon failure on x86_64

2025-03-08 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32768 Bug ID: 32768 Summary: tst-gmon failure on x86_64 Product: binutils Version: 2.45 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gprof

[Bug gprof/32768] tst-gmon failure on x86_64

2025-03-08 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32768 --- Comment #10 from Sourceware Commits --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1563d43f32090495d50f0c262d6e1bcc17807064 commit 1563d43f32090495d50f0c262d6e1bcc17807064 A

[Bug gprof/32768] tst-gmon failure on x86_64

2025-03-08 Thread amodra at gmail dot com
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

[Bug gprof/32768] tst-gmon failure on x86_64

2025-03-08 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32768 Alan Modra changed: What|Removed |Added Status|WAITING |NEW --- Comment #8 from Alan Modra ---

[Bug gprof/32768] tst-gmon failure on x86_64

2025-03-08 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32768 --- Comment #7 from H.J. Lu --- (In reply to Alan Modra from comment #0) > Disassembly of f1 and f2 shows the expected calls are there, it's just > that gprof miscategorises the f2->f1 call as f1->f1. > > 00401196 : > 401196:

[Bug gprof/32768] tst-gmon failure on x86_64

2025-03-08 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32768 H.J. Lu changed: What|Removed |Added Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot com

[Bug gprof/32768] tst-gmon failure on x86_64

2025-03-08 Thread amodra at gmail dot com
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

[Bug gprof/32768] tst-gmon failure on x86_64

2025-03-08 Thread amodra at gmail dot com
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.

[Bug gprof/32768] tst-gmon failure on x86_64

2025-03-08 Thread amodra at gmail dot com
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

[Bug ld/32769] New: ld: SFrame sections get deleted with --gc-sections

2025-03-08 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32769 Bug ID: 32769 Summary: ld: SFrame sections get deleted with --gc-sections Product: binutils Version: 2.45 (HEAD) Status: NEW Severity: normal Priority: P2 Com

[Bug gprof/32768] tst-gmon failure on x86_64

2025-03-08 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32768 --- Comment #2 from Andreas Schwab --- That's because _gmonparam.froms is an array of unsigned long. It used to be unsigned short in the orignal gmon implementation. But even the BSD implementation assumes a function alignment of 4 for x86.

[Bug ld/32297] sframe: bfd assertion with empty main on IBT enabled system

2025-03-08 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32297 Indu Bhagat changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/32298] sframe: no SFrame stack trace info generated for .plt.got

2025-03-08 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32298 Indu Bhagat changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/32296] sframe: wrong SFrame info for pltN and .plt.sec for -z ibtplt

2025-03-08 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32296 Indu Bhagat changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---