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
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
https://sourceware.org/bugzilla/show_bug.cgi?id=32772
Sam James changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
--- Co
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 `_
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
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
https://sourceware.org/bugzilla/show_bug.cgi?id=31100
Sam James changed:
What|Removed |Added
Status|NEW |WAITING
--- Comment #7 from Sam James --
https://sourceware.org/bugzilla/show_bug.cgi?id=32499
Sam James changed:
What|Removed |Added
Status|NEW |RESOLVED
Target Milestone|---
https://sourceware.org/bugzilla/show_bug.cgi?id=32675
LIU Hao changed:
What|Removed |Added
Attachment #15990|0 |1
is obsolete|
https://sourceware.org/bugzilla/show_bug.cgi?id=13993
Alan Modra changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=32768
H.J. Lu changed:
What|Removed |Added
Status|NEW |RESOLVED
Target Milestone|---
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
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
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 #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:
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
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=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
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.
https://sourceware.org/bugzilla/show_bug.cgi?id=32297
Indu Bhagat changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=32298
Indu Bhagat changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=32296
Indu Bhagat changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
25 matches
Mail list logo