Closed Forbinn closed 2 months ago
Does it also fail with a 2 profiles cross-build? conan-center recipes don't support old 1 profile cross-build.
I've just tested with 2 profiles and the result is still the same.
Build profile:
[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=7
compiler.libcxx=libstdc++11
build_type=Release
[options]
[conf]
[build_requires]
[env]
Host profile:
[settings]
os=Linux
os_build=Linux
arch=armv8
arch_build=x86_64
compiler=gcc
compiler.version=7
compiler.libcxx=libstdc++11
build_type=Release
[options]
[conf]
[build_requires]
[env]
CC=aarch64-linux-gnu-gcc-7
CXX=aarch64-linux-gnu-g++-7
Command line used: conan install -b missing -s build_type=Debug -pr:b build -pr:h default libmp3lame/3.100@
Hi there, I was reviewing old issues and I have come across this one.
I'm closing this issue as this recipe has suffer plenty of modifications since this issue was reported.
If for some reason the problem remains nowadays, do not hesitate to reopen this issue or create a new ticket with updated information, preferably using conan v2
.
I have managed to successfully compile libmp3lame/3.100
in Debug mode in an armv8
machine, see traces:
$ conan create recipes/libmp3lame/all --version 3.100 --build=missing -s build_type=Debug
Happy coding 🐸
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)Steps to reproduce (Include if Applicable)
conan install -b missing -s build_type=Debug libmp3lame/3.100@
Logs (Include/Attach if Applicable)
Click to expand log output
``` Configuration: [settings] arch=armv8 arch_build=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++ compiler.version=7 os=Linux os_build=Linux [options] [build_requires] [env] libmp3lame/3.100: Not found in local cache, looking in remotes... libmp3lame/3.100: Trying with 'conancenter'... Downloading conanmanifest.txt completed [0.30k] Downloading conanfile.py completed [5.44k] Downloading conan_export.tgz completed [0.31k] Decompressing conan_export.tgz completed [0.00k] libmp3lame/3.100: Downloaded recipe revision 0 gnu-config/cci.20201022: Not found in local cache, looking in remotes... gnu-config/cci.20201022: Trying with 'conancenter'... Downloading conanmanifest.txt completed [0.10k] Downloading conanfile.py completed [2.11k] Downloading conan_export.tgz completed [0.28k] Decompressing conan_export.tgz completed [0.00k] gnu-config/cci.20201022: Downloaded recipe revision 0 Installing package: libmp3lame/3.100 Requirements libmp3lame/3.100 from 'conancenter' - Downloaded Packages libmp3lame/3.100:4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0 - Build Build requirements gnu-config/cci.20201022 from 'conancenter' - Downloaded Build requirements packages gnu-config/cci.20201022:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download Cross-build from 'Linux:x86_64' to 'Linux:armv8' Installing (downloading, building) binaries... gnu-config/cci.20201022: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conancenter' Downloading conanmanifest.txt completed [0.21k] Downloading conaninfo.txt completed [0.15k] Downloading conan_package.tgz completed [24.61k] Decompressing conan_package.tgz completed [0.00k] gnu-config/cci.20201022: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 gnu-config/cci.20201022: Downloaded package revision 0 gnu-config/cci.20201022: Appending PATH environment variable: /home/conan/.conan/data/gnu-config/cci.20201022/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin libmp3lame/3.100: Applying build-requirement: gnu-config/cci.20201022 Downloading conan_sources.tgz completed [1.17k] Decompressing conan_sources.tgz completed [0.00k] libmp3lame/3.100: Configuring sources in /home/conan/.conan/data/libmp3lame/3.100/_/_/source Downloading lame-3.100.tar.gz completed [1488.41k] libmp3lame/3.100: Copying sources to build folder libmp3lame/3.100: Building your package in /home/conan/.conan/data/libmp3lame/3.100/_/_/build/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0 libmp3lame/3.100: Generator txt created conanbuildinfo.txt libmp3lame/3.100: Aggregating env generators libmp3lame/3.100: Calling build() libmp3lame/3.100: Calling: > source_subfolder/configure '--disable-frontend' '--disable-shared' '--enable-static' '--enable-debug' '--prefix=/home/conan/.conan/data/libmp3lame/3.100/_/_/package/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libexecdir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' '--datarootdir=${prefix}/share' --build=x86_64-linux-gnu --host=aarch64-linux-gnu checking build system type... x86_64-pc-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for aarch64-linux-gnu-strip... aarch64-linux-gnu-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc-7 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 we are using the GNU C compiler... yes checking whether aarch64-linux-gnu-gcc-7 accepts -g... yes checking for aarch64-linux-gnu-gcc-7 option to accept ISO C89... none needed checking whether aarch64-linux-gnu-gcc-7 understands -c and -o together... yes checking dependency style of aarch64-linux-gnu-gcc-7... gcc3 checking how to run the C preprocessor... aarch64-linux-gnu-gcc-7 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by aarch64-linux-gnu-gcc-7... aarch64-linux-gnu-ld checking if the linker (aarch64-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/aarch64-linux-gnu-nm -B checking the name lister (/usr/bin/aarch64-linux-gnu-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 aarch64-unknown-linux-gnu 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 aarch64-linux-gnu-ld option to reload object files... -r checking for aarch64-linux-gnu-objdump... aarch64-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for aarch64-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-linux-gnu-ar... aarch64-linux-gnu-ar checking for archiver @FILE support... @ checking for aarch64-linux-gnu-strip... (cached) aarch64-linux-gnu-strip checking for aarch64-linux-gnu-ranlib... aarch64-linux-gnu-ranlib checking command to parse /usr/bin/aarch64-linux-gnu-nm -B output from aarch64-linux-gnu-gcc-7 object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for aarch64-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if aarch64-linux-gnu-gcc-7 supports -fno-rtti -fno-exceptions... no checking for aarch64-linux-gnu-gcc-7 option to produce PIC... -fPIC -DPIC checking if aarch64-linux-gnu-gcc-7 PIC flag -fPIC -DPIC works... yes checking if aarch64-linux-gnu-gcc-7 static flag -static works... yes checking if aarch64-linux-gnu-gcc-7 supports -c -o file.o... yes checking if aarch64-linux-gnu-gcc-7 supports -c -o file.o... (cached) yes checking whether the aarch64-linux-gnu-gcc-7 linker (aarch64-linux-gnu-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 aarch64-linux-gnu-gcc... (cached) aarch64-linux-gnu-gcc-7 checking whether we are using the GNU C compiler... (cached) yes checking whether aarch64-linux-gnu-gcc-7 accepts -g... (cached) yes checking for aarch64-linux-gnu-gcc-7 option to accept ISO C89... (cached) none needed checking whether aarch64-linux-gnu-gcc-7 understands -c and -o together... (cached) yes checking dependency style of aarch64-linux-gnu-gcc-7... (cached) gcc3 checking compiler... gcc checking version of GCC... unknown compiler version pattern checking dmalloc.h usability... no checking dmalloc.h presence... no checking for dmalloc.h... no checking for ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking linux/soundcard.h usability... yes checking linux/soundcard.h presence... yes checking for linux/soundcard.h... yes checking working SSE intrinsics... no checking for an ANSI C-conforming const... yes checking for inline... inline 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 short... 2 checking size of unsigned short... 2 checking size of int... 4 checking size of unsigned int... 4 checking size of long... 8 checking size of unsigned long... 8 checking size of long long... 8 checking size of unsigned long long... 8 checking size of float... 4 checking size of double... 8 checking for long double with more range or precision than double... yes checking for uint8_t... yes checking for int8_t... yes checking for uint16_t... yes checking for int16_t... yes checking for uint32_t... yes checking for int32_t... yes checking for uint64_t... yes checking for int64_t... yes checking for IEEE854 compliant 80 bit floats... configure: WARNING: can't check for IEEE854 compliant 80 bit floats checking for ieee754_float64_t... no checking for ieee754_float32_t... no configure: WARNING: ************************************************************************** * * * You are cross compiling: * * - I did not have a change to determine * * + the size of: * * - short * * - unsigned short * * - int * * - unsigned int * * - long * * - unsigned long * * - float * * - double * * - long double * * + the endianess of the system * * - You have to provide appropriate defines for them in config.h, e.g. * * + define SIZEOF_SHORT to 2 if the size of a short is 2 * * + define WORDS_BIGENDIAN if your system is a big endian system * * * ************************************************************************** checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for working alloca.h... yes checking for alloca... yes checking for gettimeofday... yes checking for strtol... yes checking for socket... yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking ncurses/termcap.h usability... no checking ncurses/termcap.h presence... no checking for ncurses/termcap.h... no checking for initscr in -ltermcap... no checking for initscr in -lcurses... no checking for initscr in -lncurses... no checking for ld used by aarch64-linux-gnu-gcc-7... aarch64-linux-gnu-ld checking if the linker (aarch64-linux-gnu-ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for working iconv... guessing yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for cos in -lm... yes checking for cos in -lffm... no checking for cos in -lcpml... no checking for gtk-config... no checking for GTK - version >= 1.2.0... no *** The gtk-config script installed by GTK could not be found *** If GTK was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GTK_CONFIG environment variable to the *** full path to gtk-config. checking use of ElectricFence malloc debugging... no checking use of file io... lame checking use of analyzer hooks... yes checking use of mpg123 decoder... yes (Layer 1, 2, 3) checking if the lame frontend should be build... no checking if mp3x is requested... no checking if mp3rtp is requested... no checking if dynamic linking of the frontends is requested... no checking for termcap... no checking if I have to build the internal vector lib... no checking for nasm... /usr/bin/nasm checking for assembler routines for this processor type... no checking for additional optimizations... no checking for debug options... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libmp3lame/Makefile config.status: creating libmp3lame/i386/Makefile config.status: creating libmp3lame/vector/Makefile config.status: creating frontend/Makefile config.status: creating mpglib/Makefile config.status: creating doc/Makefile config.status: creating doc/html/Makefile config.status: creating doc/man/Makefile config.status: creating include/Makefile config.status: creating Dll/Makefile config.status: creating misc/Makefile config.status: creating dshow/Makefile config.status: creating ACM/Makefile config.status: creating ACM/ADbg/Makefile config.status: creating ACM/ddk/Makefile config.status: creating ACM/tinyxml/Makefile config.status: creating lame.spec config.status: creating mac/Makefile config.status: creating macosx/Makefile config.status: creating macosx/English.lproj/Makefile config.status: creating macosx/LAME.xcodeproj/Makefile config.status: creating vc_solution/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make all-recursive make[1]: Entering directory '/home/conan/.conan/data/libmp3lame/3.100/_/_/build/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0' Making all in mpglib make[2]: Entering directory '/home/conan/.conan/data/libmp3lame/3.100/_/_/build/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0/mpglib' /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT common.lo -MD -MP -MF .deps/common.Tpo -c -o common.lo ../source_subfolder/mpglib/common.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT dct64_i386.lo -MD -MP -MF .deps/dct64_i386.Tpo -c -o dct64_i386.lo ../source_subfolder/mpglib/dct64_i386.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT decode_i386.lo -MD -MP -MF .deps/decode_i386.Tpo -c -o decode_i386.lo ../source_subfolder/mpglib/decode_i386.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c -o interface.lo ../source_subfolder/mpglib/interface.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT layer1.lo -MD -MP -MF .deps/layer1.Tpo -c -o layer1.lo ../source_subfolder/mpglib/layer1.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT layer2.lo -MD -MP -MF .deps/layer2.Tpo -c -o layer2.lo ../source_subfolder/mpglib/layer2.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c -o layer3.lo ../source_subfolder/mpglib/layer3.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT tabinit.lo -MD -MP -MF .deps/tabinit.Tpo -c -o tabinit.lo ../source_subfolder/mpglib/tabinit.c libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT decode_i386.lo -MD -MP -MF .deps/decode_i386.Tpo -c ../source_subfolder/mpglib/decode_i386.c -o decode_i386.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT layer1.lo -MD -MP -MF .deps/layer1.Tpo -c ../source_subfolder/mpglib/layer1.c -o layer1.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT dct64_i386.lo -MD -MP -MF .deps/dct64_i386.Tpo -c ../source_subfolder/mpglib/dct64_i386.c -o dct64_i386.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c ../source_subfolder/mpglib/interface.c -o interface.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c ../source_subfolder/mpglib/layer3.c -o layer3.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT tabinit.lo -MD -MP -MF .deps/tabinit.Tpo -c ../source_subfolder/mpglib/tabinit.c -o tabinit.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT layer2.lo -MD -MP -MF .deps/layer2.Tpo -c ../source_subfolder/mpglib/layer2.c -o layer2.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/mpglib -I.. -I../source_subfolder/include -I../source_subfolder/mpglib -I../source_subfolder/libmp3lame -I.. -O -g -Wall -g -fPIC -MT common.lo -MD -MP -MF .deps/common.Tpo -c ../source_subfolder/mpglib/common.c -o common.o mv -f .deps/tabinit.Tpo .deps/tabinit.Plo mv -f .deps/common.Tpo .deps/common.Plo mv -f .deps/layer1.Tpo .deps/layer1.Plo mv -f .deps/decode_i386.Tpo .deps/decode_i386.Plo mv -f .deps/dct64_i386.Tpo .deps/dct64_i386.Plo mv -f .deps/layer2.Tpo .deps/layer2.Plo mv -f .deps/interface.Tpo .deps/interface.Plo mv -f .deps/layer3.Tpo .deps/layer3.Plo /bin/bash ../libtool --tag=CC --mode=link aarch64-linux-gnu-gcc-7 -O -g -Wall -g -fPIC -o libmpgdecoder.la common.lo dct64_i386.lo decode_i386.lo interface.lo layer1.lo layer2.lo layer3.lo tabinit.lo libtool: link: aarch64-linux-gnu-ar cru .libs/libmpgdecoder.a common.o dct64_i386.o decode_i386.o interface.o layer1.o layer2.o layer3.o tabinit.o aarch64-linux-gnu-ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: aarch64-linux-gnu-ranlib .libs/libmpgdecoder.a libtool: link: ( cd ".libs" && rm -f "libmpgdecoder.la" && ln -s "../libmpgdecoder.la" "libmpgdecoder.la" ) make[2]: Leaving directory '/home/conan/.conan/data/libmp3lame/3.100/_/_/build/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0/mpglib' Making all in libmp3lame make[2]: Entering directory '/home/conan/.conan/data/libmp3lame/3.100/_/_/build/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0/libmp3lame' Making all in i386 make[3]: Entering directory '/home/conan/.conan/data/libmp3lame/3.100/_/_/build/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0/libmp3lame/i386' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/conan/.conan/data/libmp3lame/3.100/_/_/build/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0/libmp3lame/i386' Making all in vector make[3]: Entering directory '/home/conan/.conan/data/libmp3lame/3.100/_/_/build/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0/libmp3lame/vector' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/conan/.conan/data/libmp3lame/3.100/_/_/build/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0/libmp3lame/vector' make[3]: Entering directory '/home/conan/.conan/data/libmp3lame/3.100/_/_/build/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0/libmp3lame' /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT VbrTag.lo -MD -MP -MF .deps/VbrTag.Tpo -c -o VbrTag.lo ../source_subfolder/libmp3lame/VbrTag.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT bitstream.lo -MD -MP -MF .deps/bitstream.Tpo -c -o bitstream.lo ../source_subfolder/libmp3lame/bitstream.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT encoder.lo -MD -MP -MF .deps/encoder.Tpo -c -o encoder.lo ../source_subfolder/libmp3lame/encoder.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT fft.lo -MD -MP -MF .deps/fft.Tpo -c -o fft.lo ../source_subfolder/libmp3lame/fft.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT gain_analysis.lo -MD -MP -MF .deps/gain_analysis.Tpo -c -o gain_analysis.lo ../source_subfolder/libmp3lame/gain_analysis.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT id3tag.lo -MD -MP -MF .deps/id3tag.Tpo -c -o id3tag.lo ../source_subfolder/libmp3lame/id3tag.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT lame.lo -MD -MP -MF .deps/lame.Tpo -c -o lame.lo ../source_subfolder/libmp3lame/lame.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT newmdct.lo -MD -MP -MF .deps/newmdct.Tpo -c -o newmdct.lo ../source_subfolder/libmp3lame/newmdct.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT presets.lo -MD -MP -MF .deps/presets.Tpo -c -o presets.lo ../source_subfolder/libmp3lame/presets.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT psymodel.lo -MD -MP -MF .deps/psymodel.Tpo -c -o psymodel.lo ../source_subfolder/libmp3lame/psymodel.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT quantize.lo -MD -MP -MF .deps/quantize.Tpo -c -o quantize.lo ../source_subfolder/libmp3lame/quantize.c /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT quantize_pvt.lo -MD -MP -MF .deps/quantize_pvt.Tpo -c -o quantize_pvt.lo ../source_subfolder/libmp3lame/quantize_pvt.c libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT encoder.lo -MD -MP -MF .deps/encoder.Tpo -c ../source_subfolder/libmp3lame/encoder.c -o encoder.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT id3tag.lo -MD -MP -MF .deps/id3tag.Tpo -c ../source_subfolder/libmp3lame/id3tag.c -o id3tag.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT fft.lo -MD -MP -MF .deps/fft.Tpo -c ../source_subfolder/libmp3lame/fft.c -o fft.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT newmdct.lo -MD -MP -MF .deps/newmdct.Tpo -c ../source_subfolder/libmp3lame/newmdct.c -o newmdct.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT lame.lo -MD -MP -MF .deps/lame.Tpo -c ../source_subfolder/libmp3lame/lame.c -o lame.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT bitstream.lo -MD -MP -MF .deps/bitstream.Tpo -c ../source_subfolder/libmp3lame/bitstream.c -o bitstream.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT quantize.lo -MD -MP -MF .deps/quantize.Tpo -c ../source_subfolder/libmp3lame/quantize.c -o quantize.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT quantize_pvt.lo -MD -MP -MF .deps/quantize_pvt.Tpo -c ../source_subfolder/libmp3lame/quantize_pvt.c -o quantize_pvt.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT VbrTag.lo -MD -MP -MF .deps/VbrTag.Tpo -c ../source_subfolder/libmp3lame/VbrTag.c -o VbrTag.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT presets.lo -MD -MP -MF .deps/presets.Tpo -c ../source_subfolder/libmp3lame/presets.c -o presets.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT psymodel.lo -MD -MP -MF .deps/psymodel.Tpo -c ../source_subfolder/libmp3lame/psymodel.c -o psymodel.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT gain_analysis.lo -MD -MP -MF .deps/gain_analysis.Tpo -c ../source_subfolder/libmp3lame/gain_analysis.c -o gain_analysis.o mv -f .deps/fft.Tpo .deps/fft.Plo /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT reservoir.lo -MD -MP -MF .deps/reservoir.Tpo -c -o reservoir.lo ../source_subfolder/libmp3lame/reservoir.c mv -f .deps/presets.Tpo .deps/presets.Plo /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT set_get.lo -MD -MP -MF .deps/set_get.Tpo -c -o set_get.lo ../source_subfolder/libmp3lame/set_get.c mv -f .deps/gain_analysis.Tpo .deps/gain_analysis.Plo /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT tables.lo -MD -MP -MF .deps/tables.Tpo -c -o tables.lo ../source_subfolder/libmp3lame/tables.c mv -f .deps/encoder.Tpo .deps/encoder.Plo /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT takehiro.lo -MD -MP -MF .deps/takehiro.Tpo -c -o takehiro.lo ../source_subfolder/libmp3lame/takehiro.c mv -f .deps/VbrTag.Tpo .deps/VbrTag.Plo /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo ../source_subfolder/libmp3lame/util.c libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT reservoir.lo -MD -MP -MF .deps/reservoir.Tpo -c ../source_subfolder/libmp3lame/reservoir.c -o reservoir.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT set_get.lo -MD -MP -MF .deps/set_get.Tpo -c ../source_subfolder/libmp3lame/set_get.c -o set_get.o mv -f .deps/newmdct.Tpo .deps/newmdct.Plo /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT vbrquantize.lo -MD -MP -MF .deps/vbrquantize.Tpo -c -o vbrquantize.lo ../source_subfolder/libmp3lame/vbrquantize.c libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT takehiro.lo -MD -MP -MF .deps/takehiro.Tpo -c ../source_subfolder/libmp3lame/takehiro.c -o takehiro.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT tables.lo -MD -MP -MF .deps/tables.Tpo -c ../source_subfolder/libmp3lame/tables.c -o tables.o libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT util.lo -MD -MP -MF .deps/util.Tpo -c ../source_subfolder/libmp3lame/util.c -o util.o mv -f .deps/quantize_pvt.Tpo .deps/quantize_pvt.Plo /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT version.lo -MD -MP -MF .deps/version.Tpo -c -o version.lo ../source_subfolder/libmp3lame/version.c mv -f .deps/reservoir.Tpo .deps/reservoir.Plo /bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT mpglib_interface.lo -MD -MP -MF .deps/mpglib_interface.Tpo -c -o mpglib_interface.lo ../source_subfolder/libmp3lame/mpglib_interface.c libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT vbrquantize.lo -MD -MP -MF .deps/vbrquantize.Tpo -c ../source_subfolder/libmp3lame/vbrquantize.c -o vbrquantize.o mv -f .deps/tables.Tpo .deps/tables.Plo ../source_subfolder/libmp3lame/util.c: In function ‘disable_FPE’: ../source_subfolder/libmp3lame/util.c:933:19: error: ‘_FPU_MASK_IM’ undeclared (first use in this function); did you mean ‘__FD_MASK’? mask &= ~(_FPU_MASK_IM | _FPU_MASK_ZM | _FPU_MASK_OM); ^~~~~~~~~~~~ __FD_MASK ../source_subfolder/libmp3lame/util.c:933:19: note: each undeclared identifier is reported only once for each function it appears in ../source_subfolder/libmp3lame/util.c:933:34: error: ‘_FPU_MASK_ZM’ undeclared (first use in this function); did you mean ‘_FPU_MASK_IM’? mask &= ~(_FPU_MASK_IM | _FPU_MASK_ZM | _FPU_MASK_OM); ^~~~~~~~~~~~ _FPU_MASK_IM ../source_subfolder/libmp3lame/util.c:933:49: error: ‘_FPU_MASK_OM’ undeclared (first use in this function); did you mean ‘_FPU_MASK_ZM’? mask &= ~(_FPU_MASK_IM | _FPU_MASK_ZM | _FPU_MASK_OM); ^~~~~~~~~~~~ _FPU_MASK_ZM Makefile:594: recipe for target 'util.lo' failed make[3]: *** [util.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT mpglib_interface.lo -MD -MP -MF .deps/mpglib_interface.Tpo -c ../source_subfolder/libmp3lame/mpglib_interface.c -o mpglib_interface.o ../source_subfolder/libmp3lame/vbrquantize.c:112:22: warning: ‘MAGIC_FLOAT’ defined but not used [-Wunused-const-variable=] static DOUBLEX const MAGIC_FLOAT = MAGIC_FLOAT_def; ^~~~~~~~~~~ ../source_subfolder/libmp3lame/vbrquantize.c:110:22: warning: ‘ROUNDFAC’ defined but not used [-Wunused-const-variable=] static DOUBLEX const ROUNDFAC = ROUNDFAC_def; ^~~~~~~~ ../source_subfolder/libmp3lame/vbrquantize.c:108:18: warning: ‘MAGIC_INT’ defined but not used [-Wunused-const-variable=] static int const MAGIC_INT = MAGIC_INT_def; ^~~~~~~~~ libtool: compile: aarch64-linux-gnu-gcc-7 -DHAVE_CONFIG_H -I. -I../source_subfolder/libmp3lame -I.. -I../source_subfolder/include -I../source_subfolder/libmp3lame -I../source_subfolder/mpglib -I.. -O -g -Wall -g -fPIC -MT version.lo -MD -MP -MF .deps/version.Tpo -c ../source_subfolder/libmp3lame/version.c -o version.o mv -f .deps/id3tag.Tpo .deps/id3tag.Plo mv -f .deps/lame.Tpo .deps/lame.Plo mv -f .deps/version.Tpo .deps/version.Plo mv -f .deps/quantize.Tpo .deps/quantize.Plo mv -f .deps/mpglib_interface.Tpo .deps/mpglib_interface.Plo mv -f .deps/takehiro.Tpo .deps/takehiro.Plo mv -f .deps/set_get.Tpo .deps/set_get.Plo mv -f .deps/psymodel.Tpo .deps/psymodel.Plo mv -f .deps/vbrquantize.Tpo .deps/vbrquantize.Plo mv -f .deps/bitstream.Tpo .deps/bitstream.Plo make[3]: Leaving directory '/home/conan/.conan/data/libmp3lame/3.100/_/_/build/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0/libmp3lame' Makefile:613: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/conan/.conan/data/libmp3lame/3.100/_/_/build/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0/libmp3lame' Makefile:452: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/conan/.conan/data/libmp3lame/3.100/_/_/build/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0' Makefile:381: recipe for target 'all' failed make: *** [all] Error 2 libmp3lame/3.100: libmp3lame/3.100: ERROR: Package '4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0' build failed libmp3lame/3.100: WARN: Build folder /home/conan/.conan/data/libmp3lame/3.100/_/_/build/4af5fbeccf4262a20a0d6ea0091abf1cd63a31c0 ```As you can see in the log output the build fails due to some missing constant regarding the FPU implementation. And in fact if you look at
/usr/aarch64-linux-gnu/include/fpu_control.h
, you will see that those constant are not defined.In order to solve this issue I don't know if we just have to disable the
ABORTFP
define in the generatedconfig.h
file or if we can define them some way in thelibmp3lame/utils.c
file.