[build] Update to GCC15 - #1342
Draft
salkinium wants to merge 2 commits into
Draft
Conversation
Specialisations of AdcChannel and DacChannel variable templates were defined in a header with external linkage but weren't inline variables. This was causing linker errors with gcc 15.
Member
|
I've fixed the linker error due to duplicate symbols. That was all that was needed to compile my STM32 modm code at work with gcc 15.3. This CI image has gcc 15.2 which crashes trying to build CMSIS-DSP for Cortex-M: Once we update to 15.3 the issue will go away. |
Member
|
Having to update libstdc++ for avr on every gcc release seems a bit unsustainable. A lot of internals change every time. It seems the best way forward would be to somehow build avr-gcc with libstdc++ and require that toolchain. It looks like some people have managed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GCC15 was released a while ago, let's see what breaks. Depends on modm-ext/docker-modm-build#34
osx-cross/homebrew-arm doesn't have v15 yet, lol!fixed, need to upgrade the macos CISomething is wrong withfixedmodm::platform::detail::AdcChannel<modm::platform::detail::DataC4, (modm::platform::Peripheral)1>on Cortex-M