Skip to content

config/microblaze: fix whitespace in LINK_SPEC is breaking linking#59

Merged
alpsayin merged 1 commit intozephyrproject-rtos:zephyr-gcc-14.3.0from
alpsayin:alpsayin/zephyr-gcc-14.3.0-whitespace-in-linkspec
Sep 9, 2025
Merged

config/microblaze: fix whitespace in LINK_SPEC is breaking linking#59
alpsayin merged 1 commit intozephyrproject-rtos:zephyr-gcc-14.3.0from
alpsayin:alpsayin/zephyr-gcc-14.3.0-whitespace-in-linkspec

Conversation

@alpsayin
Copy link

@alpsayin alpsayin commented Aug 5, 2025

whitespace is causing the intended output of -dT xilinx.ld%s to be split and takeninto if-exists-then-else as 2nd and 3rd arguments so LINK_SPEC emits -dT when xilinx.ld is found, and emits xilinx.ld when not found.

Testing:
I've sneakily pushed this patch into #58 to get a toolchain out and tested it with picolibc.

whitespace is causing the intended output of `-dT xilinx.ld%s` to be split
and takeninto if-exists-then-else as 2nd and 3rd arguments so LINK_SPEC
emits `-dT` when xilinx.ld is found, and emits xilinx.ld when not found.

Signed-off-by: Alp Sayin <alpsayin@gmail.com>
@alpsayin alpsayin self-assigned this Aug 5, 2025
@alpsayin alpsayin added the bug Something isn't working label Aug 5, 2025
@alpsayin alpsayin merged commit 2f4fc7b into zephyrproject-rtos:zephyr-gcc-14.3.0 Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Development

Successfully merging this pull request may close these issues.

3 participants

Comments