[llvm-bugs] [Bug 31805] New: external assembler error with clang, ARM thumb: "branch out of range"
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jan 30 12:21:10 PST 2017
https://llvm.org/bugs/show_bug.cgi?id=31805
Bug ID: 31805
Summary: external assembler error with clang, ARM thumb:
"branch out of range"
Product: new-bugs
Version: 3.9
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: arnd at linaro.org
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 17917
--> https://llvm.org/bugs/attachment.cgi?id=17917&action=edit
preprocessed arch/arm/kernel/suspend.c file from linux, reduced
Building an "allmodconfig" build of the Linux kernel for ARM (with additional
patches to make it work initially), I ran into one assembler error that happens
specifically in Thumb2 mode. I used creduce to produce a smaller test case:
/home/arnd/cross/bin/clang -std=gnu89 -target arm-linux-gnueabihf -mthumb
-no-integrated-as -march=armv7-a -Wa,-mimplicit-it=always -O2 -c suspend.i
/tmp/suspend-be0319.s: Assembler messages:
/tmp/suspend-be0319.s:41: Error: branch out of range
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)
The original file (before reducing) worked fine with clang-3.8 but broke with
3.9, the reduced version breaks with both, but still builds fine with gcc.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170130/9bf61d8d/attachment.html>
More information about the llvm-bugs
mailing list