[Debian-astro-maintainers] Bug#983947: libsharp: ftbfs with -march=x86-64-v3
Matthias Klose
doko at debian.org
Wed Mar 3 15:39:15 GMT 2021
Package: src:libsharp
Version: 1.0.0-2
Severity: minor
User: debian-gcc at lists.debian.org
Usertags: ftbfs-x86-64-v3
Starting with LLVM 12 and GCC 11 (and backported to gcc-10 for Debian),
GCC introduces optimizations for new micro-architecture levels from
the x86-64 psABI. Filing these bug reports for packages building with
the current level (x86-64), but not with x86-64-v3.
To reproduce these issues, append -march=x86-64-v3 to the compiler
flags (CFLAGS, CXXFLAGS, ...). You also need hardware supporting these.
The easiest way is to call the dynamic linker in glibc 2.33 like
/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 --help
Otherwise look at the flags in /proc/cpuinfo and compare these with
those from table 3.1 in the System V Application Binary Interface doc:
https://gitlab.com/x86-psABIs/x86-64-ABI/-/wikis/x86-64-psABI
Please don't upload a package setting these flags by default. The
x86-64 baseline is still unchanged.
The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc10-v3/libsharp_1.0.0-2_unstable_gcc10-v3.log
The last lines of the build log are at the end of this report.
[...]
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
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... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for gcc option to accept ISO C99... none needed
checking for gcc option to support OpenMP... -fopenmp
checking our pkgconfig libname... libsharp
checking our pkgconfig version... 1.0.0
checking our pkgconfig_libdir... ${libdir}/pkgconfig
expanded our pkgconfig_libdir... /usr/lib/x86_64-linux-gnu/pkgconfig
checking our pkgconfig_libfile... libsharp.pc
checking our package / suffix... libsharp /
checking our pkgconfig description... libsharp Library
checking our pkgconfig requires...
checking our pkgconfig ext libs... -lsharp -lm
checking our pkgconfig cppflags...
checking our pkgconfig ldflags...
noninstalled pkgconfig -L /<<PKGBUILDDIR>>/.libs
noninstalled pkgconfig -I /<<PKGBUILDDIR>>/.
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing libsharp.pc commands
config.status: creating libsharp.pc.in
config.status: creating libsharp.pc
config.status: creating libsharp-uninstalled.pc
config.status: creating libsharp-uninstalled.sh
dh_auto_build
make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libsharp\ 1.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c -o c_utils/c_utils.lo c_utils/c_utils.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libsharp\ 1.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c -o c_utils/walltime_c.lo c_utils/walltime_c.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libsharp\ 1.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c -o pocketfft/pocketfft.lo pocketfft/pocketfft.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libsharp\ 1.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c -o libsharp/sharp.lo libsharp/sharp.c
libtool: compile: gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libsharp 1.0.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c c_utils/walltime_c.c -fPIC -DPIC -o c_utils/.libs/walltime_c.o
libtool: compile: gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libsharp 1.0.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c c_utils/c_utils.c -fPIC -DPIC -o c_utils/.libs/c_utils.o
libtool: compile: gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libsharp 1.0.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c libsharp/sharp.c -fPIC -DPIC -o libsharp/.libs/sharp.o
libtool: compile: gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libsharp 1.0.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c pocketfft/pocketfft.c -fPIC -DPIC -o pocketfft/.libs/pocketfft.o
libtool: compile: gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libsharp 1.0.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c c_utils/walltime_c.c -o c_utils/walltime_c.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libsharp\ 1.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c -o libsharp/sharp_almhelpers.lo libsharp/sharp_almhelpers.c
libtool: compile: gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libsharp 1.0.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c c_utils/c_utils.c -o c_utils/c_utils.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libsharp\ 1.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c -o libsharp/sharp_core.lo libsharp/sharp_core.c
libtool: compile: gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libsharp 1.0.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c libsharp/sharp_almhelpers.c -fPIC -DPIC -o libsharp/.libs/sharp_almhelpers.o
libtool: compile: gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libsharp 1.0.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c libsharp/sharp_almhelpers.c -o libsharp/sharp_almhelpers.o >/dev/null 2>&1
libtool: compile: gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libsharp 1.0.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c libsharp/sharp_core.c -fPIC -DPIC -o libsharp/.libs/sharp_core.o
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libsharp\ 1.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c -o libsharp/sharp_geomhelpers.lo libsharp/sharp_geomhelpers.c
libtool: compile: gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libsharp 1.0.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c libsharp/sharp_geomhelpers.c -fPIC -DPIC -o libsharp/.libs/sharp_geomhelpers.o
libsharp/sharp_core.c:50:2: error: #error MULTIARCH specified but platform-specific flags detected
50 | #error MULTIARCH specified but platform-specific flags detected
| ^~~~~
make[1]: *** [Makefile:879: libsharp/sharp_core.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libsharp 1.0.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c libsharp/sharp_geomhelpers.c -o libsharp/sharp_geomhelpers.o >/dev/null 2>&1
libtool: compile: gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libsharp 1.0.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c libsharp/sharp.c -o libsharp/sharp.o >/dev/null 2>&1
libtool: compile: gcc -DPACKAGE_NAME=\"libsharp\" -DPACKAGE_TARNAME=\"libsharp\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libsharp 1.0.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsharp\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -DMULTIARCH -fopenmp -c pocketfft/pocketfft.c -o pocketfft/pocketfft.o >/dev/null 2>&1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:38: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Debian-astro-maintainers
mailing list