Closed orbea closed 6 years ago
@leiradel Can you take a look at this?
Its failing for the cores-android-cross
buildbot recipe too.
/home/buildbot/tools/android/android-ndk-r13b//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -o gw_libretro.android_armeabi-v7a.so ../src/libretro.android_armeabi-v7a.o ../src/version.android_armeabi-v7a.o ../src/missing.android_armeabi-v7a.o ../gwrom/gwrom.android_armeabi-v7a.o ../gwlua/bsreader.android_armeabi-v7a.o ../gwlua/functions.android_armeabi-v7a.o ../gwlua/gwlua.android_armeabi-v7a.o ../gwlua/image.android_armeabi-v7a.o ../gwlua/ref.android_armeabi-v7a.o ../gwlua/sound.android_armeabi-v7a.o ../gwlua/timer.android_armeabi-v7a.o ../retroluxury/src/rl_backgrnd.android_armeabi-v7a.o ../retroluxury/src/rl_image.android_armeabi-v7a.o ../retroluxury/src/rl_map.android_armeabi-v7a.o ../retroluxury/src/rl_rand.android_armeabi-v7a.o ../retroluxury/src/rl_sound.android_armeabi-v7a.o ../retroluxury/src/rl_sprite.android_armeabi-v7a.o ../retroluxury/src/rl_tile.android_armeabi-v7a.o ../retroluxury/src/rl_version.android_armeabi-v7a.o ../bzip2/blocksort.android_armeabi-v7a.o ../bzip2/huffman.android_armeabi-v7a.o ../bzip2/crctable.android_armeabi-v7a.o ../bzip2/randtable.android_armeabi-v7a.o ../bzip2/compress.android_armeabi-v7a.o ../bzip2/decompress.android_armeabi-v7a.o ../bzip2/bzlib.android_armeabi-v7a.o ../lua/src/lapi.android_armeabi-v7a.o ../lua/src/lcode.android_armeabi-v7a.o ../lua/src/lctype.android_armeabi-v7a.o ../lua/src/ldebug.android_armeabi-v7a.o ../lua/src/ldo.android_armeabi-v7a.o ../lua/src/ldump.android_armeabi-v7a.o ../lua/src/lfunc.android_armeabi-v7a.o ../lua/src/lgc.android_armeabi-v7a.o ../lua/src/llex.android_armeabi-v7a.o ../lua/src/lmem.android_armeabi-v7a.o ../lua/src/lobject.android_armeabi-v7a.o ../lua/src/lopcodes.android_armeabi-v7a.o ../lua/src/lparser.android_armeabi-v7a.o ../lua/src/lstate.android_armeabi-v7a.o ../lua/src/lstring.android_armeabi-v7a.o ../lua/src/ltable.android_armeabi-v7a.o ../lua/src/ltm.android_armeabi-v7a.o ../lua/src/lundump.android_armeabi-v7a.o ../lua/src/lvm.android_armeabi-v7a.o ../lua/src/lzio.android_armeabi-v7a.o ../lua/src/lauxlib.android_armeabi-v7a.o ../lua/src/lbaselib.android_armeabi-v7a.o ../lua/src/lbitlib.android_armeabi-v7a.o ../lua/src/lcorolib.android_armeabi-v7a.o ../lua/src/ldblib.android_armeabi-v7a.o ../lua/src/lmathlib.android_armeabi-v7a.o ../lua/src/lstrlib.android_armeabi-v7a.o ../lua/src/ltablib.android_armeabi-v7a.o ../lua/src/lutf8lib.android_armeabi-v7a.o ../lua/src/loadlib.android_armeabi-v7a.o -shared --sysroot=/home/buildbot/tools/android/android-ndk-r13b//platforms/android-3/arch-arm -lgcc -no-canonical-prefixes -march=armv7-a -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm
/home/buildbot/tools/android/android-ndk-r13b//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtbegin_so.o: No such file or directory
/home/buildbot/tools/android/android-ndk-r13b//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtend_so.o: No such file or directory
/home/buildbot/tools/android/android-ndk-r13b//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc
/home/buildbot/tools/android/android-ndk-r13b//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lm
/home/buildbot/tools/android/android-ndk-r13b//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc
/home/buildbot/tools/android/android-ndk-r13b//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl
../src/libretro.android_armeabi-v7a.o:libretro.c:function gwlua_load_value: error: undefined reference to 'strcmp'
../src/libretro.android_armeabi-v7a.o:libretro.c:function gwlua_save_value: error: undefined reference to 'strcmp'
../src/libretro.android_armeabi-v7a.o:libretro.c:function gwlua_save_value: error: undefined reference to 'strncpy'
../src/libretro.android_armeabi-v7a.o:libretro.c:function gwlua_save_value: error: undefined reference to 'strncpy'
../src/libretro.android_armeabi-v7a.o:libretro.c:function gwlua_vlog: error: undefined reference to 'vsnprintf'
../src/libretro.android_armeabi-v7a.o:libretro.c:function gwlua_vlog: error: undefined reference to '__stack_chk_fail'
../src/libretro.android_armeabi-v7a.o:libretro.c:function gwlua_vlog: error: undefined reference to '__stack_chk_guard'
../src/libretro.android_armeabi-v7a.o:libretro.c:function retro_load_game: error: undefined reference to 'memset'
../gwrom/gwrom.android_armeabi-v7a.o:gwrom.c:function bzalloc: error: undefined reference to 'malloc'
../gwrom/gwrom.android_armeabi-v7a.o:gwrom.c:function bzfree: error: undefined reference to 'free'
../gwrom/gwrom.android_armeabi-v7a.o:gwrom.c:function iterate_tar_v7: error: undefined reference to 'strtol'
../gwrom/gwrom.android_armeabi-v7a.o:gwrom.c:function init_tar_v7: error: undefined reference to 'strtol'
../gwrom/gwrom.android_armeabi-v7a.o:gwrom.c:function find_tar_v7: error: undefined reference to 'strtol'
../gwrom/gwrom.android_armeabi-v7a.o:gwrom.c:function find_tar_v7: error: undefined reference to 'strcmp'
../gwrom/gwrom.android_armeabi-v7a.o:gwrom.c:function identify_tar_v7: error: undefined reference to 'strtol'
../gwrom/gwrom.android_armeabi-v7a.o:gwrom.c:function identify_tar_v7: error: undefined reference to '__errno'
../gwrom/gwrom.android_armeabi-v7a.o:gwrom.c:function decompress_bzip2: error: undefined reference to 'malloc'
../gwrom/gwrom.android_armeabi-v7a.o:gwrom.c:function decompress_bzip2: error: undefined reference to '__stack_chk_fail'
../gwrom/gwrom.android_armeabi-v7a.o:gwrom.c:function decompress_bzip2: error: undefined reference to '__stack_chk_guard'
../gwrom/gwrom.android_armeabi-v7a.o:gwrom.c:function gwrom_init: error: undefined reference to 'malloc'
../gwrom/gwrom.android_armeabi-v7a.o:gwrom.c:function gwrom_init: error: undefined reference to 'memcpy'
../gwrom/gwrom.android_armeabi-v7a.o:gwrom.c:function gwrom_destroy: error: undefined reference to 'free'
../gwlua/bsreader.android_armeabi-v7a.o:bsreader.c:function bsnew: error: undefined reference to 'malloc'
../gwlua/functions.android_armeabi-v7a.o:functions.c:function l_bsread: error: undefined reference to 'free'
../gwlua/functions.android_armeabi-v7a.o:functions.c:function l_inputstate: error: undefined reference to 'snprintf'
../gwlua/functions.android_armeabi-v7a.o:functions.c:function l_inputstate: error: undefined reference to 'snprintf'
../gwlua/functions.android_armeabi-v7a.o:functions.c:function l_inputstate: error: undefined reference to '__stack_chk_fail'
../gwlua/functions.android_armeabi-v7a.o:functions.c:function l_inputstate: error: undefined reference to 'snprintf'
../gwlua/functions.android_armeabi-v7a.o:functions.c:function l_inputstate: error: undefined reference to '__stack_chk_guard'
../gwlua/functions.android_armeabi-v7a.o:functions.c:function l_splittime: error: undefined reference to 'localtime'
../gwlua/functions.android_armeabi-v7a.o:functions.c:function l_now: error: undefined reference to 'time'
../gwlua/functions.android_armeabi-v7a.o:functions.c:function l_round: error: undefined reference to 'floor'
../gwlua/functions.android_armeabi-v7a.o:functions.c:function l_round: error: undefined reference to 'ceil'
../gwlua/functions.android_armeabi-v7a.o:functions.c:function l_randomize: error: undefined reference to 'time'
../gwlua/functions.android_armeabi-v7a.o:functions.c:function l_loadvalue: error: undefined reference to 'strcmp'
../gwlua/functions.android_armeabi-v7a.o:functions.c:function in_word_set: error: undefined reference to 'memcmp'
../gwlua/functions.android_armeabi-v7a.o:functions.c:function register_functions: error: undefined reference to 'memset'
../gwlua/gwlua.android_armeabi-v7a.o:gwlua.c:function l_alloc: error: undefined reference to 'free'
../gwlua/gwlua.android_armeabi-v7a.o:gwlua.c:function l_alloc: error: undefined reference to 'realloc'
../gwlua/gwlua.android_armeabi-v7a.o:gwlua.c:function gwlua_create: error: undefined reference to 'memset'
../retroluxury/src/rl_backgrnd.android_armeabi-v7a.o:rl_backgrnd.c:function rl_backgrnd_scroll: error: undefined reference to 'memmove'
../retroluxury/src/rl_image.android_armeabi-v7a.o:rl_image.c:function rl_image_blit_nobg: error: undefined reference to 'memcpy'
../retroluxury/src/rl_image.android_armeabi-v7a.o:rl_image.c:function rl_image_blit: error: undefined reference to 'memcpy'
../retroluxury/src/rl_image.android_armeabi-v7a.o:rl_image.c:function rl_image_blit: error: undefined reference to 'memcpy'
../retroluxury/src/rl_map.android_armeabi-v7a.o:rl_map.c:function rl_map_create: error: undefined reference to 'memset'
../retroluxury/src/rl_sprite.android_armeabi-v7a.o:rl_sprite.c:function rl_sprites_blit_nobg: error: undefined reference to 'qsort'
../retroluxury/src/rl_sprite.android_armeabi-v7a.o:rl_sprite.c:function rl_sprites_blit: error: undefined reference to 'qsort'
../bzip2/blocksort.android_armeabi-v7a.o:blocksort.c:function mainSort.isra.1: error: undefined reference to '__stack_chk_guard'
../bzip2/blocksort.android_armeabi-v7a.o:blocksort.c:function mainSort.isra.1: error: undefined reference to '__stack_chk_fail'
../bzip2/decompress.android_armeabi-v7a.o:decompress.c:function BZ2_decompress: error: undefined reference to 'memmove'
../lua/src/ldebug.android_armeabi-v7a.o:ldebug.c:function lua_getinfo: error: undefined reference to 'strchr'
../lua/src/ldebug.android_armeabi-v7a.o:ldebug.c:function lua_getinfo: error: undefined reference to 'strchr'
../lua/src/ldo.android_armeabi-v7a.o:ldo.c:function luaD_throw: error: undefined reference to 'longjmp'
../lua/src/ldo.android_armeabi-v7a.o:ldo.c:function luaD_throw: error: undefined reference to 'abort'
../lua/src/ldo.android_armeabi-v7a.o:ldo.c:function f_parser: error: undefined reference to 'strchr'
../lua/src/ldo.android_armeabi-v7a.o:ldo.c:function f_parser: error: undefined reference to 'strchr'
../lua/src/ldo.android_armeabi-v7a.o:ldo.c:function luaD_rawrunprotected: error: undefined reference to 'setjmp'
../lua/src/ldo.android_armeabi-v7a.o:ldo.c:function luaD_rawrunprotected.constprop.6: error: undefined reference to 'setjmp'
../lua/src/ldo.android_armeabi-v7a.o:ldo.c:function luaD_precall: error: undefined reference to 'memmove'
../lua/src/ldo.android_armeabi-v7a.o:ldo.c:function luaD_rawrunprotected.constprop.5: error: undefined reference to 'setjmp'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_arith: error: undefined reference to 'fmod'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_arith: error: undefined reference to 'floor'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_arith: error: undefined reference to 'pow'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_arith: error: undefined reference to 'pow'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_str2num: error: undefined reference to 'strpbrk'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_str2num: error: undefined reference to 'strtod'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_tostring: error: undefined reference to 'sprintf'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_tostring: error: undefined reference to 'strspn'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_tostring: error: undefined reference to 'sprintf'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_pushvfstring: error: undefined reference to 'strlen'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_pushvfstring: error: undefined reference to 'sprintf'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_pushvfstring: error: undefined reference to 'sprintf'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_pushvfstring: error: undefined reference to 'strspn'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_pushvfstring: error: undefined reference to 'strspn'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_pushvfstring: error: undefined reference to 'strlen'
../lua/src/lobject.android_armeabi-v7a.o:lobject.c:function luaO_chunkid: error: undefined reference to 'strlen'
../lua/src/lstate.android_armeabi-v7a.o:lstate.c:function lua_newstate: error: undefined reference to 'time'
../lua/src/lstring.android_armeabi-v7a.o:lstring.c:function luaS_eqlngstr: error: undefined reference to 'memcmp'
../lua/src/lstring.android_armeabi-v7a.o:lstring.c:function luaS_newlstr: error: undefined reference to 'memcmp'
../lua/src/lstring.android_armeabi-v7a.o:lstring.c:function luaS_new: error: undefined reference to 'strlen'
../lua/src/lstring.android_armeabi-v7a.o:lstring.c:function luaS_new: error: undefined reference to 'memcmp'
../lua/src/ltable.android_armeabi-v7a.o:ltable.c:function luaH_next: error: undefined reference to 'frexp'
../lua/src/ltable.android_armeabi-v7a.o:ltable.c:function luaH_get: error: undefined reference to 'floor'
../lua/src/ltable.android_armeabi-v7a.o:ltable.c:function luaH_get: error: undefined reference to 'frexp'
../lua/src/ltable.android_armeabi-v7a.o:ltable.c:function luaH_set: error: undefined reference to 'floor'
../lua/src/ltable.android_armeabi-v7a.o:ltable.c:function luaH_set: error: undefined reference to 'frexp'
../lua/src/ltable.android_armeabi-v7a.o:ltable.c:function luaH_newkey: error: undefined reference to 'frexp'
../lua/src/lvm.android_armeabi-v7a.o:lvm.c:function luaV_lessthan: error: undefined reference to 'strcoll'
../lua/src/lvm.android_armeabi-v7a.o:lvm.c:function luaV_lessequal: error: undefined reference to 'strcoll'
../lua/src/lvm.android_armeabi-v7a.o:lvm.c:function luaV_execute: error: undefined reference to 'fmod'
../lua/src/lvm.android_armeabi-v7a.o:lvm.c:function luaV_execute: error: undefined reference to 'pow'
../lua/src/lvm.android_armeabi-v7a.o:lvm.c:function luaV_execute: error: undefined reference to 'strcoll'
../lua/src/lvm.android_armeabi-v7a.o:lvm.c:function luaV_execute: error: undefined reference to 'strcoll'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function getF: error: undefined reference to 'fread'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function panic: error: undefined reference to 'fprintf'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function panic: error: undefined reference to 'fflush'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function panic: error: undefined reference to '__sF'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function l_alloc: error: undefined reference to 'realloc'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_traceback: error: undefined reference to 'strncmp'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_argerror: error: undefined reference to 'strncmp'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_fileresult: error: undefined reference to '__errno'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_fileresult: error: undefined reference to 'strerror'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_fileresult: error: undefined reference to 'strerror'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_loadfilex: error: undefined reference to 'fopen'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_loadfilex: error: undefined reference to 'getc'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_loadfilex: error: undefined reference to 'fclose'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_loadfilex: error: undefined reference to 'getc'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_loadfilex: error: undefined reference to 'getc'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_loadfilex: error: undefined reference to 'getc'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_loadfilex: error: undefined reference to 'freopen'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_loadfilex: error: undefined reference to '__errno'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_loadfilex: error: undefined reference to 'strerror'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_loadfilex: error: undefined reference to '__errno'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_loadfilex: error: undefined reference to 'strerror'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_loadfilex: error: undefined reference to '__sF'
../lua/src/lauxlib.android_armeabi-v7a.o:lauxlib.c:function luaL_gsub: error: undefined reference to 'strstr'
../lua/src/lbaselib.android_armeabi-v7a.o:lbaselib.c:function luaB_tonumber: error: undefined reference to 'strspn'
../lua/src/lbaselib.android_armeabi-v7a.o:lbaselib.c:function luaB_tonumber: error: undefined reference to '_ctype_'
../lua/src/lbaselib.android_armeabi-v7a.o:lbaselib.c:function luaB_tonumber: error: undefined reference to '_toupper_tab_'
../lua/src/lbaselib.android_armeabi-v7a.o:lbaselib.c:function luaB_print: error: undefined reference to 'fwrite'
../lua/src/lbaselib.android_armeabi-v7a.o:lbaselib.c:function luaB_print: error: undefined reference to 'fwrite'
../lua/src/lbaselib.android_armeabi-v7a.o:lbaselib.c:function luaB_print: error: undefined reference to 'fwrite'
../lua/src/lbaselib.android_armeabi-v7a.o:lbaselib.c:function luaB_print: error: undefined reference to 'fflush'
../lua/src/lbaselib.android_armeabi-v7a.o:lbaselib.c:function luaB_print: error: undefined reference to '__sF'
../lua/src/ldblib.android_armeabi-v7a.o:ldblib.c:function db_debug: error: undefined reference to 'fprintf'
../lua/src/ldblib.android_armeabi-v7a.o:ldblib.c:function db_debug: error: undefined reference to 'fflush'
../lua/src/ldblib.android_armeabi-v7a.o:ldblib.c:function db_debug: error: undefined reference to 'fwrite'
../lua/src/ldblib.android_armeabi-v7a.o:ldblib.c:function db_debug: error: undefined reference to 'fflush'
../lua/src/ldblib.android_armeabi-v7a.o:ldblib.c:function db_debug: error: undefined reference to 'fgets'
../lua/src/ldblib.android_armeabi-v7a.o:ldblib.c:function db_debug: error: undefined reference to '__sF'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_tan: error: undefined reference to 'tan'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_sqrt: error: undefined reference to 'sqrt'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_sin: error: undefined reference to 'sin'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_randomseed: error: undefined reference to 'srand48'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_randomseed: error: undefined reference to 'lrand48'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_log: error: undefined reference to 'log'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_log: error: undefined reference to 'log'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_log: error: undefined reference to 'log10'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_log: error: undefined reference to 'log'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_exp: error: undefined reference to 'exp'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_cos: error: undefined reference to 'cos'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_atan: error: undefined reference to 'atan2'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_asin: error: undefined reference to 'asin'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_acos: error: undefined reference to 'acos'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_random: error: undefined reference to 'lrand48'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_modf: error: undefined reference to 'ceil'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_fmod: error: undefined reference to 'fmod'
../lua/src/lmathlib.android_armeabi-v7a.o:lmathlib.c:function math_ceil: error: undefined reference to 'ceil'
../lua/src/lstrlib.android_armeabi-v7a.o:lstrlib.c:function str_upper: error: undefined reference to '_toupper_tab_'
../lua/src/lstrlib.android_armeabi-v7a.o:lstrlib.c:function str_lower: error: undefined reference to '_tolower_tab_'
../lua/src/lstrlib.android_armeabi-v7a.o:lstrlib.c:function str_format: error: undefined reference to '_ctype_'
../lua/src/lstrlib.android_armeabi-v7a.o:lstrlib.c:function match: error: undefined reference to '_tolower_tab_'
../lua/src/lstrlib.android_armeabi-v7a.o:lstrlib.c:function match: error: undefined reference to '_ctype_'
../lua/src/lstrlib.android_armeabi-v7a.o:lstrlib.c:function str_find_aux: error: undefined reference to 'memchr'
../lua/src/lstrlib.android_armeabi-v7a.o:lstrlib.c:function str_find_aux: error: undefined reference to 'strpbrk'
../lua/src/loadlib.android_armeabi-v7a.o:loadlib.c:function searchpath: error: undefined reference to 'fopen'
../lua/src/loadlib.android_armeabi-v7a.o:loadlib.c:function searchpath: error: undefined reference to 'fclose'
../lua/src/loadlib.android_armeabi-v7a.o:loadlib.c:function luaopen_package: error: undefined reference to 'getenv'
../lua/src/loadlib.android_armeabi-v7a.o:loadlib.c:function luaopen_package: error: undefined reference to 'getenv'
../lua/src/loadlib.android_armeabi-v7a.o:loadlib.c:function luaopen_package: error: undefined reference to 'getenv'
../lua/src/loadlib.android_armeabi-v7a.o:loadlib.c:function luaopen_package: error: undefined reference to 'getenv'
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/arm/lib1funcs.S:1337: error: undefined reference to 'raise'
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/arm/pr-support.c:378: error: undefined reference to 'abort'
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/arm/pr-support.c:384: error: undefined reference to 'abort'
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:289: error: undefined reference to 'abort'
collect2: error: ld returned 1 exit status
Makefile.rules:26: recipe for target 'gw_libretro.android_armeabi-v7a.so' failed
make: *** [gw_libretro.android_armeabi-v7a.so] Error 1
COPY CMD: cp -v gw_libretro.android_armeabi-v7a.so /home/buildbot/buildbot/android/dist/android//armeabi-v7a/gw_libretro_android.so
cp: cannot stat 'gw_libretro.android_armeabi-v7a.so': No such file or directory
It was already failing to build for Android. For Linux, I believe the link command is missing a -lm
. Can you please see if that fixes the build?
The Linux makefiles in the build
folder already include -lm
. If you build with
$ make platform=linux_x86_64
or linux_x86
, it should build correctly. I'll try to fix Makefile.libretro
to add -lm
for Linux.
Yes, make platform=linux_x86_64
works.
This also works.
diff --git a/Makefile.libretro b/Makefile.libretro
index ce005ff..e6e4b7b 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -94,7 +94,7 @@ endif
ifneq (,$(findstring unix,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
- SHARED := -shared -Wl,-version-script=$(BUILD_DIR)/link.T -Wl,-no-undefined
+ SHARED := -lm -shared -Wl,-version-script=$(BUILD_DIR)/link.T -Wl,-no-undefined
# Raspberry Pi
else ifneq (,$(findstring rpi,$(platform)))
With
gcc-7.2.0
onSlackware64-current
I get this now. This started in commit 2f3029d453deda0e0519120f32d26bb0c125d2ce.