Skip to content

Cross compilation failed on x86_64 for target ARMv7 (32-bit) without using luajit and ck #562

@agrawalbs05

Description

@agrawalbs05

--- step1

git clone https://github.com/akopytov/sysbench
Cloning into 'sysbench'...
remote: Enumerating objects: 10609, done.
remote: Counting objects: 100% (3798/3798), done.
remote: Compressing objects: 100% (734/734), done.
remote: Total 10609 (delta 3205), reused 3064 (delta 3064), pack-reused 6811 (from 1)
Receiving objects: 100% (10609/10609), 5.09 MiB | 11.18 MiB/s, done.
Resolving deltas: 100% (7474/7474), done.
Updating files: 100% (930/930), done.

--- step2

arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--- step3

make distclean
make: *** No rule to make target 'distclean'.  Stop.

--- step4

./autogen.sh
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal -I m4
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:57: installing 'config/ar-lib'
configure.ac:39: installing 'config/compile'
configure.ac:26: installing 'config/config.guess'
configure.ac:26: installing 'config/config.sub'
configure.ac:31: installing 'config/install-sh'
configure.ac:31: installing 'config/missing'
src/Makefile.am: installing 'config/depcomp'
parallel-tests: installing 'config/test-driver'
autoreconf: Leaving directory '.'



 ./configure --host=arm-linux-gnueabihf CC=arm-linux-gnueabihf-gcc --without-mysql --without-pgsql --without-luajit --without-ck --enable-static --disable-shared CFLAGS="-march=armv7-a -mfloat-abi=hard"
configure: WARNING: unrecognized options: --without-luajit, --without-ck
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-gnueabihf
checking target system type... arm-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-gnueabihf-strip... arm-linux-gnueabihf-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for arm-linux-gnueabihf-gcc... arm-linux-gnueabihf-gcc
checking whether the C compiler works... no
configure: error: in `/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench':
configure: error: C compiler cannot create executables
See `config.log' for more details
bagrawal@automate:~/tools_aspeed/sysbench_aspeed/sysbench$ ./configure --host=arm-linux-gnueabihf CC=arm-linux-gnueabihf-gcc --without-mysql --without-pgsql --without-luajit --without-ck --enable-static --disable-shared
configure: WARNING: unrecognized options: --without-luajit, --without-ck
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-gnueabihf
checking target system type... arm-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-gnueabihf-strip... arm-linux-gnueabihf-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for arm-linux-gnueabihf-gcc... arm-linux-gnueabihf-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether arm-linux-gnueabihf-gcc accepts -g... yes
checking for arm-linux-gnueabihf-gcc option to enable C11 features... none needed
checking whether arm-linux-gnueabihf-gcc understands -c and -o together... yes
checking dependency style of arm-linux-gnueabihf-gcc... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for sys/param.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for arm-linux-gnueabihf-gcc... (cached) arm-linux-gnueabihf-gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether arm-linux-gnueabihf-gcc accepts -g... (cached) yes
checking for arm-linux-gnueabihf-gcc option to enable C11 features... (cached) none needed
checking whether arm-linux-gnueabihf-gcc understands -c and -o together... (cached) yes
checking dependency style of arm-linux-gnueabihf-gcc... (cached) gcc3
checking how to run the C preprocessor... arm-linux-gnueabihf-gcc -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for C compiler vendor... gnu
checking for gcc architecture flag...
checking for gcc architecture flag... unknown
checking for arm-linux-gnueabihf-ar... arm-linux-gnueabihf-ar
checking the archiver (arm-linux-gnueabihf-ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by arm-linux-gnueabihf-gcc... /usr/arm-linux-gnueabihf/bin/ld
checking if the linker (/usr/arm-linux-gnueabihf/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/arm-linux-gnueabihf-nm -B
checking the name lister (/usr/bin/arm-linux-gnueabihf-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to arm-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/arm-linux-gnueabihf/bin/ld option to reload object files... -r
checking for arm-linux-gnueabihf-file... no
checking for file... file
configure: WARNING: using cross tools not prefixed with host triplet
checking for arm-linux-gnueabihf-objdump... arm-linux-gnueabihf-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-gnueabihf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-gnueabihf-ar... (cached) arm-linux-gnueabihf-ar
checking for archiver @FILE support... @
checking for arm-linux-gnueabihf-strip... (cached) arm-linux-gnueabihf-strip
checking for arm-linux-gnueabihf-ranlib... arm-linux-gnueabihf-ranlib
checking command to parse /usr/bin/arm-linux-gnueabihf-nm -B output from arm-linux-gnueabihf-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for arm-linux-gnueabihf-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-linux-gnueabihf-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-linux-gnueabihf-gcc option to produce PIC... -fPIC -DPIC
checking if arm-linux-gnueabihf-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-linux-gnueabihf-gcc static flag -static works... yes
checking if arm-linux-gnueabihf-gcc supports -c -o file.o... yes
checking if arm-linux-gnueabihf-gcc supports -c -o file.o... (cached) yes
checking whether the arm-linux-gnueabihf-gcc linker (/usr/arm-linux-gnueabihf/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for pkg-config... yes
checking for C compiler vendor... (cached) gnu
checking 32-bit host C ABI... yes
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib32,lib
checking whether to compile with MySQL support... no
checking whether to compile with PostgreSQL support... no
checking for arm-linux-gnueabihf-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to build with system or bundled LuaJIT... bundled
checking whether to build with system or bundled Concurrency Kit... bundled
checking for arm-linux-gnueabihf-gcc options needed to detect all undeclared functions... none needed
checking whether SHM_HUGETLB is declared... yes
checking whether O_SYNC is declared... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for sqrt in -lm... yes
checking for libaio.h... no
checking for errno.h... yes
checking for fcntl.h... yes
checking for math.h... yes
checking for pthread.h... yes
checking for sched.h... yes
checking for signal.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/aio.h... no
checking for sys/ipc.h... yes
checking for sys/time.h... yes
checking for sys/mman.h... yes
checking for sys/shm.h... yes
checking for thread.h... no
checking for unistd.h... (cached) yes
checking for limits.h... yes
checking for libgen.h... yes
checking for off_t... yes
checking for thread local storage (TLS) class... _Thread_local
checking for __attribute__((format))... yes
checking for __attribute__((unused))... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking size of size_t... 4
checking size of bool... 1
checking for getpagesize... yes
checking for working mmap... yes
checking whether strerror_r is declared... yes
checking whether strerror_r returns char *... yes
checking for library containing clock_gettime... none required
checking for alarm... yes
checking for clock_gettime... yes
checking for directio... no
checking for fdatasync... yes
checking for gettimeofday... yes
checking for isatty... yes
checking for memalign... yes
checking for memset... yes
checking for posix_memalign... yes
checking for pthread_cancel... yes
checking for pthread_yield... no
checking for setvbuf... yes
checking for sqrt... yes
checking for strdup... yes
checking for thr_setconcurrency... no
checking for valloc... yes
checking for pthread_once... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating third_party/luajit/Makefile
config.status: creating third_party/concurrency_kit/Makefile
config.status: creating src/Makefile
config.status: creating src/drivers/Makefile
config.status: creating src/drivers/mysql/Makefile
config.status: creating src/drivers/pgsql/Makefile
config.status: creating src/tests/Makefile
config.status: creating src/tests/cpu/Makefile
config.status: creating src/tests/fileio/Makefile
config.status: creating src/tests/memory/Makefile
config.status: creating src/tests/threads/Makefile
config.status: creating src/tests/mutex/Makefile
config.status: creating src/lua/Makefile
config.status: creating src/lua/internal/Makefile
config.status: creating tests/Makefile
config.status: creating tests/include/config.sh
config.status: creating snap/snapcraft.yaml
config.status: creating config/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --without-luajit, --without-ck
===============================================================================
sysbench version   : 1.1.0-3ceba0b
CC                 : arm-linux-gnueabihf-gcc
CFLAGS             : -O3 -funroll-loops  -Wall -Wextra -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wno-format-zero-length -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wcast-align -Wvla
CPPFLAGS           : -D_GNU_SOURCE   -I$(top_srcdir)/src -I$(abs_top_builddir)/third_party/luajit/inc -I$(abs_top_builddir)/third_party/concurrency_kit/include
LDFLAGS            :
LIBS               : -lm

prefix             : /usr/local
bindir             : ${prefix}/bin
libexecdir         : ${prefix}/libexec
mandir             : ${prefix}/share/man
datadir            : ${prefix}/share

MySQL support      : no
PostgreSQL support : no

LuaJIT             : bundled
LUAJIT_CFLAGS      : -I$(abs_top_builddir)/third_party/luajit/inc
LUAJIT_LIBS        : $(abs_top_builddir)/third_party/luajit/lib/libluajit-5.1.a -ldl
LUAJIT_LDFLAGS     : -rdynamic

Concurrency Kit    : bundled
CK_CFLAGS          : -I$(abs_top_builddir)/third_party/concurrency_kit/include
CK_LIBS            : $(abs_top_builddir)/third_party/concurrency_kit/lib/libck.a
configure flags    :
===============================================================================

--- step5

 make -j$(nproc)
Making all in third_party/luajit
make[1]: Entering directory '/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit'
make -C ./luajit clean
make[2]: Entering directory '/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/luajit'
make -C src clean
make[3]: Entering directory '/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/luajit/src'
rm -f luajit libluajit.a libluajit.so host/minilua host/buildvm lj_vm.S lj_bcdef.h lj_ffdef.h lj_libdef.h lj_recdef.h lj_folddef.h host/buildvm_arch.h jit/vmdef.lua *.o host/*.o *.obj *.lib *.exp *.dll *.exe *.manifest *.pdb *.ilk
make[3]: Leaving directory '/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/luajit/src'
make[2]: Leaving directory '/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/luajit'
rm -rf tmp
mkdir tmp
tar -C . -cf - luajit | tar -xf - -C tmp/
chmod -R u+w tmp
make -C tmp/luajit \
                PREFIX=/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit \
                INSTALL_INC=/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/inc \
                install
make[2]: Entering directory '/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/tmp/luajit'
==== Building LuaJIT 2.1.0-beta3 ====
make -C src
make[3]: Entering directory '/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/tmp/luajit/src'
HOSTCC    host/minilua.o
HOSTCC    host/buildvm_asm.o
HOSTCC    host/buildvm_peobj.o
HOSTCC    host/buildvm_lib.o
HOSTCC    host/buildvm_fold.o
CC        lj_assert.o
CC        lj_gc.o
CC        lj_char.o
CC        lj_obj.o
CC        lj_buf.o
CC        lj_str.o
CC        lj_tab.o
CC        lj_func.o
CC        lj_udata.o
CC        lj_meta.o
CC        lj_debug.o
CC        lj_prng.o
CC        lj_state.o
CC        lj_vmevent.o
CC        lj_vmmath.o
CC        lj_strscan.o
CC        lj_strfmt.o
CC        lj_strfmt_num.o
CC        lj_serialize.o
CC        lj_api.o
CC        lj_profile.o
CC        lj_lex.o
CC        lj_parse.o
CC        lj_bcread.o
CC        lj_bcwrite.o
CC        lj_load.o
CC        lj_ir.o
CC        lj_opt_mem.o
CC        lj_opt_narrow.o
CC        lj_opt_dce.o
CC        lj_opt_loop.o
CC        lj_opt_split.o
CC        lj_opt_sink.o
CC        lj_mcode.o
CC        lj_snap.o
CC        lj_asm.o
CC        lj_trace.o
CC        lj_gdbjit.o
CC        lj_ctype.o
CC        lj_cdata.o
CC        lj_cconv.o
CC        lj_ccall.o
CC        lj_ccallback.o
CC        lj_carith.o
CC        lj_clib.o
CC        lj_cparse.o
CC        lj_lib.o
CC        lj_alloc.o
CC        lib_aux.o
CC        lib_package.o
CC        lib_init.o
CC        luajit.o
HOSTLINK  host/minilua
DYNASM    host/buildvm_arch.h
HOSTCC    host/buildvm.o
HOSTLINK  host/buildvm
BUILDVM   lj_vm.S
BUILDVM   lj_ffdef.h
BUILDVM   lj_bcdef.h
BUILDVM   lj_folddef.h
BUILDVM   lj_recdef.h
BUILDVM   lj_libdef.h
BUILDVM   jit/vmdef.lua
ASM       lj_vm.o
CC        lj_bc.o
CC        lib_math.o
CC        lib_os.o
CC        lib_debug.o
CC        lib_jit.o
CC        lib_ffi.o
CC        lib_buffer.o
CC        lj_err.o
CC        lj_dispatch.o
CC        lj_record.o
CC        lj_crecord.o
CC        lj_ffrecord.o
CC        lib_base.o
CC        lib_bit.o
CC        lib_string.o
CC        lib_table.o
CC        lib_io.o
CC        lj_opt_fold.o
AR        libluajit.a
DYNLINK   libluajit.so
LINK      luajit
OK        Successfully built LuaJIT
make[3]: Leaving directory '/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/tmp/luajit/src'
==== Successfully built LuaJIT 2.1.0-beta3 ====
==== Installing LuaJIT 2.1.0-beta3 to /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit ====
mkdir -p /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/bin /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/lib /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/inc /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/share/man/man1 /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/lib/pkgconfig /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/share/luajit-2.1.0-beta3/jit /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/share/lua/5.1 /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/lib/lua/5.1
cd src && install -m 0755 luajit /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/bin/luajit-2.1.0-beta3
cd src && test -f libluajit.a && install -m 0644 libluajit.a /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/lib/libluajit-5.1.a || :
rm -f /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/lib/libluajit-5.1.so.2.1.0 /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/lib/libluajit-5.1.so /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/lib/libluajit-5.1.so.2
cd src && test -f libluajit.so && \
  install -m 0755 libluajit.so /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/lib/libluajit-5.1.so.2.1.0 && \
  ( ldconfig -n 2>/dev/null /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/lib || : ) && \
  ln -sf libluajit-5.1.so.2.1.0 /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/lib/libluajit-5.1.so && \
  ln -sf libluajit-5.1.so.2.1.0 /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/lib/libluajit-5.1.so.2 || :
cd etc && install -m 0644 luajit.1 /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/share/man/man1
cd etc && sed -e "s|^prefix=.*|prefix=/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit|" -e "s|^multilib=.*|multilib=lib|" -e "s|^includedir=.*|includedir=/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/inc|" luajit.pc > luajit.pc.tmp && \
  install -m 0644 luajit.pc.tmp /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/lib/pkgconfig/luajit.pc && \
  rm -f luajit.pc.tmp
cd src && install -m 0644 lua.h lualib.h lauxlib.h luaconf.h lua.hpp luajit.h /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/inc
cd src/jit && install -m 0644 bc.lua bcsave.lua dump.lua p.lua v.lua zone.lua dis_x86.lua dis_x64.lua dis_arm.lua dis_arm64.lua dis_arm64be.lua dis_ppc.lua dis_mips.lua dis_mipsel.lua dis_mips64.lua dis_mips64el.lua vmdef.lua /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/share/luajit-2.1.0-beta3/jit
==== Successfully installed LuaJIT 2.1.0-beta3 to /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit ====

Note: the development releases deliberately do NOT install a symlink for luajit
You can do this now by running this command (with sudo):

  ln -sf luajit-2.1.0-beta3 /User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/bin/luajit

make[2]: Leaving directory '/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit/tmp/luajit'
make[1]: Leaving directory '/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/luajit'
Making all in third_party/concurrency_kit
make[1]: Entering directory '/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/concurrency_kit'
rm -rf tmp
mkdir tmp
tar -C . -cf - ck | tar -xf - -C tmp/
chmod -R u+w tmp
cd tmp/ck &&                        \
CC="arm-linux-gnueabihf-gcc"                          \
CFLAGS="-O3 -funroll-loops  -D_GNU_SOURCE "      \
LDFLAGS=""                \
  ./configure  \
  --prefix=/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/concurrency_kit && \
make && \
make install
Detecting operating system.......success [linux]
Detecting machine architecture...success [x86_64]
Finding dirname command..........success [/usr/bin/dirname]
Determining build directory......success [/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/concurrency_kit/tmp/ck]
Finding gzip tool................success [/usr/bin/gzip]
Finding suitable compiler........failed  [update compiler]
make[1]: *** [Makefile:510: lib/libck.a] Error 1
make[1]: Leaving directory '/User_data/home/bagrawal/tools_aspeed/sysbench_aspeed/sysbench/third_party/concurrency_kit'
make: *** [Makefile:483: all-recursive] Error 1

--- step6

file src/sysbench
src/sysbench: cannot open `src/sysbench' (No such file or directory)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions