Open
Bug 1941479
Opened 1 month ago
Updated 10 days ago
[clang-trunk] Perma error[E0412]: cannot find type `_Allocator` in this scope
Categories
(Core :: CSS Parsing and Computation, defect, P5)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: intermittent-bug-filer, Unassigned)
References
(Blocks 1 open bug)
Details
Filed by: mh [at] glandium.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=489988960&repo=toolchains
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/CsLjz_scQp-RsHXCmmFS6A/runs/0/artifacts/public/logs/live_backing.log
[task 2025-01-14T02:32:35.936Z] 02:32:35 ERROR - error[E0412]: cannot find type `_Allocator` in this scope
[task 2025-01-14T02:32:35.937Z] 02:32:35 INFO - --> /builds/worker/workspace/obj-build/i686-pc-windows-gnu/release/build/style-bd14d1d48fe068fb/out/gecko/structs.rs:68594:80
[task 2025-01-14T02:32:35.937Z] 02:32:35 INFO - |
[task 2025-01-14T02:32:35.938Z] 02:32:35 INFO - 68594 | pub mVector: root::__BindgenUnionField<*mut root::std::__1::vector<_Allocator>>,
[task 2025-01-14T02:32:35.938Z] 02:32:35 INFO - | ^^^^^^^^^^ not found in this scope
[task 2025-01-14T02:32:35.939Z] 02:32:35 INFO - |
[task 2025-01-14T02:32:35.939Z] 02:32:35 INFO - help: you might be missing a type parameter
[task 2025-01-14T02:32:35.939Z] 02:32:35 INFO - |
[task 2025-01-14T02:32:35.940Z] 02:32:35 INFO - 68592 | pub struct SmallPointerArray_Element<T, _Allocator> {
[task 2025-01-14T02:32:35.940Z] 02:32:35 INFO - | ++++++++++++
Comment 1•1 month ago
|
||
This only happens on mingw builds, and is most likely coming from some libc++ change (these are the only builds using libc++ off the same tree as clang/llvm)
Blocks: clang-20
Comment hidden (Intermittent Failures Robot) |
Comment 3•10 days ago
|
||
I just encountered the same exact _Allocator error with LLVM libc++ 21 on Gentoo Linux.
You need to log in
before you can comment on or make changes to this bug.
Description
•