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

dev-lang/ldc2 lto support #129

Open
the-horo opened this issue Jan 21, 2024 · 1 comment
Open

dev-lang/ldc2 lto support #129

the-horo opened this issue Jan 21, 2024 · 1 comment

Comments

@the-horo
Copy link
Contributor

Emerging ldc2 yields:

QA: other
QA Notice: Package triggers severe warnings which indicate that it
           may exhibit random runtime failures.
/var/tmp/portage/dev-lang/ldc2-1.36.0/work/ldc-1.36.0-src/gen/abi/x86-64.cpp:191:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
/var/tmp/portage/dev-lang/ldc2-1.36.0/work/ldc-1.36.0-src/gen/asm-x86.h:3869:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
/var/tmp/portage/dev-lang/ldc2-1.36.0/work/ldc-1.36.0-src/gen/asm-x86.h:3872:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
/var/tmp/portage/dev-lang/ldc2-1.36.0/work/ldc-1.36.0-src/gen/asm-x86.h:3869:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
/var/tmp/portage/dev-lang/ldc2-1.36.0/work/ldc-1.36.0-src/gen/asm-x86.h:3872:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Please do not file a Gentoo bug and instead report the above QA
issues directly to the upstream developers of this software.
Homepage: https://github.com/ldc-developers/ldc

This warnings are problematic as they indicate runtime issues with lto as detailed in https://wiki.gentoo.org/wiki/Project:Toolchain/LTO#Signs_a_package_is_unsafe.

There is also no documentation describing how to turn on lto for D packages.

@the-horo
Copy link
Contributor Author

This issue has been hit at https://bugs.gentoo.org/922590

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

1 participant