Skip to content

ARMv6 architecture support broken in nightly-2019-07-18 #62841

Closed
@Majkl578

Description

@Majkl578

The support for ARMv6 architecture was broken somewhere between 07e0c36...bc2e84c: nightly-2019-07-16 compiles file while nightly-2019-07-17 produces binary that crashes with Illegal instruction.

More specifically, this is a binary cross-compiled from x86_64-unknown-linux-gnu for arm-unknown-linux-gnueabihf arch, linked with a custom linker for ARMv6.

The hardware is part of Raspberry Pi Zero rev. 1.1, the processor information is as follows:

$ cat /proc/cpuinfo
processor	: 0
model name	: ARMv6-compatible processor rev 7 (v6l)
BogoMIPS	: 697.95
Features	: half thumb fastmult vfp edsp java tls 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xb76
CPU revision	: 7

Hardware	: BCM2835
Revision	: 9000c1
Serial		: 000000005f455245

Metadata

Metadata

Assignees

Labels

A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateP-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions