Hi
I have a question about the impact of a binutils bug to do with parsing the .align assembler directive, which may appear soon in a Linaro GCC release. The bug was first discovered by Jérôme Forissier when building ARM Trusted Firmware with a non-Linaro toolchain: https://lists.linaro.org/pipermail/linaro-toolchain/2016-June/005768.html
As Jim Wilson helpfully noted later in that thread:
This patch isn't present in the binutils-2.25 that tcwg is using. The patch is present in binutils-2.26.
The bug is now fixed in binutils mainline: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git%3Ba=commit%3Bh=7ea1...
But this was too late to be in the binutils-2_27 tag (3rd August)
I'm concerned that this bug may appear in the upcoming Linaro GCC 6 stable release, which may have a significant lifetime. Can anyone comment on the binutils version to be used in the Linaro GCC 6 release? If a binutils version containing the bug is used, is it possible for this to be patched with the fix? I need to know whether we need to provide an interim solution in ARM Trusted Firmware.
Regards
Dan.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Hi Dan,
On 9 August 2016 at 11:04, Dan Handley Dan.Handley@arm.com wrote:
Hi
I have a question about the impact of a binutils bug to do with parsing the .align assembler directive, which may appear soon in a Linaro GCC release. The bug was first discovered by Jérôme Forissier when building ARM Trusted Firmware with a non-Linaro toolchain: https://lists.linaro.org/pipermail/linaro-toolchain/2016-June/005768.html
As Jim Wilson helpfully noted later in that thread:
This patch isn't present in the binutils-2.25 that tcwg is using. The patch is present in binutils-2.26.
The bug is now fixed in binutils mainline: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git%3Ba=commit%3Bh=7ea1...
But this was too late to be in the binutils-2_27 tag (3rd August)
I'm concerned that this bug may appear in the upcoming Linaro GCC 6 stable release, which may have a significant lifetime. Can anyone comment on the binutils version to be used in the Linaro GCC 6 release? If a binutils version containing the bug is used, is it possible for this to be patched with the fix? I need to know whether we need to provide an interim solution in ARM Trusted Firmware.
Linaro GCC 6 release will use Linaro BInutils 2.26 branch which is based on FSF 2.26 branch + some backports from mainline. Thus, our branch will indeed need to have this fix backported to avoid this issue. I don't see any blocker to do it, but will let people in charge of our Binutils and Binariy releases to comment on the feasability before the coming release.
Thanks for the heads up Yvan
Regards
Dan.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-toolchain
On Aug 9, 2016, at 2:05 PM, Yvan Roux yvan.roux@linaro.org wrote:
Hi Dan,
On 9 August 2016 at 11:04, Dan Handley Dan.Handley@arm.com wrote:
Hi
I have a question about the impact of a binutils bug to do with parsing the .align assembler directive, which may appear soon in a Linaro GCC release. The bug was first discovered by Jérôme Forissier when building ARM Trusted Firmware with a non-Linaro toolchain: https://lists.linaro.org/pipermail/linaro-toolchain/2016-June/005768.html
As Jim Wilson helpfully noted later in that thread:
This patch isn't present in the binutils-2.25 that tcwg is using. The patch is present in binutils-2.26.
The bug is now fixed in binutils mainline: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git%3Ba=commit%3Bh=7ea1...
But this was too late to be in the binutils-2_27 tag (3rd August)
I'm concerned that this bug may appear in the upcoming Linaro GCC 6 stable release, which may have a significant lifetime. Can anyone comment on the binutils version to be used in the Linaro GCC 6 release? If a binutils version containing the bug is used, is it possible for this to be patched with the fix? I need to know whether we need to provide an interim solution in ARM Trusted Firmware.
Linaro GCC 6 release will use Linaro BInutils 2.26 branch which is based on FSF 2.26 branch + some backports from mainline. Thus, our branch will indeed need to have this fix backported to avoid this issue. I don't see any blocker to do it, but will let people in charge of our Binutils and Binariy releases to comment on the feasability before the coming release.
Adhemerval, FYI.
-- Maxim Kuvyrkov www.linaro.org
Thanks for the heads up Yvan
Regards
Dan.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-toolchain
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-toolchain
Hi Yvan
-----Original Message----- From: Yvan Roux [mailto:yvan.roux@linaro.org] Sent: 09 August 2016 12:06
Hi Dan,
On 9 August 2016 at 11:04, Dan Handley Dan.Handley@arm.com wrote:
...
I'm concerned that this bug may appear in the upcoming Linaro GCC 6
stable release, which may have a significant lifetime. Can anyone comment on the binutils version to be used in the Linaro GCC 6 release? If a binutils version containing the bug is used, is it possible for this to be patched with the fix? I need to know whether we need to provide an interim solution in ARM Trusted Firmware.
Linaro GCC 6 release will use Linaro BInutils 2.26 branch which is based on FSF 2.26 branch + some backports from mainline. Thus, our branch will indeed need to have this fix backported to avoid this issue. I don't see any blocker to do it, but will let people in charge of our Binutils and Binariy releases to comment on the feasability before the coming release.
Thanks for confirming the binutils version. I hope a fix is feasible. I'll wait for others to comment.
Thanks for the heads up
You're welcome
Dan.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Hi Dan,
On 10 August 2016 at 15:39, Dan Handley Dan.Handley@arm.com wrote:
Hi Yvan
-----Original Message----- From: Yvan Roux [mailto:yvan.roux@linaro.org] Sent: 09 August 2016 12:06
Hi Dan,
On 9 August 2016 at 11:04, Dan Handley Dan.Handley@arm.com wrote:
...
I'm concerned that this bug may appear in the upcoming Linaro GCC 6
stable release, which may have a significant lifetime. Can anyone comment on the binutils version to be used in the Linaro GCC 6 release? If a binutils version containing the bug is used, is it possible for this to be patched with the fix? I need to know whether we need to provide an interim solution in ARM Trusted Firmware.
Linaro GCC 6 release will use Linaro BInutils 2.26 branch which is based on FSF 2.26 branch + some backports from mainline. Thus, our branch will indeed need to have this fix backported to avoid this issue. I don't see any blocker to do it, but will let people in charge of our Binutils and Binariy releases to comment on the feasability before the coming release.
Thanks for confirming the binutils version. I hope a fix is feasible. I'll wait for others to comment.
The fix is in our Binutils 2.26 branch now, so the coming release should be fine.
Yvan
Thanks for the heads up
You're welcome
Dan.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-----Original Message----- From: Yvan Roux [mailto:yvan.roux@linaro.org] Sent: 10 August 2016 14:42
...
The fix is in our Binutils 2.26 branch now, so the coming release should be fine.
Yvan
That's great news - thanks!
Dan.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
linaro-toolchain@lists.linaro.org