[Bug ld/32846] LTO link failures in various packages since 2707d55e539ef323dd14a1293e762bf3d9739ee7

2025-04-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32846

Sam James  changed:

   What|Removed |Added

  Attachment #16007|0   |1
is obsolete||

--- Comment #3 from Sam James  ---
Created attachment 16008
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16008&action=edit
bfd-lfo.tar.xz

Done.

With binutils-2.44:
```
$ ./test.sh
+ gcc -O2 -flto -c libkmod.i -o libkmod.o
+ gcc -O2 -flto -c hash.i -o hash.o
+ gcc -O2 -flto -c util.i -o util.o
+ ar cr libshared.a hash.o util.o
+ ar cr libkmod-internal.a libkmod.o hash.o util.o
+ gcc -Wl,--no-undefined -shared -o kmod lsmod.i static-nodes.i libshared.a
libkmod-internal.a z.i -B/usr/x86_64-pc-linux-gnu/binutils-bin/2.44
```

With trunk:
```
$ ./test.sh
+ gcc -O2 -flto -c libkmod.i -o libkmod.o
+ gcc -O2 -flto -c hash.i -o hash.o
+ gcc -O2 -flto -c util.i -o util.o
+ ar cr libshared.a hash.o util.o
+ ar cr libkmod-internal.a libkmod.o hash.o util.o
+ gcc -Wl,--no-undefined -shared -o kmod lsmod.i static-nodes.i libshared.a
libkmod-internal.a z.i
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld:
/tmp/ccqb5Jli.ltrans0.ltrans.o: in function `kmod_new':
:(.text+0x17): undefined reference to `hash_new'
collect2: error: ld returned 1 exit status
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/32846] LTO link failures in various packages since 2707d55e539ef323dd14a1293e762bf3d9739ee7

2025-04-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32846

--- Comment #1 from Sam James  ---
Created attachment 16007
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16007&action=edit
bfd-lto.tar.xz

```
$ gcc -O2 -flto -c libkmod.i -o libkmod.o
$ gcc -O2 -flto -c hash.i -o hash.o
$ gcc -O2 -flto -c util.i -o util.o
$ ar cr libshared.a hash.o util.o
$ ar cr libkmod-internal.a libkmod.o hash.o util.o
$ gcc -Wl,--no-undefined -shared -o kmod lsmod.i static-nodes.i libshared.a
libkmod-internal.a
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld:
/tmp/ccNimEok.ltrans0.ltrans.o: in function `mkdir_parents':
:(.text+0x1): undefined reference to `mkdir_p'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld:
/tmp/ccNimEok.ltrans0.ltrans.o: in function `kmod_new':
:(.text+0x13): undefined reference to `hash_new'
collect2: error: ld returned 1 exit status
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Issue 408513933: binutils: Fuzzing build failure

2025-04-07 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/408513933

Reference Info: 408513933 binutils: Fuzzing build failure
component:  Public Trackers > 1362134 > OSS Fuzz
status:  New
reporter:  87...@developer.gserviceaccount.com
cc:  am...@gmail.com, bug-binutils@gnu.org, da...@adalogics.com, and 2 more
type:  Bug
access level:  Default access
priority:  P4
severity:  S4
retention:  Component default

87...@developer.gserviceaccount.com added comment #1:
The last 3 builds for binutils have been failing.
Build log:
https://oss-fuzz-build-logs.storage.googleapis.com/log-1042f883-5c8e-4cc4-ad02-429643803184.txt
Build type: fuzzing

To reproduce locally, please see:
https://google.github.io/oss-fuzz/advanced-topics/reproducing#reproducing-build-failures

**This bug tracker is not being monitored by OSS-Fuzz team.** If you have
any questions, please create an issue at
https://github.com/google/oss-fuzz/issues/new.

**This bug will be automatically closed within a day once it is fixed.**


Generated by Google IssueTracker notification system.

You're receiving this email because you are subscribed to updates on Google
IssueTracker issue 408513933
Unsubscribe from this issue.


Re: Issue 408254000: binutils:fuzz_addr2line: Heap-buffer-overflow in bfd_getb16

2025-04-07 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/408254000

Changed
Disclosure:   → Jul 3, 2025

___

Reference Info: 408254000 binutils:fuzz_addr2line: Heap-buffer-overflow in
bfd_getb16
component:  Public Trackers > 1362134 > OSS Fuzz
status:  New
reporter:  87...@developer.gserviceaccount.com
cc:  am...@gmail.com, bug-binutils@gnu.org, da...@adalogics.com, and 2 more
collaborators:  co...@oss-fuzz.com
type:  Vulnerability
access level:  Limited visibility
priority:  P2
severity:  S2
hotlist:  Reproducible, Stability-LibFuzzer,
Stability-Memory-AddressSanitizer
retention:  Component default
Disclosure:  Jul 3, 2025
Project:  binutils
Reported:  Apr 4, 2025


Generated by Google IssueTracker notification system.


Re: Issue 389333858: binutils:fuzz_as: Unexpected-exit in xexit

2025-04-07 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/389333858

Changed

pe...@google.com added comment #2:

This bug is approaching its deadline for being fixed, and will be
automatically derestricted within 7 days. If a fix is planned within 2
weeks after the deadline has passed, a grace extension can be granted.

___

Reference Info: 389333858 binutils:fuzz_as: Unexpected-exit in xexit
component:  Public Trackers > 1362134 > OSS Fuzz
status:  New
reporter:  87...@developer.gserviceaccount.com
cc:  am...@gmail.com, bug-binutils@gnu.org, da...@adalogics.com, and 2 more
collaborators:  co...@oss-fuzz.com
type:  Bug
access level:  Limited visibility
priority:  P2
severity:  S4
hotlist:  Reproducible, Stability-LibFuzzer,
Stability-Memory-AddressSanitizer
retention:  Component default
Disclosure:  Apr 14, 2025
Project:  binutils
Reported:  Jan 12, 2025


Generated by Google IssueTracker notification system.

You're receiving this email because you are subscribed to updates on Google
IssueTracker issue 389333858
Unsubscribe from this issue.