[Bug ld/18028] 32-bit ld runs out of memory when linking 32-bit clang with debug info

2025-05-13 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=18028 Sam James changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug ld/32546] ld tests failing with -std=gnu23 default

2025-05-13 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32546 Sam James changed: What|Removed |Added See Also||https://sourceware.org/bugz

[Bug ld/32546] ld tests failing with -std=gnu23 default

2025-05-13 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32546 --- Comment #3 from Sourceware Commits --- The master branch has been updated by Sam James : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6ebd38072de4a77a2d28f04a79b64ab570532e98 commit 6ebd38072de4a77a2d28f04a79b64ab570532e98

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32443 --- Comment #8 from H.J. Lu --- (In reply to H.J. Lu from comment #7) > (In reply to Stephen Kell from comment #5) > > > When compiler sees a hidden undefined symbol, it assumes that > > > it is defined somewhere else and it isn't an ABS symbo

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

2025-05-13 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21479 --- Comment #15 from Sam James --- I noticed earlier: ``` Executing on host: sh -c {x86_64-pc-linux-gnu-gcc -B/var/tmp/portage/sys-devel/binutils-/work/build/ld/tmpdir/ld/ -I/var/tmp/portage/sys-devel/binutils-/work/binutils/ld/testsu

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #19 from H.J. Lu --- (In reply to Zhiyuan Lv from comment #18) > (In reply to H.J. Lu from comment #16) > > (In reply to Zhiyuan Lv from comment #15) > > > (In reply to H.J. Lu from comment #14) > > > > Created attachment 16086 [de

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32443 --- Comment #7 from H.J. Lu --- (In reply to Stephen Kell from comment #5) > > When compiler sees a hidden undefined symbol, it assumes that > > it is defined somewhere else and it isn't an ABS symbol. As > > the result, you won't get 0x2a. >

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread zhiyuan.lv at linux dot intel.com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #18 from Zhiyuan Lv --- (In reply to H.J. Lu from comment #16) > (In reply to Zhiyuan Lv from comment #15) > > (In reply to H.J. Lu from comment #14) > > > Created attachment 16086 [details] > > > A new patch > > > > > > Please us

[Bug ld/32443] ABS symbol value depends on its visibility

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

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 H.J. Lu changed: What|Removed |Added Attachment #16086|0 |1 is obsolete|

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #16 from H.J. Lu --- (In reply to Zhiyuan Lv from comment #15) > (In reply to H.J. Lu from comment #14) > > Created attachment 16086 [details] > > A new patch > > > > Please use this one. > > I tested the latest patch here togeth

Re: Issue 416633165: binutils:fuzz_as: Integer-overflow in size_inc_line_addr

2025-05-13 Thread buganizer-system
Replying to this email means your email address will be shared with the team that works on this product. https://issues.oss-fuzz.com/issues/416633165 Changed access level: Limited visibility → Default access pe...@google.com added comment #3: This bug has been fixed. It has been opened to the

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread zhiyuan.lv at linux dot intel.com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #15 from Zhiyuan Lv --- (In reply to H.J. Lu from comment #14) > Created attachment 16086 [details] > A new patch > > Please use this one. I tested the latest patch here together with your gcc patch, now both test.c and kernel bu

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-13 Thread srk31 at srcf dot ucam.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32443 --- Comment #5 from Stephen Kell --- > When compiler sees a hidden undefined symbol, it assumes that > it is defined somewhere else and it isn't an ABS symbol. As > the result, you won't get 0x2a. I see. In what way does the "not an ABS symb

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32443 --- Comment #4 from H.J. Lu --- (In reply to Stephen Kell from comment #3) > (In reply to H.J. Lu from comment #2) > > (In reply to Stephen Kell from comment #0) > > > $ grep . exe.c lib.c lib.lds > > > exe.c:extern void lib_func(void); > > >

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-13 Thread srk31 at srcf dot ucam.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32443 --- Comment #3 from Stephen Kell --- (In reply to H.J. Lu from comment #2) > (In reply to Stephen Kell from comment #0) > > $ grep . exe.c lib.c lib.lds > > exe.c:extern void lib_func(void); > > exe.c:int main(void) > > exe.c:{ > > exe.c: lib

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 H.J. Lu changed: What|Removed |Added Attachment #16084|0 |1 is obsolete|

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #13 from H.J. Lu --- (In reply to Zhiyuan Lv from comment #12) > Hi H.J., > > On Tue, May 13, 2025 at 07:15:14AM +, hjl.tools at gmail dot com wrote: > > https://sourceware.org/bugzilla/show_bug.cgi?id=32961 > > > > --- Comme

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread zhiyuan.lv at linux dot intel.com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #12 from Zhiyuan Lv --- Hi H.J., On Tue, May 13, 2025 at 07:15:14AM +, hjl.tools at gmail dot com wrote: > https://sourceware.org/bugzilla/show_bug.cgi?id=32961 > > --- Comment #8 from H.J. Lu --- > (In reply to Zhiyuan Lv f

Re: [Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread Zhiyuan Lv
Hi H.J., On Tue, May 13, 2025 at 07:15:14AM +, hjl.tools at gmail dot com wrote: > https://sourceware.org/bugzilla/show_bug.cgi?id=32961 > > --- Comment #8 from H.J. Lu --- > (In reply to Zhiyuan Lv from comment #7) > > And, the GCC version I used is 14.2.0, which will generate per function

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #11 from H.J. Lu --- (In reply to Zhiyuan Lv from comment #9) > (In reply to H.J. Lu from comment #8) > > (In reply to Zhiyuan Lv from comment #7) > > > And, the GCC version I used is 14.2.0, which will generate per function > > >

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 H.J. Lu changed: What|Removed |Added Attachment #16083|0 |1 is obsolete|

Re: Issue 416633165: binutils:fuzz_as: Integer-overflow in size_inc_line_addr

2025-05-13 Thread buganizer-system
Replying to this email means your email address will be shared with the team that works on this product. https://issues.oss-fuzz.com/issues/416633165 Changed status: New → Verified assignee: → cl...@appspot.gserviceaccount.com verifier: → cl...@appspot.gserviceaccount.com 87...@developer.gs

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 H.J. Lu changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread zhiyuan.lv at linux dot intel.com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #6 from Zhiyuan Lv --- (In reply to H.J. Lu from comment #5) > Created attachment 16083 [details] > A patch to add --unique-pushsection and .pushuniquesection > > Try this. Hi H.J, the patch works nicely with my simple test case,

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread zhiyuan.lv at linux dot intel.com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #9 from Zhiyuan Lv --- (In reply to H.J. Lu from comment #8) > (In reply to Zhiyuan Lv from comment #7) > > And, the GCC version I used is 14.2.0, which will generate per function > > section of "__patchable_function_entries". Than

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #8 from H.J. Lu --- (In reply to Zhiyuan Lv from comment #7) > And, the GCC version I used is 14.2.0, which will generate per function > section of "__patchable_function_entries". Thanks! Now, the question is if GCC should generat

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread zhiyuan.lv at linux dot intel.com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #7 from Zhiyuan Lv --- And, the GCC version I used is 14.2.0, which will generate per function section of "__patchable_function_entries". Thanks! -- You are receiving this mail because: You are on the CC list for the bug.