Ading stdlib as a dependency in fpm caused demo build to fail

· Fortran Lang Discourse · Aug. 17, 2026, 3:15 p.m.
Summary
The post discusses a failure encountered when adding 'stdlib' as a dependency in an fpm.toml file, resulting in a compilation error on Ubuntu 26.04 with GCC version 16.0.1. The author provides detailed error messages indicating issues related to executable stack and linking, along with suggestions that recompilation and adding the '-fPIC' flag were attempted without success.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →