binutils: Upgrade to 2.46 release
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 52 lines · Deepesh via lists.openembedded.org Varatharajan
From: Deepesh Varatharajan <[email protected]>
New Features:
Support for new instructions added to AMD, ARM and RISC-V architectures. Support for version 3 of the SFrame standard.
The readelf program can now display the contents of Global Offset Tables. Improved linker tagging support.Detailed release notes are here [1]
[1] https://lists.gnu.org/archive/html/info-gnu/2026-02/msg00006.html
Dropped patches:
0001-aarch64-constify-BTI-and-GCS-report-functions.patch Since the fix is already included in binutils 2.46.CVE patches: CVE-2025-11081,CVE-2025-11082,CVE-2025-11083, CVE-2025-11839,CVE-2025-11840,CVE-2025-11412,CVE-2025-11413, CVE-2025-11414,CVE-2025-11494,CVE-2025-11495.
These were dropped because they are already addressed in binutils 2.46.Drop
CVE_STATUS:
binutils 2.46 has needed fixes for CVE-2025-7545 and CVE-2025-7546.Rebase existing patches with binutils 2.46.
Testing Results:
+----------------------+--------+--------+------+ | Result | 2.45.1 | 2.46 | Diff | +----------------------+--------+--------+------+ | Expected Passes | 318 | 331 | +13 | | Untested Testcases | 5 | 5 | 0 | | Unsupported Tests | 8 | 6 | -2 | +----------------------+--------+--------+------+Testcases changes:
-------------------------------------------------------------------------------
Testcase-name 2.45.1 2.46
-------------------------------------------------------------------------------nm --ifunc-chars=-- (global ifunc) - PASS nm --ifunc-chars=-- (local ifunc) - PASS copy with unknown section flag - PASS objcopy tek2bin - PASS binary symbol (implicit) - PASS binary symbol (explicit) - PASS readelf SFrame V2 (x86-64/test-v2-ET_EXEC.sframe) - PASS objdump SFrame V2 (x86-64/test-v2-ET_EXEC.sframe) - PASS readelf SFrame V2 (x86-64/test-v2-ET_REL.sframe) - PASS objdump SFrame V2 (x86-64/test-v2-ET_REL.sframe) - PASS run objcopy of executable UNSUPPORTED PASS run stripped executable UNSUPPORTED PASS run stripped executable with saving a symbol UNSUPPORTED PASS
Quoted 4 lines
Copy object attributes v2 data from an object to another - UNSUPPORTED
Signed-off-by Deepesh Varatharajan <[email protected]>---
Hi Deepesh,
Thanks for the upgrade.
It looks like some patch needs to be refreshed or dropped. It's only applied for class-nativesdk, so that's probably why it does not show in most builds.
ERROR: Task (virtual:nativesdk:/srv/pokybuild/yocto-worker/genericx86-64/build/layers/openembedded-core/meta/recipes-devtools/binutils/binutils_2.46.bb:do_patch) failed with exit code '1'
...
ERROR: nativesdk-binutils-2.46-r0 do_patch: Applying patch '/srv/pokybuild/yocto-worker/genericx86-64/build/layers/openembedded-core/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch' on target directory '/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-binutils/2.46/sources/binutils-2.46'
https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/3189
Can you have a look at it?
Thanks,
Mathieu
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Hello,
Quoted 70 lines · Mathieu Dubois-Briand via lists.openembedded.org
Quoted 52 lines · Deepesh via lists.openembedded.org Varatharajan
From: Deepesh Varatharajan <[email protected]>
New Features:
Support for new instructions added to AMD, ARM and RISC-V architectures. Support for version 3 of the SFrame standard.
The readelf program can now display the contents of Global Offset Tables. Improved linker tagging support.Detailed release notes are here [1]
[1] https://lists.gnu.org/archive/html/info-gnu/2026-02/msg00006.html
Dropped patches:
0001-aarch64-constify-BTI-and-GCS-report-functions.patch Since the fix is already included in binutils 2.46.CVE patches: CVE-2025-11081,CVE-2025-11082,CVE-2025-11083, CVE-2025-11839,CVE-2025-11840,CVE-2025-11412,CVE-2025-11413, CVE-2025-11414,CVE-2025-11494,CVE-2025-11495.
These were dropped because they are already addressed in binutils 2.46.Drop
CVE_STATUS:
binutils 2.46 has needed fixes for CVE-2025-7545 and CVE-2025-7546.Rebase existing patches with binutils 2.46.
Testing Results:
+----------------------+--------+--------+------+ | Result | 2.45.1 | 2.46 | Diff | +----------------------+--------+--------+------+ | Expected Passes | 318 | 331 | +13 | | Untested Testcases | 5 | 5 | 0 | | Unsupported Tests | 8 | 6 | -2 | +----------------------+--------+--------+------+Testcases changes:
-------------------------------------------------------------------------------
Testcase-name 2.45.1 2.46
-------------------------------------------------------------------------------nm --ifunc-chars=-- (global ifunc) - PASS nm --ifunc-chars=-- (local ifunc) - PASS copy with unknown section flag - PASS objcopy tek2bin - PASS binary symbol (implicit) - PASS binary symbol (explicit) - PASS readelf SFrame V2 (x86-64/test-v2-ET_EXEC.sframe) - PASS objdump SFrame V2 (x86-64/test-v2-ET_EXEC.sframe) - PASS readelf SFrame V2 (x86-64/test-v2-ET_REL.sframe) - PASS objdump SFrame V2 (x86-64/test-v2-ET_REL.sframe) - PASS run objcopy of executable UNSUPPORTED PASS run stripped executable UNSUPPORTED PASS run stripped executable with saving a symbol UNSUPPORTED PASSQuoted 4 lines
Copy object attributes v2 data from an object to another - UNSUPPORTED
Signed-off-by Deepesh Varatharajan <[email protected]>---
Hi Deepesh,
Thanks for the upgrade.
It looks like some patch needs to be refreshed or dropped. It's only applied for class-nativesdk, so that's probably why it does not show in most builds.
ERROR: Task (virtual:nativesdk:/srv/pokybuild/yocto-worker/genericx86-64/build/layers/openembedded-core/meta/recipes-devtools/binutils/binutils_2.46.bb:do_patch) failed with exit code '1'
...
ERROR: nativesdk-binutils-2.46-r0do_patch: Applying patch '/srv/pokybuild/yocto-worker/genericx86-64/build/layers/openembedded-core/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch' on target directory '/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-binutils/2.46/sources/binutils-2.46'
Quoted 7 lines
https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/3189
Can you have a look at it?
Thanks,
Mathieu
Just in case, there's also a ptest failure that could be related to this update:
Failed ptests:
{'elfutils':
['run-strip-strmerge.sh',
'run-elflint-self.sh',
'run-reverse-sections-self.sh']}
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3036/steps/13/logs/stdio
Signature · 2 lines
Best regards, João Marcos Costa
Quoted 79 lines · Joao Marcos Costa
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.Hello,
Quoted 73 lines · Mathieu Dubois-Briand via lists.openembedded.org
Quoted 56 lines · Deepesh via lists.openembedded.org Varatharajan
From: Deepesh Varatharajan <[email protected]>
New Features:
Support for new instructions added to AMD, ARM and RISC-V architectures. Support for version 3 of the SFrame standard.
The readelf program can now display the contents of Global Offset Tables. Improved linker tagging support.Detailed release notes are here [1]
[1] https://lists.gnu.org/archive/html/info-gnu/2026-02/msg00006.html
Dropped patches:
0001-aarch64-constify-BTI-and-GCS-report-functions.patch Since the fix is already included in binutils 2.46.CVE patches: CVE-2025-11081,CVE-2025-11082,CVE-2025-11083, CVE-2025-11839,CVE-2025-11840,CVE-2025-11412,CVE-2025-11413, CVE-2025-11414,CVE-2025-11494,CVE-2025-11495.
These were dropped because they are already addressed in binutils 2.46.Drop
CVE_STATUS:
binutils 2.46 has needed fixes for CVE-2025-7545 and CVE-2025-7546.Rebase existing patches with binutils 2.46.
Testing Results:
+----------------------+--------+--------+------+ | Result | 2.45.1 | 2.46 | Diff | +----------------------+--------+--------+------+ | Expected Passes | 318 | 331 | +13 | | Untested Testcases | 5 | 5 | 0 | | Unsupported Tests | 8 | 6 | -2 | +----------------------+--------+--------+------+Testcases changes:
-------------------------------------------------------------------------------Testcase-name 2.45.1 2.46
-------------------------------------------------------------------------------nm --ifunc-chars=-- (global ifunc) - PASS
nm --ifunc-chars=-- (local ifunc) - PASS
copy with unknown section flag - PASS
objcopy tek2bin - PASS
binary symbol (implicit) - PASS
binary symbol (explicit) - PASS
readelf SFrame V2 (x86-64/test-v2-ET_EXEC.sframe) - PASS objdump SFrame V2 (x86-64/test-v2-ET_EXEC.sframe) - PASS readelf SFrame V2 (x86-64/test-v2-ET_REL.sframe) - PASS objdump SFrame V2 (x86-64/test-v2-ET_REL.sframe) - PASS run objcopy of executable UNSUPPORTED PASS
run stripped executable UNSUPPORTED PASS
run stripped executable with saving a symbol UNSUPPORTED PASS Copy object attributes v2 data from an object to another - UNSUPPORTEDQuoted 2 lines
Signed-off-by Deepesh Varatharajan <[email protected]>---
Hi Deepesh,
Thanks for the upgrade.
It looks like some patch needs to be refreshed or dropped. It's only applied for class-nativesdk, so that's probably why it does not show in most builds.
ERROR: Task (virtual:nativesdk:/srv/pokybuild/yocto-worker/genericx86-64/build/layers/openembedded-core/meta/recipes-devtools/binutils/binutils_2.46.bb:do_patch) failed with exit code '1'
...
ERROR: nativesdk-binutils-2.46-r0do_patch: Applying patch '/srv/pokybuild/yocto-worker/genericx86-64/build/layers/openembedded-core/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch' on target directory '/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-binutils/2.46/sources/binutils-2.46'https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/3189
Hi All,
We looked into this issue and fixed it.
Quoted 11 lines
Quoted 6 lines
Can you have a look at it?
Thanks,
MathieuJust in case, there's also a ptest failure that could be related to this update:
Quoted 8 lines
Failed ptests:
{'elfutils':
['run-strip-strmerge.sh',
'run-elflint-self.sh',
'run-reverse-sections-self.sh']}https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3036/steps/13/logs/stdio
We have been able to reproduce this issue. It is related to three elfutils ptest failures. These test cases were previously failing with LLD linker and were marked as XFAIL. However, after upgrading to binutils 2.46, the same failures are now occurring with GNU ld as well.
The issue appears to be specific to the arm64 architecture. We are currently investigating the root cause and will provide further updates once we have more information.
Regards,
Deepesh
Quoted 5 lines
Signature · 3 lines
-- Best regards, João Marcos Costa
Quoted 104 lines · Deepesh Varatharajan
Quoted 79 lines · Joao Marcos Costa
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.Hello,
Quoted 73 lines · Mathieu Dubois-Briand via lists.openembedded.org
Quoted 56 lines · Deepesh via lists.openembedded.org Varatharajan
From: Deepesh Varatharajan <[email protected]>
New Features:
Support for new instructions added to AMD, ARM and RISC-V architectures. Support for version 3 of the SFrame standard.
The readelf program can now display the contents of Global Offset Tables. Improved linker tagging support.Detailed release notes are here [1]
[1] https://lists.gnu.org/archive/html/info-gnu/2026-02/msg00006.html
Dropped patches:
0001-aarch64-constify-BTI-and-GCS-report-functions.patch Since the fix is already included in binutils 2.46.CVE patches: CVE-2025-11081,CVE-2025-11082,CVE-2025-11083, CVE-2025-11839,CVE-2025-11840,CVE-2025-11412,CVE-2025-11413, CVE-2025-11414,CVE-2025-11494,CVE-2025-11495.
These were dropped because they are already addressed in binutils 2.46.Drop
CVE_STATUS:
binutils 2.46 has needed fixes for CVE-2025-7545 and CVE-2025-7546.Rebase existing patches with binutils 2.46.
Testing Results:
+----------------------+--------+--------+------+ | Result | 2.45.1 | 2.46 | Diff | +----------------------+--------+--------+------+ | Expected Passes | 318 | 331 | +13 | | Untested Testcases | 5 | 5 | 0 | | Unsupported Tests | 8 | 6 | -2 | +----------------------+--------+--------+------+Testcases changes:
-------------------------------------------------------------------------------Testcase-name 2.45.1 2.46
-------------------------------------------------------------------------------nm --ifunc-chars=-- (global ifunc) - PASS
nm --ifunc-chars=-- (local ifunc) - PASS
copy with unknown section flag - PASS
objcopy tek2bin - PASS
binary symbol (implicit) - PASS
binary symbol (explicit) - PASS
readelf SFrame V2 (x86-64/test-v2-ET_EXEC.sframe) - PASS objdump SFrame V2 (x86-64/test-v2-ET_EXEC.sframe) - PASS readelf SFrame V2 (x86-64/test-v2-ET_REL.sframe) - PASS
objdump SFrame V2 (x86-64/test-v2-ET_REL.sframe) - PASS
run objcopy of executable UNSUPPORTED PASS
run stripped executable UNSUPPORTED PASS
run stripped executable with saving a symbol UNSUPPORTED PASS Copy object attributes v2 data from an object to another - UNSUPPORTEDQuoted 2 lines
Signed-off-by Deepesh Varatharajan <[email protected]>---
Hi Deepesh,
Thanks for the upgrade.
It looks like some patch needs to be refreshed or dropped. It's only applied for class-nativesdk, so that's probably why it does not show in most builds.
ERROR: Task (virtual:nativesdk:/srv/pokybuild/yocto-worker/genericx86-64/build/layers/openembedded-core/meta/recipes-devtools/binutils/binutils_2.46.bb:do_patch) failed with exit code '1'
...
ERROR: nativesdk-binutils-2.46-r0do_patch: Applying patch '/srv/pokybuild/yocto-worker/genericx86-64/build/layers/openembedded-core/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch' on target directory '/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-binutils/2.46/sources/binutils-2.46'https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/3189
Hi All,
We looked into this issue and fixed it.
Quoted 11 lines
Quoted 6 lines
Can you have a look at it?
Thanks,
MathieuJust in case, there's also a ptest failure that could be related to this update:
Quoted 8 lines
Failed ptests:
{'elfutils':
['run-strip-strmerge.sh',
'run-elflint-self.sh',
'run-reverse-sections-self.sh']}https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3036/steps/13/logs/stdio
Quoted 6 lines
We have been able to reproduce this issue. It is related to three elfutils ptest failures. These test cases were previously failing with LLD linker and were marked as XFAIL. However, after upgrading to binutils 2.46, the same failures are now occurring with GNU ld as well.
The issue appears to be specific to the arm64 architecture. We are currently investigating the root cause and will provide further updates once we have more information.
Hi All,
We discussed with elfutils community and arrived at a fix. Currently testing the fix. V2 will be sent soon.
Regards,
Deepesh
Quoted 9 lines
Regards,
DeepeshQuoted 5 lines
Signature · 3 lines
-- Best regards, João Marcos Costa