[llvm-bugs] [Bug 40426] New: Go bindings fail to compile on 32-bit ARM
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jan 23 08:51:55 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=40426
Bug ID: 40426
Summary: Go bindings fail to compile on 32-bit ARM
Product: new-bugs
Version: 8.0
Hardware: Other
OS: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: aykevanlaethem at gmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
The Go bindings for LLVM fail to compile on a 32-bit ARM system (Raspberry Pi 3
with 32-bit Linux kernel).
On this system, the Go compiler (version 1.11) disallows [1 << 30] with an
error like the following:
type [1073741824]_Ctype_uint larger than address space
The number of indices should never be this big anyway so can be lowered to (for
example) 1 << 16, even 1 << 8 is probably more than enough for all use cases
(it's the number of indices, not the range of them).
Note: I'm afraid I introduced this bug myself in
https://reviews.llvm.org/D53883. I can write a fix if needed, even though
fixing it is trivial.
I marked it as release-blocker as it is a clear regression, please set it as a
normal bug if that is wrong.
Offending line:
https://github.com/llvm-mirror/llvm/commit/2c000da033ca03bf8ac5aa1c1b8a5fd5bcc5ecf5#diff-bc833bc845e04ff2763e528b30c5c900R1266
--
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/20190123/e35accc4/attachment.html>
More information about the llvm-bugs
mailing list