| Summary: | runtime issue on STM32 with usage of binutils 2.29.x | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Christophe Priouzeau <christophe.priouzeau> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2018.02 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Christophe Priouzeau
2018-05-29 07:42:09 UTC
Hello, Thanks for the report! This issue seems related to a change to the behaviour of the assembler's "adr" pseudo-instruction [1] This issue has already be reported by some Buildroot user [2] but it's an upstream issue. For now, you should use a toolchain generated with Binutils 2.28. I don't have such board to do a runtime test. [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2017-November/543467.html [2] http://lists.busybox.net/pipermail/buildroot/2018-March/215706.html http://lists.busybox.net/pipermail/buildroot/2018-April/219223.html Thanks for the information. I have made the test by changing the version of binutils and we doesn't see the issue at runtime. I have pushed to patch for updating the configuration of stm32 on buildroot: patch 1: http://patchwork.ozlabs.org/patch/922037/ patch 2: http://patchwork.ozlabs.org/patch/922049/ Thanks for your help and your reactivity. Chritophe Priouzeau Fixed by making ARM thumb builds default to binutils 2.28.x and display a warning message in the Linux config: https://git.buildroot.org/buildroot/commit/?id=17f352acdebd4a825903807f8a2d60ebea223afb https://git.buildroot.org/buildroot/commit/?id=3dbc5a62798d0f804a9a931b5dbd1c3a2a419ab2 |