Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 444434 Details for
Bug 592432
app-antivirus/clamav-0.99.2: building w/gcc-6: error: expected unqualified-id before 'alignof'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
clamav-0.99.2 build log using gcc-6.2.0 (hopefully with proper encoding)
clamav.log (text/plain), 11.65 KB, created by
Francesco Turco
on 2016-08-30 13:47:32 UTC
(
hide
)
Description:
clamav-0.99.2 build log using gcc-6.2.0 (hopefully with proper encoding)
Filename:
MIME Type:
Creator:
Francesco Turco
Created:
2016-08-30 13:47:32 UTC
Size:
11.65 KB
patch
obsolete
>make[5]: Entering directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav/c++' >/bin/sh ./libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ -I./llvm/include -I./llvm/include -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -DLLVM_VERSION=28 -march=native -O2 -pipe -c -o libclamavcxx_la-bytecode2llvm.lo `test -f 'bytecode2llvm.cpp' || echo './'`bytecode2llvm.cpp >/bin/sh ./libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ -I./llvm/include -I./llvm/include -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -DLLVM_VERSION=28 -march=native -O2 -pipe -c -o libclamavcxx_la-ClamBCRTChecks.lo `test -f 'ClamBCRTChecks.cpp' || echo './'`ClamBCRTChecks.cpp >libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ -I./llvm/include -I./llvm/include -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -DLLVM_VERSION=28 -march=native -O2 -pipe -c bytecode2llvm.cpp -fPIC -DPIC -o .libs/libclamavcxx_la-bytecode2llvm.o >libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ -I./llvm/include -I./llvm/include -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -DLLVM_VERSION=28 -march=native -O2 -pipe -c ClamBCRTChecks.cpp -fPIC -DPIC -o .libs/libclamavcxx_la-ClamBCRTChecks.o >In file included from ./llvm/include/llvm/BasicBlock.h:18:0, > from ./llvm/include/llvm/Function.h:23, > from ./llvm/include/llvm/Analysis/CallGraph.h:54, > from ClamBCRTChecks.cpp:31: >./llvm/include/llvm/SymbolTableListTraits.h: In member function 'ItemParentClass* llvm::SymbolTableListTraits<ValueSubClass, ItemParentClass>::getListOwner()': >./llvm/include/llvm/SymbolTableListTraits.h:49:53: warning: typedef 'Sublist' locally defined but not used [-Wunused-local-typedefs] > typedef iplist<ValueSubClass> ItemParentClass::*Sublist; > ^~~~~~~ >In file included from ./llvm/include/llvm/Support/Allocator.h:17:0, > from ./llvm/include/llvm/ADT/StringMap.h:18, > from ./llvm/include/llvm/PassRegistry.h:20, > from ./llvm/include/llvm/PassSupport.h:25, > from ./llvm/include/llvm/Pass.h:366, > from ./llvm/include/llvm/Analysis/CallGraph.h:55, > from ClamBCRTChecks.cpp:31: >./llvm/include/llvm/Support/AlignOf.h: At global scope: >./llvm/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id before 'alignof' > static inline unsigned alignof() { return AlignOf<T>::Alignment; } > ^~~~~~~ >In file included from bytecode2llvm.cpp:39:0: >./llvm/include/llvm/ADT/BitVector.h: In member function 'int llvm::BitVector::find_next(unsigned int) const': >./llvm/include/llvm/ADT/BitVector.h:161:20: warning: left shift of negative value [-Wshift-negative-value] > Copy &= ~0L << BitPos; > ^~~~~~ >In file included from ./llvm/include/llvm/ADT/StringMap.h:18:0, > from ./llvm/include/llvm/PassRegistry.h:20, > from ./llvm/include/llvm/PassSupport.h:25, > from ./llvm/include/llvm/Pass.h:366, > from ./llvm/include/llvm/Analysis/CallGraph.h:55, > from ClamBCRTChecks.cpp:31: >./llvm/include/llvm/Support/Allocator.h: In member function 'void llvm::SpecificBumpPtrAllocator<T>::DestroyAll()': >./llvm/include/llvm/Support/Allocator.h:204:46: error: expected primary-expression before '<' token > Ptr = Allocator.AlignPtr(Ptr, alignof<T>()); > ^ >./llvm/include/llvm/Support/Allocator.h:204:39: warning: ISO C++ does not allow 'alignof' with a non-type [-Wpedantic] > Ptr = Allocator.AlignPtr(Ptr, alignof<T>()); > ^~~~~~~ >./llvm/include/llvm/Support/Allocator.h:204:48: error: expected primary-expression before '>' token > Ptr = Allocator.AlignPtr(Ptr, alignof<T>()); > ^ >./llvm/include/llvm/Support/Allocator.h:204:50: error: expected primary-expression before ')' token > Ptr = Allocator.AlignPtr(Ptr, alignof<T>()); > ^ >In file included from ./llvm/include/llvm/PassRegistry.h:20:0, > from ./llvm/include/llvm/PassSupport.h:25, > from ./llvm/include/llvm/Pass.h:366, > from ./llvm/include/llvm/Analysis/CallGraph.h:55, > from ClamBCRTChecks.cpp:31: >./llvm/include/llvm/ADT/StringMap.h: In static member function 'static llvm::StringMapEntry<ValueTy>* llvm::StringMapEntry<ValueTy>::Create(const char*, const char*, AllocatorTy&, InitType)': >./llvm/include/llvm/ADT/StringMap.h:170:33: error: expected primary-expression before '<' token > unsigned Alignment = alignof<StringMapEntry>(); > ^ >./llvm/include/llvm/ADT/StringMap.h:170:26: warning: ISO C++ does not allow 'alignof' with a non-type [-Wpedantic] > unsigned Alignment = alignof<StringMapEntry>(); > ^~~~~~~ >./llvm/include/llvm/ADT/StringMap.h:170:48: error: expected primary-expression before '>' token > unsigned Alignment = alignof<StringMapEntry>(); > ^ >./llvm/include/llvm/ADT/StringMap.h:170:50: error: expected primary-expression before ')' token > unsigned Alignment = alignof<StringMapEntry>(); > ^ >./llvm/include/llvm/ADT/BitVector.h: In member function 'void llvm::BitVector::set_unused_bits(bool)': >./llvm/include/llvm/ADT/BitVector.h:376:37: warning: left shift of negative value [-Wshift-negative-value] > Bits[UsedWords-1] &= ~(~0L << ExtraBits); > ^~~~~~~~~ >In file included from ./llvm/include/llvm/Support/Allocator.h:17:0, > from ./llvm/include/llvm/ADT/StringMap.h:18, > from bytecode2llvm.cpp:41: >./llvm/include/llvm/Support/AlignOf.h: At global scope: >./llvm/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id before 'alignof' > static inline unsigned alignof() { return AlignOf<T>::Alignment; } > ^~~~~~~ >In file included from ./llvm/include/llvm/ADT/StringMap.h:18:0, > from bytecode2llvm.cpp:41: >./llvm/include/llvm/Support/Allocator.h: In member function 'void llvm::SpecificBumpPtrAllocator<T>::DestroyAll()': >./llvm/include/llvm/Support/Allocator.h:204:46: error: expected primary-expression before '<' token > Ptr = Allocator.AlignPtr(Ptr, alignof<T>()); > ^ >./llvm/include/llvm/Support/Allocator.h:204:39: warning: ISO C++ does not allow 'alignof' with a non-type [-Wpedantic] > Ptr = Allocator.AlignPtr(Ptr, alignof<T>()); > ^~~~~~~ >./llvm/include/llvm/Support/Allocator.h:204:48: error: expected primary-expression before '>' token > Ptr = Allocator.AlignPtr(Ptr, alignof<T>()); > ^ >./llvm/include/llvm/Support/Allocator.h:204:50: error: expected primary-expression before ')' token > Ptr = Allocator.AlignPtr(Ptr, alignof<T>()); > ^ >In file included from bytecode2llvm.cpp:41:0: >./llvm/include/llvm/ADT/StringMap.h: In static member function 'static llvm::StringMapEntry<ValueTy>* llvm::StringMapEntry<ValueTy>::Create(const char*, const char*, AllocatorTy&, InitType)': >./llvm/include/llvm/ADT/StringMap.h:170:33: error: expected primary-expression before '<' token > unsigned Alignment = alignof<StringMapEntry>(); > ^ >./llvm/include/llvm/ADT/StringMap.h:170:26: warning: ISO C++ does not allow 'alignof' with a non-type [-Wpedantic] > unsigned Alignment = alignof<StringMapEntry>(); > ^~~~~~~ >./llvm/include/llvm/ADT/StringMap.h:170:48: error: expected primary-expression before '>' token > unsigned Alignment = alignof<StringMapEntry>(); > ^ >./llvm/include/llvm/ADT/StringMap.h:170:50: error: expected primary-expression before ')' token > unsigned Alignment = alignof<StringMapEntry>(); > ^ >In file included from bytecode2llvm.cpp:69:0: >./llvm/include/llvm/Support/CommandLine.h: In member function 'void llvm::cl::alias::done()': >./llvm/include/llvm/Support/CommandLine.h:1326:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] > if (AliasFor == 0) > ^~ >./llvm/include/llvm/Support/CommandLine.h:1328:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' > addArgument(); > ^~~~~~~~~~~ >In file included from ClamBCRTChecks.cpp:59:0: >./llvm/include/llvm/Support/CommandLine.h: In member function 'void llvm::cl::alias::done()': >./llvm/include/llvm/Support/CommandLine.h:1326:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] > if (AliasFor == 0) > ^~ >./llvm/include/llvm/Support/CommandLine.h:1328:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' > addArgument(); > ^~~~~~~~~~~ >bytecode2llvm.cpp: In function 'void setGuard(unsigned char*)': >bytecode2llvm.cpp:2432:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wpedantic] > cl_hash_data("md5", salt, 48, guardbuf, NULL); > ^ >make[5]: *** [Makefile:2155: libclamavcxx_la-ClamBCRTChecks.lo] Error 1 >make[5]: *** Waiting for unfinished jobs.... >make[5]: *** [Makefile:2148: libclamavcxx_la-bytecode2llvm.lo] Error 1 >make[5]: Leaving directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav/c++' >make[4]: *** [Makefile:1534: all] Error 2 >make[4]: Leaving directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav/c++' >make[3]: *** [Makefile:3449: all-recursive] Error 1 >make[3]: Leaving directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav' >make[2]: *** [Makefile:1151: all] Error 2 >make[2]: Leaving directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav' >make[1]: *** [Makefile:738: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2' >make: *** [Makefile:566: all] Error 2 > * ERROR: app-antivirus/clamav-0.99.2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-antivirus/clamav-0.99.2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-antivirus/clamav-0.99.2::gentoo'`. > * The complete build log is located at '/var/log/portage/app-antivirus:clamav-0.99.2:20160830-133219.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-antivirus/clamav-0.99.2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-antivirus/clamav-0.99.2/temp/environment'. > * Working directory: '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2' > * S: '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2' > >>>> Failed to emerge app-antivirus/clamav-0.99.2, Log file: > >>>> '/var/log/portage/app-antivirus:clamav-0.99.2:20160830-133219.log'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 592432
:
444432
| 444434