Dannii Willis
Dannii Willis
This isn't going to seem real... I'm working more on my project, and then it stopped successfully building, ever. It went from building successfully maybe 20% of the time, to...
Yeah, just changing the name of my JS library seemed to change the behaviour. I know it's possible nothing actually changed and I just got really unlucky, but it sure...
sha256sums from a working build: ``` 5388af09f4cda627fd9f0f1543bbcf7ce460e5f6468552f23fd59f64aba5568a /tmp/emscripten_temp/tmpq1530m4dlibemscripten_js_symbols.so dd9b355408f7d9b1b773ac79b28fc749542ffa893932e69fafe5d9e85d3e743d /tmp/emscripten_temp/emcc-00-base.wasm 02911def5ce22ab0be4a312a9d0c2e51b26a5c218b912104b8b6f81ef81f144e /tmp/emscripten_temp/tmpqx1ttoe8.json 2ca59e48093ef69ce094d20ed16c21143db992562f2eb09ee2cc9ddf5d041ef4 /tmp/emscripten_temp/tmp8b6n_aw0.json 8bb9819ebd1b955c680111860ad23b4a7e3dcf3d36d066d0841c6ab634e6d857 /tmp/emscripten_temp/emcc-05-byn.wasm be03a181b756203d8dbca1681f12576ed53dee58c04c38c00ddccbeee6241f4a /tmp/emscripten_temp/emcc-02-wasm-emscripten-finalize.wasm dd9b355408f7d9b1b773ac79b28fc749542ffa893932e69fafe5d9e85d3e743d /tmp/emscripten_temp/emcc-01-strip.wasm 8bb9819ebd1b955c680111860ad23b4a7e3dcf3d36d066d0841c6ab634e6d857 /tmp/emscripten_temp/emcc-04-wasm-opt.wasm 64cdd2d953ca5503955cb5d5d88ab55297b690c64163aa68f656bc0e7e72ff60 /tmp/emscripten_temp/emcc-03-original.js e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 /tmp/emscripten_temp/emscripten.lock ``` From a broken...
I was wondering if perhaps it's the image ports, as most people would be using sdl_image? Does SDL bundle it's own version of zlib, something like that? Is there a...
Thanks, I tried that and got ``` /emsdk/upstream/emscripten/cache/sysroot/lib/wasm32-emscripten/libfreetype.a(ftgzip.c.o): lazy definition of inflate /emsdk/upstream/emscripten/cache/sysroot/lib/wasm32-emscripten/libz.a(inflate.c.o): definition of inflate /emsdk/upstream/emscripten/cache/sysroot/lib/wasm32-emscripten/libpng.a(pngrutil.c.o): reference to inflate ``` Looks like Freetype embeds a copy of zlib: https://github.com/emscripten-ports/FreeType/blob/master/src/gzip/inflate.c...
Awesome, thanks! For (2), you had switched to upstream Freetype (#18095), but then reverted it (#18205). It looks like the port is still not using upstream Freetype. This patch is...
@sbc100 I upgraded to 3.1.61, and it's no longer random. But it also appears I have no way to influence the order the ports are linked. No matter how I...
Well it seems like the patches for freetype are a medium sized problem. Even though it should eventually be done, allowing the link arguments to control the order of linking...
Ah, I think I know what's happening. `read_ports` gets a directory listing. It calls `load_port` for each port which then calls `init_port`. `init_port` appends the port into the `ports` list....
Yeah that's fair. The more I'm looking at it, the wider the changes would need to be in order to honour the linker arguments order. Basically the whole thing would...