Bug#968174: FTBFS on ppc64el
Stéphane Glondu
glondu at debian.org
Mon Aug 10 08:30:01 BST 2020
Source: llvm-toolchain-9
Version: 1:9.0.1-13
Severity: serious
Tags: ftbfs
Dear Maintainer,
llvm-toolchain-9 FTBFS on ppc64el:
> [...]
> cd /<<PKGBUILDDIR>>/build-llvm/lib/Target/X86 && /usr/bin/g++-10 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<<PKGBUILDDIR>>/build-llvm/lib/Target/X86 -I/<<PKGBUILDDIR>>/llvm/lib/Target/X86 -I/<<PKGBUILDDIR>>/build-llvm/include -I/<<PKGBUILDDIR>>/llvm/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -ffunction-sections -fdata-sections -O2 -DNDEBUG -g1 -fno-exceptions -o CMakeFiles/LLVMX86CodeGen.dir/X86MCInstLower.cpp.o -c /<<PKGBUILDDIR>>/llvm/lib/Target/X86/X86MCInstLower.cpp
> In file included from /<<PKGBUILDDIR>>/clang/lib/Lex/Lexer.cpp:2465:
> /<<PKGBUILDDIR>>/clang/lib/Lex/Lexer.cpp: In member function ‘bool clang::Lexer::SkipBlockComment(clang::Token&, const char*, bool&)’:
> /<<PKGBUILDDIR>>/clang/lib/Lex/Lexer.cpp:2545:34: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
> 2545 | !vec_any_eq(*(const vector unsigned char*)CurPtr, Slashes))
> | ^~~~~~
> /<<PKGBUILDDIR>>/clang/lib/Lex/Lexer.cpp:2545:28: error: expected primary-expression before ‘const’
> 2545 | !vec_any_eq(*(const vector unsigned char*)CurPtr, Slashes))
> | ^~~~~
> /<<PKGBUILDDIR>>/clang/lib/Lex/Lexer.cpp:2545:28: error: expected ‘)’ before ‘const’
> /<<PKGBUILDDIR>>/clang/lib/Lex/Lexer.cpp:2546:21: error: expected ‘)’ before ‘;’ token
> 2546 | CurPtr += 16;
> | ^
> | )
> In file included from /<<PKGBUILDDIR>>/clang/lib/Lex/Lexer.cpp:2465:
> /<<PKGBUILDDIR>>/clang/lib/Lex/Lexer.cpp:2545:15: note: to match this ‘(’
> 2545 | !vec_any_eq(*(const vector unsigned char*)CurPtr, Slashes))
> | ^~~~~~~~~~
> /<<PKGBUILDDIR>>/clang/lib/Lex/Lexer.cpp:2546:21: error: expected ‘)’ before ‘;’ token
> 2546 | CurPtr += 16;
> | ^
> | )
> /<<PKGBUILDDIR>>/clang/lib/Lex/Lexer.cpp:2544:13: note: to match this ‘(’
> 2544 | while (CurPtr+16 <= BufferEnd &&
> | ^
> /<<PKGBUILDDIR>>/clang/lib/Lex/Lexer.cpp:2540:30: warning: unused variable ‘Slashes’ [-Wunused-variable]
> 2540 | __vector unsigned char Slashes = {
> | ^~~~~~~
> make[5]: *** [tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/build.make:105: tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o] Error 1
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm'
> make[4]: *** [CMakeFiles/Makefile2:46060: tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/all] Error 2
> make[4]: *** Waiting for unfinished jobs....
> [...]
Full log at:
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-9&arch=ppc64el&ver=1%3A9.0.1-13%2Bb1&stamp=1596697485&raw=0
Cheers,
--
Stéphane
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.7.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the Pkg-llvm-team
mailing list