i686-buildroot-linux-gnu-as does not work
Hello!
I have got very strange error during building of BuildRoot project.
It happens after running following commands in /.../BuildRoot/output/build/infozip-30 directory:/usr/bin/cpp match.S > _match.s /.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-as _match.s /usr/bin/cpp crc_i386.S > _crc_i386.s
mv _match.o match.o /.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-as _crc_i386.s
mv: cannot stat `_match.o': No such file or directory
make[2]: *** [match.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv _crc_i386.o crc_i386.o
mv: cannot stat `_crc_i386.o': No such file or directory
Of course, building stops after this.?
I tried to do make clean and even make distclean, but it did not solved this issue.?
As I understood, "i686-buildroot-linux-gnu-as" should compile _match.s and _crc_i386.s files, but can't do it. That's why mv command cant find appropriate .o files. I tried to run separately this two commands in infozip-30 folder:
/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-as _match.s
/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-as _crc_i386.s
but there was no any reaction:?no error messages or .o files which should appear.
Does anyone know, what is the reason of this mistake and how can I fix it??
Thanks for any help!
P.S.
My host system: Ubuntu 12.04 ?32-bit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140125/678aefbc/attachment.html>
Hi Kirill,
Quoted 3 lines · ?????? ???????
I have got very strange error during building of BuildRoot project. It happens after running following commands in /.../BuildRoot/output/build/infozip-30 directory:
Could you please send your Buildroot config file attached or pasted
into the message text as defconfig? You can produce defconfig by
make savedefconfig BR2_DEFCONFIG=<path-to-defconfig>
What Buildroot release / commit id do you use?
Signature · 2 lines
Best regards, Alexander Lukichev
Hi, Alexander,
Thank you for responding!
I use latest 2013.11 version of BuildRoot. I've downloaded it from this page on official site: http://buildroot.uclibc.org/download.html
It is the content of my defconfig file:
BR2_x86_core2=y
BR2_DEFCONFIG="$(CONFIG_DIR)/defconfig"
BR2_DEPRECATED=y
BR2_OPTIMIZE_2=y
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="3.10.20"
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_GCC_VERSION_4_8_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_GCC_ENABLE_OPENMP=y
BR2_PACKAGE_HOST_GDB=y
BR2_ENABLE_LOCALE_PURGE=y
BR2_ENABLE_LOCALE_WHITELIST="C en_US"
BR2_ECLIPSE_REGISTER=y
BR2_TARGET_GENERIC_HOSTNAME="box"
BR2_TARGET_GENERIC_ISSUE="Welcome to Box"
BR2_INIT_SYSV=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV=y
BR2_TARGET_GENERIC_ROOT_PASSWD="rfhfcbr"
# BR2_TARGET_GENERIC_GETTY is not set
BR2_ROOTFS_OVERLAY="my_root/"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_SAME_AS_HEADERS=y
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="my_config"
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_GZIP=y
BR2_PACKAGE_INFOZIP=y
BR2_PACKAGE_XZ=y
BR2_PACKAGE_LSOF=y
BR2_PACKAGE_COREUTILS=y
BR2_PACKAGE_FINDUTILS=y
BR2_PACKAGE_GAWK=y
BR2_PACKAGE_GREP=y
BR2_PACKAGE_SED=y
BR2_PACKAGE_TAR=y
BR2_PACKAGE_E2FSPROGS=y
BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y
BR2_PACKAGE_MAKEDEVS=y
BR2_PACKAGE_NTFS_3G=y
BR2_PACKAGE_NTFS_3G_NTFSPROGS=y
BR2_PACKAGE_XFSPROGS=y
BR2_PACKAGE_QT=y
BR2_PACKAGE_QT_LICENSE_APPROVED=y
# BR2_PACKAGE_QT_GUI_MODULE is not set
BR2_PACKAGE_LINUX_FIRMWARE=y
BR2_PACKAGE_HDPARM=y
BR2_PACKAGE_HWDATA=y
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_IOSTAT=y
BR2_PACKAGE_LM_SENSORS=y
BR2_PACKAGE_LM_SENSORS_SENSORS_DETECT=y
BR2_PACKAGE_LSHW=y
BR2_PACKAGE_LSUIO=y
BR2_PACKAGE_MDADM=y
BR2_PACKAGE_MEMTESTER=y
BR2_PACKAGE_PCIUTILS=y
BR2_PACKAGE_SDPARM=y
BR2_PACKAGE_SETSERIAL=y
BR2_PACKAGE_SMARTMONTOOLS=y
BR2_PACKAGE_USBUTILS=y
BR2_PACKAGE_ALSA_LIB=y
BR2_PACKAGE_LIBVORBIS=y
BR2_PACKAGE_LIBARCHIVE=y
BR2_PACKAGE_LZO=y
BR2_PACKAGE_OPENSSL_ENGINES=y
BR2_PACKAGE_SQLITE_READLINE=y
BR2_PACKAGE_SQLITE_STAT3=y
BR2_PACKAGE_SQLITE_ENABLE_FTS3=y
BR2_PACKAGE_SQLITE_ENABLE_UNLOCK_NOTIFY=y
BR2_PACKAGE_GAMIN=y
BR2_PACKAGE_LIBCONFIG=y
BR2_PACKAGE_LIBCONFUSE=y
BR2_PACKAGE_LIBFUSE=y
BR2_PACKAGE_LIBLOCKFILE=y
BR2_PACKAGE_LIBSYSFS=y
BR2_PACKAGE_LOCKDEV=y
BR2_PACKAGE_LIBSERIAL=y
BR2_PACKAGE_LIBUSB_COMPAT=y
BR2_PACKAGE_EXPAT=y
BR2_PACKAGE_LIBXMLPP=y
BR2_PACKAGE_NEON_SSL=y
BR2_PACKAGE_NEON_LIBXML2=y
BR2_PACKAGE_OMNIORB=y
BR2_PACKAGE_BOOST=y
BR2_PACKAGE_BOOST_DATE_TIME=y
BR2_PACKAGE_BOOST_FILESYSTEM=y
BR2_PACKAGE_BOOST_IOSTREAMS=y
BR2_PACKAGE_BOOST_MATH=y
BR2_PACKAGE_BOOST_MPI=y
BR2_PACKAGE_BOOST_SYSTEM=y
BR2_PACKAGE_BOOST_THREAD=y
BR2_PACKAGE_ELFUTILS=y
BR2_PACKAGE_ELFUTILS_PROGS=y
BR2_PACKAGE_FFTW=y
BR2_PACKAGE_LIBBSD=y
BR2_PACKAGE_LIBCAP=y
BR2_PACKAGE_LIBELF=y
BR2_PACKAGE_LOG4CXX=y
BR2_PACKAGE_MPC=y
BR2_PACKAGE_PROTOBUF_C=y
BR2_PACKAGE_TZDATA=y
BR2_PACKAGE_NCURSES_TARGET_PANEL=y
BR2_PACKAGE_NCURSES_TARGET_FORM=y
BR2_PACKAGE_NCURSES_TARGET_MENU=y
BR2_PACKAGE_PCRE=y
BR2_PACKAGE_PCRE_16=y
BR2_PACKAGE_PCRE_32=y
BR2_PACKAGE_POPT=y
BR2_PACKAGE_SLANG=y
BR2_PACKAGE_ARPTABLES=y
BR2_PACKAGE_BRIDGE_UTILS=y
BR2_PACKAGE_DHCPCD=y
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS=y
# BR2_PACKAGE_DROPBEAR_SMALL is not set
BR2_PACKAGE_ETHTOOL=y
BR2_PACKAGE_IPTABLES=y
BR2_PACKAGE_IPUTILS=y
BR2_PACKAGE_IW=y
BR2_PACKAGE_NETCAT=y
BR2_PACKAGE_NETKITTELNET=y
BR2_PACKAGE_NTP=y
BR2_PACKAGE_NTP_NTPDATE=y
BR2_PACKAGE_OPENSSH=y
BR2_PACKAGE_SER2NET=y
BR2_PACKAGE_TCPDUMP=y
BR2_PACKAGE_TCPDUMP_SMB=y
BR2_PACKAGE_TFTPD=y
BR2_PACKAGE_VSFTPD=y
BR2_PACKAGE_WGET=y
BR2_PACKAGE_XINETD=y
BR2_PACKAGE_BASH=y
BR2_PACKAGE_DIALOG=y
BR2_PACKAGE_FILE=y
BR2_PACKAGE_SCREEN=y
BR2_PACKAGE_SUDO=y
BR2_PACKAGE_TIME=y
BR2_PACKAGE_XMLSTARLET=y
BR2_PACKAGE_HTOP=y
BR2_PACKAGE_PROCPS=y
BR2_PACKAGE_PSMISC=y
BR2_PACKAGE_UTIL_LINUX_BINARIES=y
BR2_PACKAGE_UTIL_LINUX_AGETTY=y
BR2_PACKAGE_UTIL_LINUX_FSCK=y
BR2_PACKAGE_UTIL_LINUX_KILL=y
BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS=y
BR2_PACKAGE_UTIL_LINUX_MOUNT=y
BR2_PACKAGE_UTIL_LINUX_RESET=y
BR2_PACKAGE_LESS=y
BR2_PACKAGE_VIM=y
BR2_TARGET_ROOTFS_CPIO_BZIP2=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_INITRAMFS=y
BR2_TARGET_ROOTFS_TAR_BZIP2=y ?
???????????, 26 ?????? 2014, 19:12 +02:00 ?? Alexander Lukichev <[email protected]>:
Quoted 17 lines
Hi Kirill,
Quoted 3 lines · ?????? ???????
I have got very strange error during building of BuildRoot project. It happens after running following commands in /.../BuildRoot/output/build/infozip-30 directory:
??Could you please send your Buildroot config file attached or pasted into the message text as defconfig? You can produce defconfig by
make savedefconfig BR2_DEFCONFIG=<path-to-defconfig>
??What Buildroot release / commit id do you use?
Signature · 2 lines
Best regards, ??Alexander Lukichev
Signature · 4 lines
?????? ??????? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140126/9b984204/attachment.html>
It is output of make bellow. I think it might be helpful.?i686-buildroot-linux-gnu-as set as DEFAULT_ASSEMBLER:
$ make
Quoted 1 line
Quoted 1 line
Quoted 1 line
infozip 30 Building
/usr/bin/make -j9 PATH="//.../BuildRoot/output/host/bin:/.../BuildRoot/output/host/usr/bin:/.../BuildRoot/output/host/usr/sbin/:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" AR="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-ar"
AS="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-as"
LD="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-ld"
NM="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-nm"
CC="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-gcc"
GCC="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-gcc"
CPP="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-cpp"
CXX="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-g++"
FC="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-gfortran"
RANLIB="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-ranlib"
READELF="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-readelf" STRIP="/home/kirill/NIR/repos/project/examples/buildroot-2013.11/output/host/usr/bin/i686-buildroot-linux-gnu-strip" OBJCOPY="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-objcopy"
OBJDUMP="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-objdump"
AR_FOR_BUILD="/usr/bin/ar"
AS_FOR_BUILD="/usr/bin/as"
CC_FOR_BUILD="/usr/bin/gcc"
GCC_FOR_BUILD="/usr/bin/gcc"
CXX_FOR_BUILD="/usr/bin/g++"
FC_FOR_BUILD="/usr/bin/ld"
LD_FOR_BUILD="/usr/bin/ld"
CPPFLAGS_FOR_BUILD="-I/.../BuildRoot/output/host/usr/include"
CFLAGS_FOR_BUILD="-O2 -I/.../BuildRoot/output/host/usr/include"
CXXFLAGS_FOR_BUILD="-O2 -I/.../BuildRoot/output/host/usr/include"
LDFLAGS_FOR_BUILD="-L/.../BuildRoot/output/host/lib -L/home/kirill/NIR/repos/project/examples/buildroot-2013.11/output/host/usr/lib -Wl,-rpath,/home/kirill/NIR/repos/project/examples/buildroot-2013.11/output/host/usr/lib" FCFLAGS_FOR_BUILD=""
DEFAULT_ASSEMBLER="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-as"
DEFAULT_LINKER="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-ld"
CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 "
CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 "
LDFLAGS=""
FCFLAGS=""
PKG_CONFIG="/.../BuildRoot/output/host/usr/bin/pkg-config"
PERLLIB="/.../BuildRoot/output/host/usr/lib/perl"
STAGING_DIR="/.../BuildRoot/output/host/usr/i686-buildroot-linux-gnu/sysroot"
-C /.../BuildRoot/output/build/infozip-30 -f unix/Makefile generic
make[1]: Entering directory `/.../BuildRoot/output/build/infozip-30'
eval /usr/bin/make -f unix/Makefile zips cat flags
make[2]: Entering directory `/.../BuildRoot/output/build/infozip-30'/usr/bin/cpp match.S > _match.s/usr/bin/cpp crc_i386.S > _crc_i386.s
/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-as _match.s
/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-as _crc_i386.s
mv _crc_i386.o crc_i386.o
mv: mv _match.o match.o
cannot stat `_crc_i386.o': No such file or directory
make[2]: *** [crc_i386.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv: cannot stat `_match.o': No such file or directory
make[2]: *** [match.o] Error 1
make[2]: Leaving directory `/home/kirill/NIR/repos/project/examples/buildroot-2013.11/output/build/infozip-30'
make[1]: *** [generic] Error 2
make[1]: Leaving directory `/home/kirill/NIR/repos/project/examples/buildroot-2013.11/output/build/infozip-30'
make: *** [/home/kirill/NIR/repos/project/examples/buildroot-2013.11/output/build/infozip-30/.stamp_built] Error 2
???????????, 26 ?????? 2014, 23:33 +04:00 ?? ?????? ??????? <[email protected]>:
Quoted 188 lines
Hi, Alexander,
Thank you for responding!
I use latest 2013.11 version of BuildRoot. I've downloaded it from this page on official site: http://buildroot.uclibc.org/download.html
It is the content of my defconfig file:BR2_x86_core2=y
BR2_DEFCONFIG="$(CONFIG_DIR)/defconfig"
BR2_DEPRECATED=y
BR2_OPTIMIZE_2=y
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="3.10.20"
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_GCC_VERSION_4_8_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_GCC_ENABLE_OPENMP=y
BR2_PACKAGE_HOST_GDB=y
BR2_ENABLE_LOCALE_PURGE=y
BR2_ENABLE_LOCALE_WHITELIST="Cen_US"
BR2_ECLIPSE_REGISTER=y
BR2_TARGET_GENERIC_HOSTNAME="box"
BR2_TARGET_GENERIC_ISSUE="Welcome to Box"
BR2_INIT_SYSV=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV=y
BR2_TARGET_GENERIC_ROOT_PASSWD="rfhfcbr"
#BR2_TARGET_GENERIC_GETTYis not set
BR2_ROOTFS_OVERLAY="my_root/"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_SAME_AS_HEADERS=y
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="my_config"
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_GZIP=y
BR2_PACKAGE_INFOZIP=y
BR2_PACKAGE_XZ=y
BR2_PACKAGE_LSOF=y
BR2_PACKAGE_COREUTILS=y
BR2_PACKAGE_FINDUTILS=y
BR2_PACKAGE_GAWK=y
BR2_PACKAGE_GREP=y
BR2_PACKAGE_SED=y
BR2_PACKAGE_TAR=y
BR2_PACKAGE_E2FSPROGS=y
BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y
BR2_PACKAGE_MAKEDEVS=y
BR2_PACKAGE_NTFS_3G=y
BR2_PACKAGE_NTFS_3G_NTFSPROGS=y
BR2_PACKAGE_XFSPROGS=y
BR2_PACKAGE_QT=y
BR2_PACKAGE_QT_LICENSE_APPROVED=y
#BR2_PACKAGE_QT_GUI_MODULEis not set
BR2_PACKAGE_LINUX_FIRMWARE=y
BR2_PACKAGE_HDPARM=y
BR2_PACKAGE_HWDATA=y
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_IOSTAT=y
BR2_PACKAGE_LM_SENSORS=y
BR2_PACKAGE_LM_SENSORS_SENSORS_DETECT=y
BR2_PACKAGE_LSHW=y
BR2_PACKAGE_LSUIO=y
BR2_PACKAGE_MDADM=y
BR2_PACKAGE_MEMTESTER=y
BR2_PACKAGE_PCIUTILS=y
BR2_PACKAGE_SDPARM=y
BR2_PACKAGE_SETSERIAL=y
BR2_PACKAGE_SMARTMONTOOLS=y
BR2_PACKAGE_USBUTILS=y
BR2_PACKAGE_ALSA_LIB=y
BR2_PACKAGE_LIBVORBIS=y
BR2_PACKAGE_LIBARCHIVE=y
BR2_PACKAGE_LZO=y
BR2_PACKAGE_OPENSSL_ENGINES=y
BR2_PACKAGE_SQLITE_READLINE=y
BR2_PACKAGE_SQLITE_STAT3=y
BR2_PACKAGE_SQLITE_ENABLE_FTS3=y
BR2_PACKAGE_SQLITE_ENABLE_UNLOCK_NOTIFY=y
BR2_PACKAGE_GAMIN=y
BR2_PACKAGE_LIBCONFIG=y
BR2_PACKAGE_LIBCONFUSE=y
BR2_PACKAGE_LIBFUSE=y
BR2_PACKAGE_LIBLOCKFILE=y
BR2_PACKAGE_LIBSYSFS=y
BR2_PACKAGE_LOCKDEV=y
BR2_PACKAGE_LIBSERIAL=y
BR2_PACKAGE_LIBUSB_COMPAT=y
BR2_PACKAGE_EXPAT=y
BR2_PACKAGE_LIBXMLPP=y
BR2_PACKAGE_NEON_SSL=y
BR2_PACKAGE_NEON_LIBXML2=y
BR2_PACKAGE_OMNIORB=y
BR2_PACKAGE_BOOST=y
BR2_PACKAGE_BOOST_DATE_TIME=y
BR2_PACKAGE_BOOST_FILESYSTEM=y
BR2_PACKAGE_BOOST_IOSTREAMS=y
BR2_PACKAGE_BOOST_MATH=y
BR2_PACKAGE_BOOST_MPI=y
BR2_PACKAGE_BOOST_SYSTEM=y
BR2_PACKAGE_BOOST_THREAD=y
BR2_PACKAGE_ELFUTILS=y
BR2_PACKAGE_ELFUTILS_PROGS=y
BR2_PACKAGE_FFTW=y
BR2_PACKAGE_LIBBSD=y
BR2_PACKAGE_LIBCAP=y
BR2_PACKAGE_LIBELF=y
BR2_PACKAGE_LOG4CXX=y
BR2_PACKAGE_MPC=y
BR2_PACKAGE_PROTOBUF_C=y
BR2_PACKAGE_TZDATA=y
BR2_PACKAGE_NCURSES_TARGET_PANEL=y
BR2_PACKAGE_NCURSES_TARGET_FORM=y
BR2_PACKAGE_NCURSES_TARGET_MENU=y
BR2_PACKAGE_PCRE=y
BR2_PACKAGE_PCRE_16=y
BR2_PACKAGE_PCRE_32=y
BR2_PACKAGE_POPT=y
BR2_PACKAGE_SLANG=y
BR2_PACKAGE_ARPTABLES=y
BR2_PACKAGE_BRIDGE_UTILS=y
BR2_PACKAGE_DHCPCD=y
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS=y
#BR2_PACKAGE_DROPBEAR_SMALLis not set
BR2_PACKAGE_ETHTOOL=y
BR2_PACKAGE_IPTABLES=y
BR2_PACKAGE_IPUTILS=y
BR2_PACKAGE_IW=y
BR2_PACKAGE_NETCAT=y
BR2_PACKAGE_NETKITTELNET=y
BR2_PACKAGE_NTP=y
BR2_PACKAGE_NTP_NTPDATE=y
BR2_PACKAGE_OPENSSH=y
BR2_PACKAGE_SER2NET=y
BR2_PACKAGE_TCPDUMP=y
BR2_PACKAGE_TCPDUMP_SMB=y
BR2_PACKAGE_TFTPD=y
BR2_PACKAGE_VSFTPD=y
BR2_PACKAGE_WGET=y
BR2_PACKAGE_XINETD=y
BR2_PACKAGE_BASH=y
BR2_PACKAGE_DIALOG=y
BR2_PACKAGE_FILE=y
BR2_PACKAGE_SCREEN=y
BR2_PACKAGE_SUDO=y
BR2_PACKAGE_TIME=y
BR2_PACKAGE_XMLSTARLET=y
BR2_PACKAGE_HTOP=y
BR2_PACKAGE_PROCPS=y
BR2_PACKAGE_PSMISC=y
BR2_PACKAGE_UTIL_LINUX_BINARIES=y
BR2_PACKAGE_UTIL_LINUX_AGETTY=y
BR2_PACKAGE_UTIL_LINUX_FSCK=y
BR2_PACKAGE_UTIL_LINUX_KILL=y
BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS=y
BR2_PACKAGE_UTIL_LINUX_MOUNT=y
BR2_PACKAGE_UTIL_LINUX_RESET=y
BR2_PACKAGE_LESS=y
BR2_PACKAGE_VIM=y
BR2_TARGET_ROOTFS_CPIO_BZIP2=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_INITRAMFS=y
BR2_TARGET_ROOTFS_TAR_BZIP2=y ????????????, 26 ?????? 2014, 19:12 +02:00 ?? Alexander Lukichev <[email protected]>:
Quoted 17 lines
Hi Kirill,
Quoted 3 lines · ?????? ???????
I have got very strange error during building of BuildRoot project. It happens after running following commands in /.../BuildRoot/output/build/infozip-30 directory:
??Could you please send your Buildroot config file attached or pasted into the message text as defconfig? You can produce defconfig by
make savedefconfig BR2_DEFCONFIG=<path-to-defconfig>
??What Buildroot release / commit id do you use?
Signature · 2 lines
Best regards, ??Alexander LukichevSignature · 5 lines
?????? ??????? _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 4 lines
?????? ??????? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140127/8ab188a2/attachment.html>
Hi K irill ,
I had the same problem with infozip and I fixed this error by patching unix/Makefile like this:
From: Romain Naour < [email protected] >
Date: Fri, 31 May 2013 14:39:18 +0200
Subject: [PATCH 1/1] Fix Makefile
---
? unix/Makefile |??? 8 ++------
? 1 file changed, 2 insertions(+), 6 deletions(-)
unix/Makefile +0 -0
@@ -103,15 +103,11 @@ zipup.o: unix/zipup.h
?
match.o: match.S
? ?$(CPP) match.S > _match.s
-?$(AS) _match.s
-?mv _match.o match.o
-?rm -f _match.s
+?$(AS) _match.s -o match.o
?
crc_i386.o: crc_i386.S
? ?$(CPP) crc_i386.S > _crc_i386.s
-?$(AS) _crc_i386.s
-?mv _crc_i386.o crc_i386.o
-?rm -f _crc_i386.s
+?$(AS) _crc_i386.s -o crc_i386.o
?
unix.o: unix/unix.c
? ?$(CC) -c $(CFLAGS) unix/unix.c
Signature · 425 lines
1.7.10.4 (Ok, this patch is really weird...) It is strange that ? this problem is not detected by the autobuilder. The toolchain used is CodeSourcery 2012.09 x86 Let me know if it changes anything on your side. Best regards, Romain Naour ----- Mail original ----- | De: "?????? ???????" <[email protected]> | ?: "Alexander Lukichev" <[email protected]>, | buildroot at busybox.net | Envoy?: Lundi 27 Janvier 2014 08:37:57 | Objet: Re: [Buildroot] i686-buildroot-linux-gnu-as ?does not work | It is output of make bellow. I think it might be | helpful.?i686-buildroot-linux-gnu-as set as DEFAULT_ASSEMBLER: | $ make | >>> infozip 30 Building | /usr/bin/make -j9 | PATH="//.../BuildRoot/output/host/bin:/.../BuildRoot/output/host/usr/bin:/.../BuildRoot/output/host/usr/sbin/:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" | AR="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-ar" | AS="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-as" | LD="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-ld" | NM="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-nm" | CC="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-gcc" | GCC="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-gcc" | CPP="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-cpp" | CXX="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-g++" | FC="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-gfortran" | RANLIB="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-ranlib" | READELF="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-readelf" | STRIP="/home/kirill/NIR/repos/project/examples/buildroot-2013.11/output/host/usr/bin/i686-buildroot-linux-gnu-strip" | OBJCOPY="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-objcopy" | OBJDUMP="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-objdump" | AR_FOR_BUILD="/usr/bin/ar" | AS_FOR_BUILD="/usr/bin/as" | CC_FOR_BUILD="/usr/bin/gcc" | GCC_FOR_BUILD="/usr/bin/gcc" | CXX_FOR_BUILD="/usr/bin/g++" | FC_FOR_BUILD="/usr/bin/ld" | LD_FOR_BUILD="/usr/bin/ld" | CPPFLAGS_FOR_BUILD="-I/.../BuildRoot/output/host/usr/include" | CFLAGS_FOR_BUILD="-O2 -I/.../BuildRoot/output/host/usr/include" | CXXFLAGS_FOR_BUILD="-O2 -I/.../BuildRoot/output/host/usr/include" | LDFLAGS_FOR_BUILD="-L/.../BuildRoot/output/host/lib | -L/home/kirill/NIR/repos/project/examples/buildroot-2013.11/output/host/usr/lib | -Wl,-rpath,/home/kirill/NIR/repos/project/examples/buildroot-2013.11/output/host/usr/lib" | FCFLAGS_FOR_BUILD="" | DEFAULT_ASSEMBLER="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-as" | DEFAULT_LINKER="/.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-ld" | CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE | -D_FILE_OFFSET_BITS=64" | CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE | -D_FILE_OFFSET_BITS=64 -pipe -O2 " | CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE | -D_FILE_OFFSET_BITS=64 -pipe -O2 " | LDFLAGS="" | FCFLAGS="" | PKG_CONFIG="/.../BuildRoot/output/host/usr/bin/pkg-config" | PERLLIB="/.../BuildRoot/output/host/usr/lib/perl" | STAGING_DIR="/.../BuildRoot/output/host/usr/i686-buildroot-linux-gnu/sysroot" | -C /.../BuildRoot/output/build/infozip-30 -f unix/Makefile generic | make[1]: Entering directory `/.../BuildRoot/output/build/infozip-30' | eval /usr/bin/make -f unix/Makefile zips `cat flags` | make[2]: Entering directory `/.../BuildRoot/output/build/infozip-30' | /usr/bin/cpp match.S > _match.s | /usr/bin/cpp crc_i386.S > _crc_i386.s | /.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-as | _match.s | /.../BuildRoot/output/host/usr/bin/i686-buildroot-linux-gnu-as | _crc_i386.s | mv _crc_i386.o crc_i386.o | mv: mv _match.o match.o | cannot stat `_crc_i386.o': No such file or directory | make[2]: *** [crc_i386.o] Error 1 | make[2]: *** Waiting for unfinished jobs.... | mv: cannot stat `_match.o': No such file or directory | make[2]: *** [match.o] Error 1 | make[2]: Leaving directory | `/home/kirill/NIR/repos/project/examples/buildroot-2013.11/output/build/infozip-30' | make[1]: *** [generic] Error 2 | make[1]: Leaving directory | `/home/kirill/NIR/repos/project/examples/buildroot-2013.11/output/build/infozip-30' | make: *** | [/home/kirill/NIR/repos/project/examples/buildroot-2013.11/output/build/infozip-30/.stamp_built] | Error 2 | ???????????, 26 ?????? 2014, 23:33 +04:00 ?? ?????? ??????? | <[email protected]>: | | Hi, Alexander, | | | Thank you for responding! | | | I use latest 2013.11 version of BuildRoot. I've downloaded it from | | this page on official site: | | http://buildroot.uclibc.org/download.html | | | It is the content of my defconfig file: | | | BR2_x86_core2=y | | | BR2_DEFCONFIG="$(CONFIG_DIR)/defconfig" | | | BR2_DEPRECATED=y | | | BR2_OPTIMIZE_2=y | | | BR2_KERNEL_HEADERS_VERSION=y | | | BR2_DEFAULT_KERNEL_VERSION="3.10.20" | | | BR2_TOOLCHAIN_BUILDROOT_GLIBC=y | | | BR2_GCC_VERSION_4_8_X=y | | | BR2_TOOLCHAIN_BUILDROOT_CXX=y | | | BR2_GCC_ENABLE_OPENMP=y | | | BR2_PACKAGE_HOST_GDB=y | | | BR2_ENABLE_LOCALE_PURGE=y | | | BR2_ENABLE_LOCALE_WHITELIST="C en_US" | | | BR2_ECLIPSE_REGISTER=y | | | BR2_TARGET_GENERIC_HOSTNAME="box" | | | BR2_TARGET_GENERIC_ISSUE="Welcome to Box" | | | BR2_INIT_SYSV=y | | | BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV=y | | | BR2_TARGET_GENERIC_ROOT_PASSWD="rfhfcbr" | | | # BR2_TARGET_GENERIC_GETTY is not set | | | BR2_ROOTFS_OVERLAY="my_root/" | | | BR2_LINUX_KERNEL=y | | | BR2_LINUX_KERNEL_SAME_AS_HEADERS=y | | | BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y | | | BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="my_config" | | | BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y | | | BR2_PACKAGE_GZIP=y | | | BR2_PACKAGE_INFOZIP=y | | | BR2_PACKAGE_XZ=y | | | BR2_PACKAGE_LSOF=y | | | BR2_PACKAGE_COREUTILS=y | | | BR2_PACKAGE_FINDUTILS=y | | | BR2_PACKAGE_GAWK=y | | | BR2_PACKAGE_GREP=y | | | BR2_PACKAGE_SED=y | | | BR2_PACKAGE_TAR=y | | | BR2_PACKAGE_E2FSPROGS=y | | | BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y | | | BR2_PACKAGE_MAKEDEVS=y | | | BR2_PACKAGE_NTFS_3G=y | | | BR2_PACKAGE_NTFS_3G_NTFSPROGS=y | | | BR2_PACKAGE_XFSPROGS=y | | | BR2_PACKAGE_QT=y | | | BR2_PACKAGE_QT_LICENSE_APPROVED=y | | | # BR2_PACKAGE_QT_GUI_MODULE is not set | | | BR2_PACKAGE_LINUX_FIRMWARE=y | | | BR2_PACKAGE_HDPARM=y | | | BR2_PACKAGE_HWDATA=y | | | BR2_PACKAGE_I2C_TOOLS=y | | | BR2_PACKAGE_IOSTAT=y | | | BR2_PACKAGE_LM_SENSORS=y | | | BR2_PACKAGE_LM_SENSORS_SENSORS_DETECT=y | | | BR2_PACKAGE_LSHW=y | | | BR2_PACKAGE_LSUIO=y | | | BR2_PACKAGE_MDADM=y | | | BR2_PACKAGE_MEMTESTER=y | | | BR2_PACKAGE_PCIUTILS=y | | | BR2_PACKAGE_SDPARM=y | | | BR2_PACKAGE_SETSERIAL=y | | | BR2_PACKAGE_SMARTMONTOOLS=y | | | BR2_PACKAGE_USBUTILS=y | | | BR2_PACKAGE_ALSA_LIB=y | | | BR2_PACKAGE_LIBVORBIS=y | | | BR2_PACKAGE_LIBARCHIVE=y | | | BR2_PACKAGE_LZO=y | | | BR2_PACKAGE_OPENSSL_ENGINES=y | | | BR2_PACKAGE_SQLITE_READLINE=y | | | BR2_PACKAGE_SQLITE_STAT3=y | | | BR2_PACKAGE_SQLITE_ENABLE_FTS3=y | | | BR2_PACKAGE_SQLITE_ENABLE_UNLOCK_NOTIFY=y | | | BR2_PACKAGE_GAMIN=y | | | BR2_PACKAGE_LIBCONFIG=y | | | BR2_PACKAGE_LIBCONFUSE=y | | | BR2_PACKAGE_LIBFUSE=y | | | BR2_PACKAGE_LIBLOCKFILE=y | | | BR2_PACKAGE_LIBSYSFS=y | | | BR2_PACKAGE_LOCKDEV=y | | | BR2_PACKAGE_LIBSERIAL=y | | | BR2_PACKAGE_LIBUSB_COMPAT=y | | | BR2_PACKAGE_EXPAT=y | | | BR2_PACKAGE_LIBXMLPP=y | | | BR2_PACKAGE_NEON_SSL=y | | | BR2_PACKAGE_NEON_LIBXML2=y | | | BR2_PACKAGE_OMNIORB=y | | | BR2_PACKAGE_BOOST=y | | | BR2_PACKAGE_BOOST_DATE_TIME=y | | | BR2_PACKAGE_BOOST_FILESYSTEM=y | | | BR2_PACKAGE_BOOST_IOSTREAMS=y | | | BR2_PACKAGE_BOOST_MATH=y | | | BR2_PACKAGE_BOOST_MPI=y | | | BR2_PACKAGE_BOOST_SYSTEM=y | | | BR2_PACKAGE_BOOST_THREAD=y | | | BR2_PACKAGE_ELFUTILS=y | | | BR2_PACKAGE_ELFUTILS_PROGS=y | | | BR2_PACKAGE_FFTW=y | | | BR2_PACKAGE_LIBBSD=y | | | BR2_PACKAGE_LIBCAP=y | | | BR2_PACKAGE_LIBELF=y | | | BR2_PACKAGE_LOG4CXX=y | | | BR2_PACKAGE_MPC=y | | | BR2_PACKAGE_PROTOBUF_C=y | | | BR2_PACKAGE_TZDATA=y | | | BR2_PACKAGE_NCURSES_TARGET_PANEL=y | | | BR2_PACKAGE_NCURSES_TARGET_FORM=y | | | BR2_PACKAGE_NCURSES_TARGET_MENU=y | | | BR2_PACKAGE_PCRE=y | | | BR2_PACKAGE_PCRE_16=y | | | BR2_PACKAGE_PCRE_32=y | | | BR2_PACKAGE_POPT=y | | | BR2_PACKAGE_SLANG=y | | | BR2_PACKAGE_ARPTABLES=y | | | BR2_PACKAGE_BRIDGE_UTILS=y | | | BR2_PACKAGE_DHCPCD=y | | | BR2_PACKAGE_DROPBEAR=y | | | BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS=y | | | # BR2_PACKAGE_DROPBEAR_SMALL is not set | | | BR2_PACKAGE_ETHTOOL=y | | | BR2_PACKAGE_IPTABLES=y | | | BR2_PACKAGE_IPUTILS=y | | | BR2_PACKAGE_IW=y | | | BR2_PACKAGE_NETCAT=y | | | BR2_PACKAGE_NETKITTELNET=y | | | BR2_PACKAGE_NTP=y | | | BR2_PACKAGE_NTP_NTPDATE=y | | | BR2_PACKAGE_OPENSSH=y | | | BR2_PACKAGE_SER2NET=y | | | BR2_PACKAGE_TCPDUMP=y | | | BR2_PACKAGE_TCPDUMP_SMB=y | | | BR2_PACKAGE_TFTPD=y | | | BR2_PACKAGE_VSFTPD=y | | | BR2_PACKAGE_WGET=y | | | BR2_PACKAGE_XINETD=y | | | BR2_PACKAGE_BASH=y | | | BR2_PACKAGE_DIALOG=y | | | BR2_PACKAGE_FILE=y | | | BR2_PACKAGE_SCREEN=y | | | BR2_PACKAGE_SUDO=y | | | BR2_PACKAGE_TIME=y | | | BR2_PACKAGE_XMLSTARLET=y | | | BR2_PACKAGE_HTOP=y | | | BR2_PACKAGE_PROCPS=y | | | BR2_PACKAGE_PSMISC=y | | | BR2_PACKAGE_UTIL_LINUX_BINARIES=y | | | BR2_PACKAGE_UTIL_LINUX_AGETTY=y | | | BR2_PACKAGE_UTIL_LINUX_FSCK=y | | | BR2_PACKAGE_UTIL_LINUX_KILL=y | | | BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS=y | | | BR2_PACKAGE_UTIL_LINUX_MOUNT=y | | | BR2_PACKAGE_UTIL_LINUX_RESET=y | | | BR2_PACKAGE_LESS=y | | | BR2_PACKAGE_VIM=y | | | BR2_TARGET_ROOTFS_CPIO_BZIP2=y | | | BR2_TARGET_ROOTFS_EXT2=y | | | BR2_TARGET_ROOTFS_INITRAMFS=y | | | BR2_TARGET_ROOTFS_TAR_BZIP2=y ? | | | ???????????, 26 ?????? 2014, 19:12 +02:00 ?? Alexander Lukichev | | <[email protected]>: | | | | Hi Kirill, | | |
| | | 01/25/2014 12:23 PM, ?????? ??????? wrote: | | | | | | > I have got very strange error during building of BuildRoot | | | > project. | | | | | | > It happens after running following commands in | | | | | | > /.../BuildRoot/output/build/infozip-30 directory: | | |
| | | ??Could you please send your Buildroot config file attached or | | | pasted | | | | | | into the message text as defconfig? You can produce defconfig by | | |
| | | make savedefconfig BR2_DEFCONFIG=<path-to-defconfig> | | |
| | | ??What Buildroot release / commit id do you use? | | |
| | | -- | | | | | | Best regards, | | | | | | ??Alexander Lukichev | | |
| | -- | | | ?????? ??????? | | | _______________________________________________ | | | buildroot mailing list | | | buildroot at busybox.net | | | http://lists.busybox.net/mailman/listinfo/buildroot |
| --
| ?????? ???????
| _______________________________________________ | buildroot mailing list | buildroot at busybox.net | http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140127/c02485a6/attachment.html>
Hi Romain, Kirill,
Quoted 1 line · Romain Naour
I had the same problem with infozip and I fixed this error by patching unix/Makefile like this:
(...)
Quoted 6 lines
match.o:
match.S
$(CPP)match.S> _match.s
- $(AS) _match.s
- mv _match.o match.o
- rm -f _match.s
+ $(AS) _match.s -o match.o
(...)
Quoted 1 line
(Ok, this patch is really weird...)
Why?
To me it seems that $(AS) should not be expected to output by default to <basename>.o, as is apparently expected in the infozip's unix/Makefile. GNU as outputs to a.out by default.
If I build the package in my host environment, it picks "$(CC) -c" as the value for $(AS) and works OK but when called from Buildroot, the value for $(AS) is set to invoke the toolchain's as directly, and the output of it goes to a.out.
Am I totally wrong in believing that your patch is the right way to produce match.o rather than original way of doing it?
--
Best regards,
Alexander Lukichev
Hi Alexander,
----- Mail original -----
| De: "Alexander Lukichev" <[email protected]> | ?: "Romain Naour" <[email protected]> | Cc: "?????? ???????" <[email protected]>, buildroot at busybox.net | Envoy?: Lundi 27 Janvier 2014 12:47:49 | Objet: Re: [Buildroot] i686-buildroot-linux-gnu-as does not work | | Hi Romain, Kirill, | | On 01/27/2014 12:59 PM, Romain Naour wrote: | > I had the same problem with infozip and I fixed this error by | > patching unix/Makefile like this: | (...) | > match.o: match.S | > $(CPP) match.S > _match.s | > - $(AS) _match.s | > - mv _match.o match.o | > - rm -f _match.s | > + $(AS) _match.s -o match.o | (...) | > (Ok, this patch is really weird...) | Why? | | To me it seems that $(AS) should not be expected to output by default | to <basename>.o, as is | apparently expected in the infozip's unix/Makefile. GNU as outputs to | a.out by default. | | If I build the package in my host environment, it picks "$(CC) -c" as | the value for $(AS) and | works OK but when called from Buildroot, the value for $(AS) is set | to invoke the toolchain's | as directly, and the output of it goes to a.out. | | Am I totally wrong in believing that your patch is the right way to | produce match.o rather | than original way of doing it?
Sorry,
I meant that usually in buildroot, Makefile's variables are overwritten in foo.mk
I removed my patch and added AS="$(TARGET_CC) -c" in infozip.mk
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) AS="$(TARGET_CC) -c" -f unix/Makefile generic
infozip compiles fine by doing that.
Best regards,
Romain Naour
| | -- | Best regards, | Alexander Lukichev |
Quoted 7 lines · Romain Naour
I meant that usually in buildroot, Makefile's variables are overwritten in foo.mk
I removed my patch and added AS="$(TARGET_CC) -c" in infozip.mk
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) AS="$(TARGET_CC) -c" -f unix/Makefile generic
infozip compiles fine by doing that.
Actually there's a deeper cause I'm afraid...
The make command calls unix/configure to find out some things about the
platform, but the configure script sets CPP to /usr/bin/cpp or /lib/cpp if either of these exist. But those host tools obviously have the wrong predefined symbols, so the configure script will test if it is possible to use assembly for the host, not for the target...
I think there are two possible "right" solutions:
1. fix unix/configure;
2. bypass unix/configure by using the generic_gcc target instead.
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
Hi Arnout,
Le 27/01/2014 23:23, Arnout Vandecappelle a ?crit :
Quoted 19 lines · Romain Naour
Quoted 9 lines
I meant that usually in buildroot, Makefile's variables are overwritten in foo.mk
I removed my patch and added AS="$(TARGET_CC) -c" in infozip.mk
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) AS="$(TARGET_CC) -c" -f unix/Makefile generic
infozip compiles fine by doing that.
Actually there's a deeper cause I'm afraid...
The make command calls unix/configure to find out some things about
the platform, but the configure script sets CPP to/usr/bin/cppor/lib/cppif either of these exist. But those host tools obviously have the wrong predefined symbols, so the configure script will test if it is possible to use assembly for the host, not for the target...
Quoted 8 lines
I think there are two possible "right" solutions:
1. fix unix/configure;
2. bypass unix/configure by using thegeneric_gcctarget instead.Regards,
Arnout
Thanks, that's why I had two situations:
At work, I use an i386 system then the test "Check if we can use asm code" pass and build fail with:
output/host/usr/bin/i686-buildroot-linux-gnu-as _crc_i386.s mv _crc_i386.o crc_i386.o
mv: mv _match.o match.o
cannot stat `_crc_i386.o': No such file or directory
At home, I use an x86_64 then the test fail thus there is no build error...
I have send a patch series to fix build issues with infozip package.
Best regards,
Romain Naour