Skip to content

rust 1.67.0 fails to recognize thin archive #107334

Closed
@jpalus

Description

@jpalus

Code

Build of Mesa 22.3.4 (enabled rusticl) on Linux/aarch64 with rust 1.67.0 fails with:

error: failed to add native library src/gallium/auxiliary/libgallium.a: Unsupported archive identifier

where:

$ file build/src/gallium/auxiliary/libgallium.a
build/src/gallium/auxiliary/libgallium.a: thin archive with 1344 symbol entries

Version it worked on

Builds fine with rust 1.66.0.

Version with regression

Stable release of rust 1.67.0

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions