Closed GoogleCodeExporter closed 9 years ago
1. make confload-arm/qemu 2. make -j 6 CROSS_COMPILE=arm-unknown-linux-gnueabi- Build fails with the following messages: arm-unknown-linux-gnueabi-ld --relax -N -g \ -T ./build/base/obj/mk/image.lds \ ./build/base/obj/embox-2.o \ --defsym=__symbol_table=0 \ --defsym=__symbol_table_size=0 \ --cref -Map build/base/obj/image_nosymbols.o.map \ -o build/base/obj/image_nosymbols.o ./build/base/obj/embox-2.o: In function `__spin_trylock_smp': src/include/kernel/spinlock.h:76: undefined reference to `__sync_bool_compare_and_swap_4' src/include/kernel/spinlock.h:76: undefined reference to `__sync_bool_compare_and_swap_4' src/include/kernel/spinlock.h:76: undefined reference to `__sync_bool_compare_and_swap_4' src/include/kernel/spinlock.h:76: undefined reference to `__sync_bool_compare_and_swap_4' make[4]: *** [build/base/obj/image_nosymbols.o] Ошибка 1 make[3]: *** [build] Ошибка 2 make[2]: *** [build] Ошибка 2 make[1]: *** [build] Ошибка 2 gcc version: 4.3.2 Too old gcc?
Original issue reported on code.google.com by vladisla...@gmail.com on 18 Apr 2014 at 1:53
vladisla...@gmail.com
Seems old gcc is a culprit: gcc 4.7.3 produces binary embox.
Original comment by vladisla...@gmail.com on 20 Apr 2014 at 5:22
Original issue reported on code.google.com by
vladisla...@gmail.com
on 18 Apr 2014 at 1:53