pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/58965: cross/arm-none-eabi-* are out of date and need to be updated
>Number: 58965
>Category: pkg
>Synopsis: cross/arm-none-eabi-* are out of date and need to be updated
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Jan 06 18:05:00 +0000 2025
>Originator: Jason Thorpe
>Release: pkgsrc-current as of Jan 6, 2025
>Organization:
RISCy Business
>Environment:
Darwin dhcp-194.ktnet 23.6.0 Darwin Kernel Version 23.6.0: Wed Jul 31 20:53:05 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_ARM64_T8112 arm64
>Description:
The cross/arm-none-eabi-* packages (gcc-8.3.0 vintage) and are no longer capable of building the Raspberry Pi Pico SDK, which uses options not supported by gcc-8.3.0:
The Pico SDK is using compiler flags like so:
C_FLAGS = -mcpu=cortex-m0plus -mthumb -g -O3 -DNDEBUG -std=gnu11 -march=native -ffunction-sections -fdata-sections
...so it's relying on the compiler understanding in the context of "-mcpu=cortex-m0plus", "-march=native" really means "-march=armv6-m".
>How-To-Repeat:
Try to build anything with Pi Pico SDK 2.1.
>Fix:
Update the GCC package, at least. 10.3.x is probably sufficient?
Home |
Main Index |
Thread Index |
Old Index