This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GNU ARM toolchain v12.2 Beta1: ld include doesn't seem to work?

Hi all…

I'm in the process of porting a firmware project to a newer version of the GNU ARM toolchain, previously this was written for v6 of the toolchain, which is quite dated.  I'm currently doing some testing with v12.2 beta 1 -- probably won't use this in production (I'll likely use 11.3r1), but since the newer release is there, I'll use that to do the initial porting to possibly shake out some bugs that v12 may bring.

One issue I'm hitting is with `ld`… I won't post the _actual_ code being used, but I'll instead post this simple little test case:

The actual application has two parts that need to be built: one is a boot-loader, and the other is the main application.  To place the parts in the right spots, I use different linker scripts, but they have _common_ sections in their linker scripts, so these are split out into different files and included in the relevant linker script.

In older releases of the toolchain, this worked beautiful:

Even the standard Ubuntu 22.04 arm-none-eabi toolchain works:

BUT… ARM's latest (beta) toolchain does not like this:

Is there something I've missed?

0