Fork me on GitHub
#lumo
<
2019-04-29
>
richiardiandrea21:04:08

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'

anmonteiro21:04:17

I dont thnk I have

anmonteiro21:04:48

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

anmonteiro21:04:38

@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

richiardiandrea21:04:51

oh wow ok cool thank you!

anmonteiro21:04:09

info here ^

👍 4
richiardiandrea23:04:06

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

anmonteiro23:04:37

I assumed you were trying to link with musl

richiardiandrea23:04:35

no well I was not aware of that 😄

richiardiandrea23:04:05

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