[Bug libsframe/29856] libsframe asan: load misaligned at sframe.c:516

2022-12-07 Thread indu.bhagat at oracle dot com
|unassigned at sourceware dot org |indu.bhagat at oracle dot com -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libsframe/29856] libsframe asan: load misaligned at sframe.c:516

2022-12-07 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29856 --- Comment #1 from Indu Bhagat --- Thanks for the report. The misaligned load here is for access to an element in the in-memory abstraction provided by libsframe (namely struct sframe_frame_row_entry). Now there are ways to resolve that (e.g.

[Bug libsframe/30014] FTBFS: install-strip fails because bfdlib relinks and fails to find libsframe

2023-01-17 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30014 --- Comment #1 from Indu Bhagat --- Created attachment 14605 --> https://sourceware.org/bugzilla/attachment.cgi?id=14605&action=edit Proposed fix for pr 30014 Proposed fix. Will test this patch on my end. -- You are receiving this mail be

[Bug libsframe/30014] FTBFS: install-strip fails because bfdlib relinks and fails to find libsframe

2023-01-17 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30014 --- Comment #2 from Indu Bhagat --- Thanks for reporting this issue and providing all the details. Very helpful. The issue seems to be that the applicable dependency (install-strip-bfd: maybe-install-strip-libsframe) was missing. As for libt

[Bug libsframe/30014] FTBFS: install-strip fails because bfdlib relinks and fails to find libsframe

2023-01-18 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30014 Indu Bhagat changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libsframe/30588] please make --disable-libsframe work

2023-06-26 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30588 --- Comment #1 from Indu Bhagat --- What is the incentive to support --disable-libsframe ? Currently, the GNU ld, objdump, readelf use libsframe to read/write/dump SFrame data. Thinking aloud about this would imply. The SFrame section (.sfra

[Bug libsframe/30588] please make --disable-libsframe work

2023-06-26 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30588 --- Comment #3 from Indu Bhagat --- (In reply to Tom Tromey from comment #2) > (In reply to Indu Bhagat from comment #1) > > What is the incentive to support --disable-libsframe ? > > I have no need for it. > > libsframe has a source depende

[Bug libsframe/31108] combined binutils+gcc build fails to install (libbfd installed before libsframe)

2023-12-01 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31108 --- Comment #4 from Indu Bhagat --- Yes, the toplevel Makefile.* in GCC will need the install-* dependencies in GCC 13.2.0. The original commit https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3de627ffe4b51b3d82acdb5fb04c189978697832 chose to sk

[Bug gas/31213] New: gas: add diagnostic when skipping CFI directives for SFrame generation

2024-01-04 Thread indu.bhagat at oracle dot com
: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: indu.bhagat at oracle dot com Target Milestone: --- When the user specifies --gsframe, GAS consumes the .cfi_* directives to generate the SFrame stack trace information

[Bug gas/31213] gas: add diagnostic when skipping CFI directives for SFrame generation

2024-01-04 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31213 Indu Bhagat changed: What|Removed |Added Assignee|unassigned at sourceware dot org |indu.bhagat at oracle dot com

[Bug gas/31213] gas: add diagnostic when skipping CFI directives for SFrame generation

2024-01-10 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31213 Indu Bhagat changed: What|Removed |Added Priority|P2 |P3 -- You are receiving this mail beca

[Bug ld/30914] ld: "SFrame simple link" test fails on x86_64-linux-musl due to PC offset

2024-01-22 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30914 Indu Bhagat changed: What|Removed |Added CC||indu.bhagat at oracle dot com

[Bug libsframe/31108] combined binutils+gcc build fails to install (libbfd installed before libsframe)

2024-01-22 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31108 --- Comment #5 from Indu Bhagat --- I proposed a backport at gcc-patches mailing list https://gcc.gnu.org/pipermail/gcc-patches/2023-December/639444.html -- You are receiving this mail because: You are on the CC list for the bug.

[Bug gas/31284] scfi: untraceable control flow should be a hard error

2024-01-23 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31284 Indu Bhagat changed: What|Removed |Added Assignee|unassigned at sourceware dot org |indu.bhagat at oracle dot com

[Bug gas/31284] New: scfi: untraceable control flow should be a hard error

2024-01-23 Thread indu.bhagat at oracle dot com
Component: gas Assignee: unassigned at sourceware dot org Reporter: indu.bhagat at oracle dot com Target Milestone: --- Currently, if an indirect jump is seen, GCFG (a CFG of ginsns) cannot be created. GCFG creation is necessary for SCFI (invoked via --scfi=experimental on

[Bug gas/31284] scfi: untraceable control flow should be a hard error

2024-01-23 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31284 Indu Bhagat changed: What|Removed |Added Priority|P2 |P3 -- You are receiving this mail beca

[Bug gas/31326] New: SCFI must handle non QWORD ALU with imm and MOV ops correctly

2024-02-01 Thread indu.bhagat at oracle dot com
Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: indu.bhagat at oracle dot com Target Milestone: --- As per the x86 ISA manual: - 32-bit operands generate a 32-bit result, zero-extended to a 64-bit result in the destination

[Bug gas/31326] SCFI must handle non QWORD ALU with imm and MOV ops correctly

2024-02-01 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31326 Indu Bhagat changed: What|Removed |Added Assignee|unassigned at sourceware dot org |indu.bhagat at oracle dot com

[Bug libsframe/30014] FTBFS: install-strip fails because bfdlib relinks and fails to find libsframe

2024-04-18 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30014 Indu Bhagat changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libsframe/31108] combined binutils+gcc build fails to install (libbfd installed before libsframe)

2024-04-18 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31108 Indu Bhagat changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug gas/31654] gas: Bad SFrame information when assembling with listing

2024-04-25 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31654 --- Comment #2 from Indu Bhagat --- This is repeatable on other arches too using binutils-gdb master. One aarch64: $ cat test.s .cfi_startproc .long 0 .cfi_def_cfa_offset 8 .long 0 .cfi_rel_offset 29,

[Bug gas/31213] gas: add diagnostic when skipping CFI directives for SFrame generation

2024-07-21 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31213 --- Comment #2 from Indu Bhagat --- Further improvements in the diagnostics issued when skipping SFrame FDE generation were done recently: https://sourceware.org/pipermail/binutils/2024-June/135056.html -- You are receiving this mail because

[Bug gas/31213] gas: add diagnostic when skipping CFI directives for SFrame generation

2024-07-21 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31213 Indu Bhagat changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug gas/31284] scfi: untraceable control flow should be a hard error

2024-07-21 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31284 Indu Bhagat changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libctf/32161] CTF array dimensions dumped backwards

2024-09-10 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32161 Indu Bhagat changed: What|Removed |Added CC||indu.bhagat at oracle dot com -- You

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

2024-10-21 Thread indu.bhagat at oracle dot com
Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: indu.bhagat at oracle dot com Target Milestone: --- On an IBT enabled system, a user reported the following failure: # cat test-noop.c int main() {} # gcc -O2 -Wa,-gsframe -o test-noop test

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

2024-10-21 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32297 --- Comment #1 from Indu Bhagat --- A hand-crafted reproducer: $ cat bar.c void foo(); unsigned long var; void test () { var = (unsigned long)foo; foo (); } $ cat foo.s .globl foo foo: .section.note.GNU-stack,"",@progbits $ gc

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

2024-10-21 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32296 Indu Bhagat changed: What|Removed |Added Assignee|unassigned at sourceware dot org |indu.bhagat at oracle dot com

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

2024-10-21 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32297 Indu Bhagat changed: What|Removed |Added Assignee|unassigned at sourceware dot org |indu.bhagat at oracle dot com

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

2024-10-21 Thread indu.bhagat at oracle dot com
Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: indu.bhagat at oracle dot com Target Milestone: --- $ cat foo.s .text .p2align 4 .globl bar .type bar, @function bar: .cfi_startproc

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

2024-11-02 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32296 --- Comment #1 from Indu Bhagat --- Committed fix https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=938fb512184d90d24b86c42ef53ef33c943cbe8b Fri, 1 Nov 2024 22:36:03 + (15:36 -0700) commit 938fb512184d90d24b86c42ef53ef33c943cbe8b

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

2024-11-02 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32297 --- Comment #2 from Indu Bhagat --- https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=1785837a25709721358dab9ee16bbfee74f5f4d1 Fri, 1 Nov 2024 22:26:13 + (15:26 -0700) commit 1785837a25709721358dab9ee16bbfee74f5f4d1 ld: fix PR/3

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

2024-11-02 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32298 --- Comment #1 from Indu Bhagat --- https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=47c88752f9adf3815566ae52731867a3bb87b044 Fri, 1 Nov 2024 22:36:35 + (15:36 -0700) commit 47c88752f9adf3815566ae52731867a3bb87b044 ld: generate

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

