CesiumGS / cesium-unreal

Bringing the 3D geospatial ecosystem to Unreal Engine
https://cesium.com/platform/cesium-for-unreal/
Apache License 2.0
885 stars 286 forks source link

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

Open csciguy8 opened 2 months ago

csciguy8 commented 2 months ago

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:

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

kring commented 2 months ago

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.