Skip to content
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

Failure when built with -D_FORTIFY_SOURCE=3 suggests buffer overflows #36

Open
risicle opened this issue Jul 9, 2023 · 4 comments
Open

Comments

@risicle
Copy link

risicle commented Jul 9, 2023

NixOS now builds all packages with -D_FORTIFY_SOURCE=3.

This has caused the build of nanomq 0.18.2 to fail when generating idl_convert.h. This is on linux x86_64, gcc 12 when using idl_serial @ 908c364

See the build log @ https://gist.github.com/risicle/c31ff376e68f6336b71bcf5e7f1c8431#file-nanomq-0-18-2-build-log-L118 (original @ https://hydra.nixos.org/log/r8bwyihb2br676dmnrjjyl31gag74sga-nanomq-0.18.2.drv)

@xinyi-xs
Copy link
Collaborator

I don't see the "idl_convert.*" file generated from your log. Maybe you can try using only "idl-serial" to check if it fails.

@JaylinYu
Copy link
Member

@risicle I see the nanomq version stuck in 0.18.2 in NIXOS, do you need any further help?

@risicle
Copy link
Author

risicle commented Dec 23, 2023

Relevant PR: NixOS/nixpkgs#244685 (I am not the maintainer of this package, not totally sure why it has stalled)

@sikmir
Copy link

sikmir commented Dec 26, 2023

@risicle I see the nanomq version stuck in 0.18.2 in NIXOS, do you need any further help?

I'm a maintainer of the package, build still fails on hydra, but local build is OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants