Closed Bug 1893553 Opened 11 months ago Closed 11 months ago

Perma cctools-port: ./../code-sign-blobs/blob.h:185:60: error: no member named 'clone' in 'Security::BlobCore'

Categories

(Firefox Build System :: Toolchains, defect)

defect

Tracking

(firefox127 fixed)

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

[task 2024-04-25T20:51:29.148Z] In file included from macho_dylib_file.cpp:46:
[task 2024-04-25T20:51:29.148Z] In file included from ./../code-sign-blobs/superblob.h:7:
[task 2024-04-25T20:51:29.148Z] ./../code-sign-blobs/blob.h:185:60: error: no member named 'clone' in 'Security::BlobCore'
[task 2024-04-25T20:51:29.148Z]   185 |         { assert(validateBlob()); return specific(this->BlobCore::clone());     }
[task 2024-04-25T20:51:29.148Z]       |                                                         ~~~~~~~~~~^

The code was already buggy, but this wasn't caught by clang until https://github.com/llvm/llvm-project/pull/84050.

The base class doesn't have a clone member function, so the code was
never valid. As it was unused, that didn't cause problems until clang
caught this earlier than instantiation in
https://github.com/llvm/llvm-project/pull/84050

Submitted upstream as https://github.com/tpoechtrager/cctools-port/pull/148

Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/a009318c4573 Remove unused broken code from cctools. r=firefox-build-system-reviewers,sergesanspaille,nalexander
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: