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

Windows -> Linux cross compile fails (lld is not built with zlib support) #1399

Open
csciguy8 opened this issue Apr 24, 2024 · 1 comment
Open

Comments

@csciguy8
Copy link
Contributor

Came up on the forum here.

CesiumForUnreal/Intermediate/Build/Linux/x64/UnrealGame/Shipping/CesiumRuntime/Module.CesiumRuntime.1.cpp.o:(.debug_loc) is compressed with ELFCOMPRESS_ZLIB, but lld is not built with zlib support

Most likely was caused by this PR, that reduced our .o size for shipping.

There are some things we could do:

  • Recommend to try with Unreal Engine 5.4. The cross compile toolchain might be fixed. One caveat, will have to wait for UE 5.4 support in cesium-unreal (coming soon)
  • Try to fix the cross-compile toolchain in UE 5.3.
  • Revert the mentioned PR

Also, could be nice to have a workflow on CI that tested this for us, so we know it's always working.

@kring
Copy link
Member

kring commented May 2, 2024

It's worth trying to reproduce this one ourselves. I'm surprised the cross-compiling lld shipped by Epic doesn't have zlib support, and even more surprised that we didn't notice this already if it doesn't. Makes me wonder if something else is going on.

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

2 participants