2024-10-23 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32298 Indu Bhagat changed: What|Removed |Added Assignee|unassigned at sourceware dot org |indu.bhagat at oracle dot com

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

2024-10-23 Thread indu.bhagat at oracle dot com
Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: indu.bhagat at oracle dot com Target Milestone: --- The linker currently does not generate any SFrame stack trace information for the .plt.got sections. There is SFrame information for other

[Bug gas/32187] scfi: allow reg-based sp update pattern

2024-09-18 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32187 Indu Bhagat changed: What|Removed |Added Assignee|unassigned at sourceware dot org |indu.bhagat at oracle dot com

[Bug gas/32187] New: scfi: allow reg-based sp update pattern

2024-09-18 Thread indu.bhagat at oracle dot com
Assignee: unassigned at sourceware dot org Reporter: indu.bhagat at oracle dot com Target Milestone: --- In aarch64, the following code pattern may be used for managing stack statically: mov x16, IMM add sp, sp, x16 Currently, when using --scfi=experimental, the above

[Bug libsframe/32589] New: function start address is zero in SFrame section dump

2025-01-23 Thread indu.bhagat at oracle dot com
Component: libsframe Assignee: indu.bhagat at oracle dot com Reporter: indu.bhagat at oracle dot com Target Milestone: --- It will be useful for readelf / objdump to display the appropriate function start address (see pc = 0x0, and the PC of the first FRE) in the SFrame

[Bug gas/31654] gas: Bad SFrame information when assembling with listing

2025-01-23 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31654 Indu Bhagat changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libsframe/32589] function start address is zero in SFrame section dump

2025-01-23 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32589 Indu Bhagat changed: What|Removed |Added Status|NEW |ASSIGNED -- You are receiving this mai

[Bug libsframe/32589] function start address is zero in SFrame section dump

2025-01-27 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32589 --- Comment #1 from Indu Bhagat --- Currently the section contents are not relocated before textual dump. Hence the value 0. $ readelf -r file.o Relocation section '.rela.sframe' at offset 0x8728 contains 3 entries: Offset Info

[Bug ld/32666] Incorrect .rela.sframe when using ld -r

2025-02-08 Thread indu.bhagat at oracle dot com
|UNCONFIRMED |NEW Ever confirmed|0 |1 CC||indu.bhagat at oracle dot com -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/32666] Incorrect .rela.sframe when using ld -r

2025-02-12 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32666 --- Comment #2 from Indu Bhagat --- Confirmed. In presence of bad offsets, relocating SFrame sections with bad .rela.sframe will result in bad data in the SFrame section. The issue is that with relocatable link, we need to manually adjust (i

[Bug gas/32613] .cfi_escape usability

2025-02-14 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32613 Indu Bhagat changed: What|Removed |Added CC||indu.bhagat at oracle dot com

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

2025-03-07 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32297 --- Comment #3 from Indu Bhagat --- Fixed in 2.44 -- You are receiving this mail because: You are on the CC list for the bug.

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

2025-03-07 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32298 --- Comment #2 from Indu Bhagat --- Fixed in 2.44 -- You are receiving this mail because: You are on the CC list for the bug.

[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|---

[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/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/32769] New: ld: SFrame sections get deleted with --gc-sections

2025-03-08 Thread indu.bhagat at oracle dot com
Component: ld Assignee: unassigned at sourceware dot org Reporter: indu.bhagat at oracle dot com Target Milestone: --- $ cat gc-section.s .text .globl foo .type foo, @function foo: .cfi_startproc ret .cfi_endproc .size

[Bug libsframe/32589] function start address is zero in SFrame section dump

2025-03-09 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32589 --- Comment #2 from Indu Bhagat --- Proposed fix for this issue together with PR ld/32666 https://sourceware.org/pipermail/binutils/2025-March/139853.html -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/32666] Incorrect .rela.sframe when using ld -r

2025-03-09 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32666 --- Comment #3 from Indu Bhagat --- Proposed fix for this issue together with PR libsframe/32589 https://sourceware.org/pipermail/binutils/2025-March/139853.html -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libsframe/32589] function start address is zero in SFrame section dump

2025-03-09 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32589 Indu Bhagat changed: What|Removed |Added CC||wnliu at google dot com -- You are rec