jerryscript icon indicating copy to clipboard operation
jerryscript copied to clipboard

Unittests build fails when LTO is disabled after #756

Open bzsolt opened this issue 10 years ago • 3 comments

LTO=OFF make unittests produces the following errors:

jerryscript/jerry-core/jerry.cpp:1409: undefined reference to `jerry_port_errormsg'
jerryscript/jerry-core/jerry.cpp:1398: undefined reference to `jerry_port_errormsg'
jerry-core/libunittests.jerry-core.a(lit-strings.cpp.o): In function `lit_put_ecma_char(unsigned short)':
jerryscript/jerry-core/lit/lit-strings.cpp:1013: undefined reference to `jerry_port_putchar'
jerryscript/jerry-core/lit/lit-strings.cpp:1008: undefined reference to `jerry_port_putchar'
jerry-core/libunittests.jerry-core.a(parser.cpp.o): In function `parse_property_name':
jerryscript/jerry-core/parser/js/parser.cpp:351: undefined reference to `jerry_port_putchar'
jerry-core/libunittests.jerry-core.a(parser.cpp.o): In function `current_token_must_be':
jerryscript/jerry-core/parser/js/parser.cpp:132: undefined reference to `jerry_port_putchar'
jerry-core/libunittests.jerry-core.a(parser.cpp.o): In function `jsp_find_next_token_before_the_locus':
jerryscript/jerry-core/parser/js/parser.cpp:272: undefined reference to `jerry_port_putchar'

bzsolt avatar Dec 09 '15 16:12 bzsolt

#756

egavrin avatar Dec 09 '15 17:12 egavrin

Sorry for build break...

seanshpark avatar Dec 10 '15 01:12 seanshpark

Fixed in fe2a76f

bzsolt avatar Dec 16 '15 09:12 bzsolt