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

Enemies are invisible when build is configured with LTO #518

Open
Kangie opened this issue Sep 24, 2024 · 1 comment
Open

Enemies are invisible when build is configured with LTO #518

Kangie opened this issue Sep 24, 2024 · 1 comment

Comments

@Kangie
Copy link

Kangie commented Sep 24, 2024

Enemies in Marathon / Infinity (presumably Durandal, didn't check) are not visible when the binary is built with LTO.

To Reproduce

CFLAGS="-march=native -O2 -pipe -flto" CXXFLAGS="-march=native -O2 -pipe -flto" ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/alephone-99999999 --htmldir=/usr/share/doc/alephone-99999999/html --libdir=/usr/lib64 --enable-opengl --with-ffmpeg --with-png --with-sdl_image --with-zzip --with-curl --without-miniupnpc   
@Kangie
Copy link
Author

Kangie commented Sep 24, 2024

Note: Building with ubsan -fsanitize=undefined seems to suppress this issue. Whee!

@Kangie Kangie changed the title Enemies are invisible when build is conifgured with LTO Enemies are invisible when build is configured with LTO Oct 9, 2024
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