lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
richiardiandrea 2019-04-29T21:39:08.019300Z

getting an error with static compilation after the new changes... @anmonteiro have you ever seen this?

/bin/sh: line 1:   241 Segmentation fault      (core dumped) "/lumo/tmp/node/12.0.0/node-v12.0.0/out/Release/mksnapshot" /lumo/target/main.js --turbo_instruction_scheduling --embedded_variant Default --embedded_src "/lumo/tmp/node/12.0.0/node-v12.0.0/out/Release/obj.target/generate_snapshot/geni/embedded.S" --startup_src "/lumo/tmp/node/12.0.0/node-v12.0.0/out/Release/obj.target/generate_snapshot/geni/snapshot.cc" /lumo/target/main.js
make[1]: *** [38bdff0821254942b9284d2e64d641d7cbdcda3b.intermediate] Error 139
make[1]: *** Waiting for unfinished jobs....
rm ee5a4202917987fad683c491649d2d52ca90fca3.intermediate 38bdff0821254942b9284d2e64d641d7cbdcda3b.intermediate 88ef92d03823f4c5dc51d99466b5509573543fee.intermediate
make[1]: Leaving directory `/lumo/tmp/node/12.0.0/node-v12.0.0/out'

anmonteiro 2019-04-29T21:43:00.019700Z

unsure

anmonteiro 2019-04-29T21:43:17.019900Z

I dont thnk I have

anmonteiro 2019-04-29T21:43:48.020500Z

are you using the new required dependencies required by node 12?

anmonteiro 2019-04-29T21:44:38.020700Z

@richiardiandrea > With the release of Node.js 12, the codebase now requires a minimum of GCC 6 and glibc 2.17 on platforms other than macOS and Windows

richiardiandrea 2019-04-29T21:44:51.020900Z

oh wow ok cool thank you!

anmonteiro 2019-04-29T21:45:09.021400Z

info here ^

👍 1
richiardiandrea 2019-04-29T23:18:06.022300Z

I might have found the culprit for the crashes of the statically linked version of lumo

anmonteiro 2019-04-29T23:18:27.022800Z

oh uh

anmonteiro 2019-04-29T23:18:37.023100Z

I assumed you were trying to link with musl

richiardiandrea 2019-04-29T23:21:35.023500Z

no well I was not aware of that 😄

richiardiandrea 2019-04-29T23:22:05.024100Z

and Grav's runtime is installing glibc-static in the container so well...that's ok...learning 😄

richiardiandrea 2019-04-29T23:52:30.024400Z

interesting stuff here as well: https://stackoverflow.com/questions/17943595/how-to-compile-nodejs-to-a-single-fully-static-binary-file