Skip to content

LLVM 18 issue: tests/run-make/target-specs and rustdoc-target-spec-json-path broken after https://github.com/rust-lang/rust/commit/46652dd254bc9c413d14cec637c7f21ac6601e05 #120492

Closed
@krasimirgg

Description

@krasimirgg

The commit 46652dd added a check that stars firing due to the changes to the default target layouts in LLVM 18 (#116672):
https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/25552#018d505f-51d2-4820-8258-2f7b1b2ba0be/849-862

error: data-layout for target `my-awesome-platform-11748080347047929107`, `e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-f80:32-n8:16:32-S128`, differs from LLVM target's `i686-unknown-linux-gnu` default layout, `e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i128:128-f64:32:64-f80:32-n8:16:32-S128`

Metadata

Metadata

Assignees

Labels

A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions