Hi All,

Since the NASM additions, I'm getting this build error when compiling for target x86_64:
I'm NOT getting the errors on builds for targets: ar71xx, cns3xxx, imx6


----------------------------------------------------------------------
Libraries have been installed in:
/mnt/ramdisk/koen/firmware/builds/generic_x86_64/staging_dir/toolchain-x86_64_gcc-7.3.0_musl/x86_64-openwrt-linux-musl/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[8]: Nothing to be done for 'install-data-am'.
make[8]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_x86_64/build_dir/toolchain-x86_64_gcc-7.3.0_musl/gcc-7.3.0-final/x86_64-openwrt-linux-musl/libatomic' make[7]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_x86_64/build_dir/toolchain-x86_64_gcc-7.3.0_musl/gcc-7.3.0-final/x86_64-openwrt-linux-musl/libatomic' make[6]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_x86_64/build_dir/toolchain-x86_64_gcc-7.3.0_musl/gcc-7.3.0-final/x86_64-openwrt-linux-musl/libatomic' make[5]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_x86_64/build_dir/toolchain-x86_64_gcc-7.3.0_musl/gcc-7.3.0-final' make[4]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_x86_64/build_dir/toolchain-x86_64_gcc-7.3.0_musl/gcc-7.3.0-final'
# Set up the symlinks to enable lying about target name.
set -e; (cd /mnt/ramdisk/koen/firmware/builds/generic_x86_64/staging_dir/toolchain-x86_64_gcc-7.3.0_musl; ln -sf x86_64-openwrt-linux-musl x86_64-openwrt-linux; cd bin; for app in x86_64-openwrt-linux-musl-* ; do ln -sf ${app} x86_64-openwrt-linux${app##x86_64-openwrt-linux-musl}; done; ); rm -f /mnt/ramdisk/koen/firmware/builds/generic_x86_64/staging_dir/toolchain-x86_64_gcc-7.3.0_musl/lib/libiberty.a /mnt/ramdisk/koen/firmware/builds/generic_x86_64/scripts/patch-specs.sh "/mnt/ramdisk/koen/firmware/builds/generic_x86_64/staging_dir/toolchain-x86_64_gcc-7.3.0_musl" Locating cpp ... /mnt/ramdisk/koen/firmware/builds/generic_x86_64/staging_dir/toolchain-x86_64_gcc-7.3.0_musl/bin/x86_64-openwrt-linux-cpp
Patching specs ... ok
Toolchain successfully patched.
mkdir -p /mnt/ramdisk/koen/firmware/builds/generic_x86_64/staging_dir/toolchain-x86_64_gcc-7.3.0_musl/stamp touch /mnt/ramdisk/koen/firmware/builds/generic_x86_64/build_dir/toolchain-x86_64_gcc-7.3.0_musl/gcc-7.3.0-final/.built touch /mnt/ramdisk/koen/firmware/builds/generic_x86_64/staging_dir/toolchain-x86_64_gcc-7.3.0_musl/stamp/.gcc_final_installed make[3]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_x86_64/toolchain/gcc/final'
time: toolchain/gcc/final/compile#842.26#58.81#973.67
make[3]: Entering directory '/mnt/ramdisk/koen/firmware/builds/generic_x86_64/toolchain/fortify-headers'
make[3]: Nothing to be done for 'compile'.
make[3]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_x86_64/toolchain/fortify-headers'
time: toolchain/fortify-headers/compile#0.00#0.00#0.01
make[3]: Entering directory '/mnt/ramdisk/koen/firmware/builds/generic_x86_64/toolchain/nasm' CFLAGS="-O2 -I/mnt/ramdisk/koen/firmware/builds/generic_x86_64/staging_dir/host/include " CPPFLAGS="-I/mnt/ramdisk/koen/firmware/builds/generic_x86_64/staging_dir/host/include " CXXFLAGS="" LDFLAGS="-L/mnt/ramdisk/koen/firmware/builds/generic_x86_64/staging_dir/host/lib " make  -C /mnt/ramdisk/koen/firmware/builds/generic_x86_64/build_dir/toolchain-x86_64_gcc-7.3.0_musl/nasm-2.13.03 make[4]: Entering directory '/mnt/ramdisk/koen/firmware/builds/generic_x86_64/build_dir/toolchain-x86_64_gcc-7.3.0_musl/nasm-2.13.03'
rm -f libnasm.a



cq libnasm.a stdlib/snprintf.o stdlib/vsnprintf.o stdlib/strlcpy.o stdlib/strnlen.o nasmlib/ver.o nasmlib/crc64.o nasmlib/malloc.o nasmlib/md5c.o nasmlib/string.o nasmlib/file.o nasmlib/mmap.o nasmlib/ilog2.o nasmlib/realpath.o nasmlib/path.o nasmlib/filename.o nasmlib/srcfile.o nasmlib/zerobuf.o nasmlib/readnum.o nasmlib/bsi.o nasmlib/rbtree.o nasmlib/hashtbl.o nasmlib/raa.o nasmlib/saa.o nasmlib/strlist.o nasmlib/perfhash.o nasmlib/badenum.o common/common.o x86/insnsa.o x86/insnsb.o x86/insnsd.o x86/insnsn.o x86/regs.o x86/regvals.o x86/regflags.o x86/regdis.o x86/disp8.o x86/iflag.o asm/error.o asm/float.o asm/directiv.o asm/directbl.o asm/pragma.o asm/assemble.o asm/labels.o asm/parser.o asm/preproc.o asm/quote.o asm/pptok.o asm/listing.o asm/eval.o asm/exprlib.o asm/exprdump.o asm/stdscan.o asm/strfunc.o asm/tokhash.o asm/segalloc.o asm/preproc-nop.o asm/rdstrnum.o macros/macros.o output/outform.o output/outlib.o output/legacy.o output/nulldbg.o output/nullout.o output/outbin.o output/outaout.o output/outcoff.o output/outelf.o output/outobj.o output/outas86.o output/outrdf2.o output/outdbg.o output/outieee.o output/outmacho.o output/codeview.o disasm/disasm.o disasm/sync.o

make[4]: cq: Command not found



Makefile:149: recipe for target 'libnasm.a' failed
make[4]: *** [libnasm.a] Error 127
make[4]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_x86_64/build_dir/toolchain-x86_64_gcc-7.3.0_musl/nasm-2.13.03' Makefile:59: recipe for target '/mnt/ramdisk/koen/firmware/builds/generic_x86_64/build_dir/toolchain-x86_64_gcc-7.3.0_musl/nasm-2.13.03/.built' failed make[3]: *** [/mnt/ramdisk/koen/firmware/builds/generic_x86_64/build_dir/toolchain-x86_64_gcc-7.3.0_musl/nasm-2.13.03/.built] Error 2 make[3]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_x86_64/toolchain/nasm'
Command exited with non-zero status 2
time: toolchain/nasm/compile#0.01#0.00#0.01
toolchain/Makefile:96: recipe for target 'toolchain/nasm/compile' failed
make[2]: *** [toolchain/nasm/compile] Error 2
make[2]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_x86_64' toolchain/Makefile:94: recipe for target '/mnt/ramdisk/koen/firmware/builds/generic_x86_64/staging_dir/toolchain-x86_64_gcc-7.3.0_musl/stamp/.toolchain_compile' failed make[1]: *** [/mnt/ramdisk/koen/firmware/builds/generic_x86_64/staging_dir/toolchain-x86_64_gcc-7.3.0_musl/stamp/.toolchain_compile] Error 2 make[1]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_x86_64' /mnt/ramdisk/koen/firmware/builds/generic_x86_64/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2
koen@bob:~/firmware/builds/generic_x86_64$


Any idea?

Thanks,

Koen


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to