Closed
Bug 1909564
Opened 1 year ago
Closed 1 year ago
Perma /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:31:28: error: no template named 'remove_reference_t' in namespace 'std'; did you mean 'remove_reference'?
Categories
(Core :: Fuzzing, defect, P5)
Core
Fuzzing
Tracking
()
RESOLVED
FIXED
131 Branch
| Tracking | Status | |
|---|---|---|
| firefox131 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: truber)
References
Details
Attachments
(1 file)
Filed by: mh [at] glandium.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=467628403&repo=toolchains
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OIhlW9jMRd-PFHdNxdxr4A/runs/0/artifacts/public/logs/live_backing.log
[task 2024-07-23T21:21:42.060Z] /builds/worker/fetches/clang/bin/clang++ -O3 -funroll-loops -fPIC -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"//lib/afl\" -DBIN_PATH=\"//bin\" -DLLVM_BINDIR=\"/builds/worker/fetches/clang/bin\" -DVERSION=\"++4.22a\" -DLLVM_LIBDIR=\"/builds/worker/fetches/clang/lib\" -DLLVM_VERSION=\"20.0.0\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/builds/worker/fetches/clang/bin/clang\" -DCLANGPP_BIN=\"/builds/worker/fetches/clang/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/builds/worker/fetches/AFLplusplus=llvm_mode" -Wno-deprecated -D__AFL_CODE_COVERAGE=1 --sysroot /builds/worker/fetches/sysroot `/builds/worker/fetches/clang/bin/llvm-config --cxxflags` -fno-rtti -fPIC -std=gnu++11 -c instrumentation/afl-llvm-common.cc -o instrumentation/afl-llvm-common.o
[task 2024-07-23T21:21:42.246Z] In file included from instrumentation/afl-llvm-common.cc:17:
[task 2024-07-23T21:21:42.246Z] In file included from /builds/worker/fetches/clang/include/llvm/Support/raw_ostream.h:16:
[task 2024-07-23T21:21:42.246Z] In file included from /builds/worker/fetches/clang/include/llvm/ADT/SmallVector.h:18:
[task 2024-07-23T21:21:42.246Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:31:28: error: no template named 'remove_reference_t' in namespace 'std'; did you mean 'remove_reference'?
[task 2024-07-23T21:21:42.246Z] 31 | using UnderlyingT = std::remove_reference_t<T>;
[task 2024-07-23T21:21:42.246Z] | ~~~~~^~~~~~~~~~~~~~~~~~
[task 2024-07-23T21:21:42.246Z] | remove_reference
[task 2024-07-23T21:21:42.246Z] /builds/worker/fetches/sysroot/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/type_traits:1411:12: note: 'remove_reference' declared here
[task 2024-07-23T21:21:42.246Z] 1411 | struct remove_reference
[task 2024-07-23T21:21:42.246Z] | ^
[task 2024-07-23T21:21:42.248Z] In file included from instrumentation/afl-llvm-common.cc:17:
[task 2024-07-23T21:21:42.248Z] In file included from /builds/worker/fetches/clang/include/llvm/Support/raw_ostream.h:16:
[task 2024-07-23T21:21:42.249Z] In file included from /builds/worker/fetches/clang/include/llvm/ADT/SmallVector.h:18:
[task 2024-07-23T21:21:42.249Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:35:13: error: no template named 'is_class_v' in namespace 'std'; did you mean 'is_class'?
[task 2024-07-23T21:21:42.249Z] 35 | !std::is_class_v<UnderlyingT> && // Filter conversion operators.
[task 2024-07-23T21:21:42.249Z] | ~~~~~^~~~~~~~~~
[task 2024-07-23T21:21:42.249Z] | is_class
[task 2024-07-23T21:21:42.249Z] /builds/worker/fetches/sysroot/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/type_traits:437:12: note: 'is_class' declared here
[task 2024-07-23T21:21:42.249Z] 437 | struct is_class
[task 2024-07-23T21:21:42.249Z] | ^
[task 2024-07-23T21:21:42.249Z] In file included from instrumentation/afl-llvm-common.cc:17:
[task 2024-07-23T21:21:42.249Z] In file included from /builds/worker/fetches/clang/include/llvm/Support/raw_ostream.h:16:
[task 2024-07-23T21:21:42.249Z] In file included from /builds/worker/fetches/clang/include/llvm/ADT/SmallVector.h:18:
[task 2024-07-23T21:21:42.249Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:35:37: error: expected '(' for function-style cast or type construction
[task 2024-07-23T21:21:42.249Z] 35 | !std::is_class_v<UnderlyingT> && // Filter conversion operators.
[task 2024-07-23T21:21:42.249Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
[task 2024-07-23T21:21:42.251Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:36:13: error: no template named 'is_pointer_v' in namespace 'std'; did you mean 'is_pointer'?
[task 2024-07-23T21:21:42.251Z] 36 | !std::is_pointer_v<UnderlyingT> &&
[task 2024-07-23T21:21:42.251Z] | ~~~~~^~~~~~~~~~~~
[task 2024-07-23T21:21:42.251Z] | is_pointer
[task 2024-07-23T21:21:42.251Z] /builds/worker/fetches/sysroot/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/type_traits:368:12: note: 'is_pointer' declared here
[task 2024-07-23T21:21:42.251Z] 368 | struct is_pointer
[task 2024-07-23T21:21:42.251Z] | ^
[task 2024-07-23T21:21:42.251Z] In file included from instrumentation/afl-llvm-common.cc:17:
[task 2024-07-23T21:21:42.251Z] In file included from /builds/worker/fetches/clang/include/llvm/Support/raw_ostream.h:16:
[task 2024-07-23T21:21:42.251Z] In file included from /builds/worker/fetches/clang/include/llvm/ADT/SmallVector.h:18:
[task 2024-07-23T21:21:42.251Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:36:39: error: expected '(' for function-style cast or type construction
[task 2024-07-23T21:21:42.251Z] 36 | !std::is_pointer_v<UnderlyingT> &&
[task 2024-07-23T21:21:42.251Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
[task 2024-07-23T21:21:42.254Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:37:13: error: no template named 'is_floating_point_v' in namespace 'std'; did you mean 'is_floating_point'?
[task 2024-07-23T21:21:42.254Z] 37 | !std::is_floating_point_v<UnderlyingT> &&
[task 2024-07-23T21:21:42.254Z] | ~~~~~^~~~~~~~~~~~~~~~~~~
[task 2024-07-23T21:21:42.254Z] | is_floating_point
[task 2024-07-23T21:21:42.254Z] /builds/worker/fetches/sysroot/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/type_traits:341:12: note: 'is_floating_point' declared here
[task 2024-07-23T21:21:42.254Z] 341 | struct is_floating_point
[task 2024-07-23T21:21:42.254Z] | ^
[task 2024-07-23T21:21:42.254Z] In file included from instrumentation/afl-llvm-common.cc:17:
[task 2024-07-23T21:21:42.254Z] In file included from /builds/worker/fetches/clang/include/llvm/Support/raw_ostream.h:16:
[task 2024-07-23T21:21:42.254Z] In file included from /builds/worker/fetches/clang/include/llvm/ADT/SmallVector.h:18:
[task 2024-07-23T21:21:42.254Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:37:46: error: expected '(' for function-style cast or type construction
[task 2024-07-23T21:21:42.254Z] 37 | !std::is_floating_point_v<UnderlyingT> &&
[task 2024-07-23T21:21:42.254Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
[task 2024-07-23T21:21:42.256Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:38:13: error: no template named 'is_enum_v' in namespace 'std'; did you mean 'is_enum'?
[task 2024-07-23T21:21:42.256Z] 38 | (std::is_enum_v<UnderlyingT> ||
[task 2024-07-23T21:21:42.256Z] | ~~~~~^~~~~~~~~
[task 2024-07-23T21:21:42.256Z] | is_enum
[task 2024-07-23T21:21:42.256Z] /builds/worker/fetches/sysroot/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/type_traits:425:12: note: 'is_enum' declared here
[task 2024-07-23T21:21:42.256Z] 425 | struct is_enum
[task 2024-07-23T21:21:42.256Z] | ^
[task 2024-07-23T21:21:42.256Z] In file included from instrumentation/afl-llvm-common.cc:17:
[task 2024-07-23T21:21:42.256Z] In file included from /builds/worker/fetches/clang/include/llvm/Support/raw_ostream.h:16:
[task 2024-07-23T21:21:42.256Z] In file included from /builds/worker/fetches/clang/include/llvm/ADT/SmallVector.h:18:
[task 2024-07-23T21:21:42.256Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:38:36: error: expected ')'
[task 2024-07-23T21:21:42.256Z] 38 | (std::is_enum_v<UnderlyingT> ||
[task 2024-07-23T21:21:42.256Z] | ^
[task 2024-07-23T21:21:42.256Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:38:7: note: to match this '('
[task 2024-07-23T21:21:42.256Z] 38 | (std::is_enum_v<UnderlyingT> ||
[task 2024-07-23T21:21:42.256Z] | ^
[task 2024-07-23T21:21:42.256Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:39:63: error: expected expression
[task 2024-07-23T21:21:42.256Z] 39 | std::is_convertible_v<UnderlyingT, unsigned long long>);
[task 2024-07-23T21:21:42.256Z] | ^
[task 2024-07-23T21:21:42.267Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:48:30: error: no template named 'is_pointer_v' in namespace 'std'; did you mean 'is_pointer'?
[task 2024-07-23T21:21:42.267Z] 48 | T, std::enable_if_t<std::is_pointer_v<T>>> {
[task 2024-07-23T21:21:42.267Z] | ~~~~~^~~~~~~~~~~~
[task 2024-07-23T21:21:42.267Z] | is_pointer
[task 2024-07-23T21:21:42.267Z] /builds/worker/fetches/sysroot/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/type_traits:368:12: note: 'is_pointer' declared here
[task 2024-07-23T21:21:42.267Z] 368 | struct is_pointer
[task 2024-07-23T21:21:42.267Z] | ^
[task 2024-07-23T21:21:42.267Z] In file included from instrumentation/afl-llvm-common.cc:17:
[task 2024-07-23T21:21:42.267Z] In file included from /builds/worker/fetches/clang/include/llvm/Support/raw_ostream.h:16:
[task 2024-07-23T21:21:42.267Z] In file included from /builds/worker/fetches/clang/include/llvm/ADT/SmallVector.h:18:
[task 2024-07-23T21:21:42.267Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:48:45: error: expected '(' for function-style cast or type construction
[task 2024-07-23T21:21:42.267Z] 48 | T, std::enable_if_t<std::is_pointer_v<T>>> {
[task 2024-07-23T21:21:42.267Z] | ~~~~~~~~~~~~~~~~~~~~^
[task 2024-07-23T21:21:42.267Z] <scratch space>:63:1: note: expanded from here
[task 2024-07-23T21:21:42.267Z] 63 | >
[task 2024-07-23T21:21:42.267Z] | ^
[task 2024-07-23T21:21:42.267Z] In file included from instrumentation/afl-llvm-common.cc:17:
[task 2024-07-23T21:21:42.267Z] In file included from /builds/worker/fetches/clang/include/llvm/Support/raw_ostream.h:16:
[task 2024-07-23T21:21:42.267Z] In file included from /builds/worker/fetches/clang/include/llvm/ADT/SmallVector.h:18:
[task 2024-07-23T21:21:42.267Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:48:13: error: no member named 'enable_if_t' in namespace 'std'
[task 2024-07-23T21:21:42.267Z] 48 | T, std::enable_if_t<std::is_pointer_v<T>>> {
[task 2024-07-23T21:21:42.267Z] | ~~~~~^
[task 2024-07-23T21:21:42.267Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:48:46: error: expected unqualified-id
[task 2024-07-23T21:21:42.267Z] 48 | T, std::enable_if_t<std::is_pointer_v<T>>> {
[task 2024-07-23T21:21:42.267Z] | ^
[task 2024-07-23T21:21:42.277Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:58:56: error: no template named 'is_pointer_v' in namespace 'std'; did you mean 'is_pointer'?
[task 2024-07-23T21:21:42.277Z] 58 | struct add_const_past_pointer<T, std::enable_if_t<std::is_pointer_v<T>>> {
[task 2024-07-23T21:21:42.277Z] | ~~~~~^~~~~~~~~~~~
[task 2024-07-23T21:21:42.277Z] | is_pointer
[task 2024-07-23T21:21:42.277Z] /builds/worker/fetches/sysroot/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/type_traits:368:12: note: 'is_pointer' declared here
[task 2024-07-23T21:21:42.277Z] 368 | struct is_pointer
[task 2024-07-23T21:21:42.277Z] | ^
[task 2024-07-23T21:21:42.277Z] In file included from instrumentation/afl-llvm-common.cc:17:
[task 2024-07-23T21:21:42.277Z] In file included from /builds/worker/fetches/clang/include/llvm/Support/raw_ostream.h:16:
[task 2024-07-23T21:21:42.277Z] In file included from /builds/worker/fetches/clang/include/llvm/ADT/SmallVector.h:18:
[task 2024-07-23T21:21:42.277Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:58:71: error: expected '(' for function-style cast or type construction
[task 2024-07-23T21:21:42.277Z] 58 | struct add_const_past_pointer<T, std::enable_if_t<std::is_pointer_v<T>>> {
[task 2024-07-23T21:21:42.277Z] | ~~~~~~~~~~~~~~~~~~~~^
[task 2024-07-23T21:21:42.277Z] <scratch space>:65:1: note: expanded from here
[task 2024-07-23T21:21:42.277Z] 65 | >
[task 2024-07-23T21:21:42.277Z] | ^
[task 2024-07-23T21:21:42.277Z] In file included from instrumentation/afl-llvm-common.cc:17:
[task 2024-07-23T21:21:42.277Z] In file included from /builds/worker/fetches/clang/include/llvm/Support/raw_ostream.h:16:
[task 2024-07-23T21:21:42.278Z] In file included from /builds/worker/fetches/clang/include/llvm/ADT/SmallVector.h:18:
[task 2024-07-23T21:21:42.278Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:58:39: error: no member named 'enable_if_t' in namespace 'std'
[task 2024-07-23T21:21:42.278Z] 58 | struct add_const_past_pointer<T, std::enable_if_t<std::is_pointer_v<T>>> {
[task 2024-07-23T21:21:42.278Z] | ~~~~~^
[task 2024-07-23T21:21:42.278Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:58:72: error: expected unqualified-id
[task 2024-07-23T21:21:42.278Z] 58 | struct add_const_past_pointer<T, std::enable_if_t<std::is_pointer_v<T>>> {
[task 2024-07-23T21:21:42.278Z] | ^
[task 2024-07-23T21:21:42.288Z] /builds/worker/fetches/clang/include/llvm/Support/type_traits.h:67:60: error: no template named 'is_pointer_v' in namespace 'std'; did you mean 'is_pointer'?
[task 2024-07-23T21:21:42.288Z] 67 | struct const_pointer_or_const_ref<T, std::enable_if_t<std::is_pointer_v<T>>> {
[task 2024-07-23T21:21:42.288Z] | ~~~~~^~~~~~~~~~~~
[task 2024-07-23T21:21:42.288Z] | is_pointer
[task 2024-07-23T21:21:42.288Z] /builds/worker/fetches/sysroot/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/type_traits:368:12: note: 'is_pointer' declared here
[task 2024-07-23T21:21:42.288Z] 368 | struct is_pointer
[task 2024-07-23T21:21:42.288Z] | ^
[task 2024-07-23T21:21:42.288Z] fatal error: too many errors emitted, stopping now [-ferror-limit=]
[task 2024-07-23T21:21:42.758Z] 20 errors generated.
[task 2024-07-23T21:21:42.763Z] make: *** [GNUmakefile.llvm:420: instrumentation/afl-llvm-common.o] Error 1
Comment 1•1 year ago
|
||
This comes from the -std=gnu++11 flag used by the AFLplusplus build. LLVM has switched to C++14 in 2019 and to C++17 in 2022.
Blocks: clang-19
| Comment hidden (Intermittent Failures Robot) |
Updated•1 year ago
|
Flags: needinfo?(jschwartzentruber)
| Assignee | ||
Comment 3•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → jschwartzentruber
Status: NEW → ASSIGNED
| Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(jschwartzentruber)
Pushed by jdschwa@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/64c9d4c989a3
Update AFL++ to support LLVM 20 r=firefox-build-system-reviewers,glandium
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox131:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•