Package: src:llvm-toolchain-18
Version: 1:18.1.0~rc2-4
Severity: important
Tags: sid trixie

llvm-18 ftbfs on armhf with libllvmlibc-18-dev enabled:

[...]
FAILED: libc/src/sys/mman/linux/CMakeFiles/libc.src.sys.mman.linux.mmap.dir/mmap.cpp.o "/<<PKGBUILDDIR>>/build-llvm/./bin/clang++" --target=arm-linux-gnueabihf -DLIBC_NAMESPACE=__llvm_libc_18_1_0_ -I"/<<PKGBUILDDIR>>/libc" -isystem "/<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins/libc/include" -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -Wno-unused-command-line-argument -march=armv7-a -mfpu=vfpv3-d16 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins=../../../ -fdebug-prefix-map=/<<PKGBUILDDIR>>/= -no-canonical-prefixes -ffile-prefix-map=/<<PKGBUILDDIR>>/build-llvm/runtimes/runtimes-bins=../../../ -ffile-prefix-map=/<<PKGBUILDDIR>>/= -no-canonical-prefixes -O3 -DNDEBUG -std=gnu++17 -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -DLIBC_COPT_PUBLIC_PACKAGING -MD -MT libc/src/sys/mman/linux/CMakeFiles/libc.src.sys.mman.linux.mmap.dir/mmap.cpp.o -MF libc/src/sys/mman/linux/CMakeFiles/libc.src.sys.mman.linux.mmap.dir/mmap.cpp.o.d -o libc/src/sys/mman/linux/CMakeFiles/libc.src.sys.mman.linux.mmap.dir/mmap.cpp.o -c '/<<PKGBUILDDIR>>/libc/src/sys/mman/linux/mmap.cpp' /<<PKGBUILDDIR>>/libc/src/sys/mman/linux/mmap.cpp:44:59: error: implicit conversion loses integer precision: 'off_t' (aka 'long long') to 'long' [-Werror,-Wshorten-64-to-32] 43 | LIBC_NAMESPACE::syscall_impl(syscall_number, reinterpret_cast<long>(addr),
      |       ~~~~~~~~~~~~~~
   44 |                                    size, prot, flags, fd, offset);
      |                                                           ^~~~~~
1 error generated.

Reply via email to