jerryscript-project / jerryscript

Ultra-lightweight JavaScript engine for the Internet of Things.
https://jerryscript.net
Apache License 2.0
6.91k stars 669 forks source link

make precommit fail in ubunut 32bit while building stm32f3 #705

Closed seanshpark closed 8 years ago

seanshpark commented 8 years ago

run make precommit in ubuntu 32bit host machine. got error while building for stm32f3 with LTO enabled

make[5]: Entering directory 
`/.../harmony/jerryscript/build/obj-VALGRIND-OFF-VALGRIND_FREYA-OFF-LTO-ON/stm32f3'
...
/tmp/ccZjwwvg.ltrans0.ltrans.o: In function `main':
/../harmony/jerryscript/main-mcu.cpp:35: undefined reference to `jerry_run_simple'
collect2: error: ld returned 1 exit status
make[5]: *** [release.mcu_stm32f3-cp] Error 1
make[5]: Leaving directory 
`/.../harmony/jerryscript/build/obj-VALGRIND-OFF-VALGRIND_FREYA-OFF-LTO-ON/stm32f3'
make[4]: *** [CMakeFiles/release.mcu_stm32f3-cp.dir/all] Error 2
seanshpark commented 8 years ago

Success with 17a5dd27bbbadc036d83be0448f9edfa90800147