-
-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.0.1 build no longer uses start-group/end-group linker flags (on native platform) #3674
Comments
This commit for #3570 is the cause and reverting it fixes it:
|
Only Mac don't have support for |
Is there an equivalent linker process for that - what happens if you try to run my native build on macOS? I could have Travis CI do a build but it's not interactive so it would be tedious to try to get it working. |
Nop. Now I really don't know if Mac just don't have the ordering issue. I can test it. |
Sorry, we will revert back that commit. It's actually a bug. I don't know why removed these linker flags. It seems that we have an issue with the incorrect detecting of GCC. Need to check which version does not support this. I mark this issue as duplicated and will make a fix. Duplicate of #3669 |
Please re-test with the latest PIO Core dev version via |
As base.py: def is_embedded(self):
for opts in self.packages.values():
if opts.get("type") == "uploader":
return True
return False Why does |
Could you point us to the affected dev-platforms? |
At least rpi-pico and apollo3 had or have this issue. Maybe there are more or will be more in the future, because AFAIK the PIO documentation doesn't state that platform.json must contain a package of type uploader to configure the linker to use |
You need to file issues in their repositories. They can implement
in https://github.com/Wiz-IO/wizio-pico/blob/main/platform.py#L13 |
Thanks, that's good to know. |
@tsandmann I've just made a PR https://github.com/Wiz-IO/wizio-pico/pull/60 |
Configuration
Operating system: Ubuntu 18.04
PlatformIO Version (
platformio --version
): 5.0.1Description of problem
Builds with the native platform no longer pass
start-group
/end-group
around libraries specified as linker arguments, which is causing my builds to fail. If I manually add these back then the final link step works. Builds on other platforms always use these arguments. This worked on 4.3.4.Regression from #3282.
Steps to Reproduce
(at commit c9d04baf7143f0eef5826f4c79c55841bff9a7d0)
Actual Results
Expected Results
The text was updated successfully, but these errors were encountered: