[llvm-bugs] [Bug 30891] New: lld sets x86_64 MAXPAGESIZE to 0x1000, not 0x200000 as ld.bfd does
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Nov 2 16:18:10 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30891
Bug ID: 30891
Summary: lld sets x86_64 MAXPAGESIZE to 0x1000, not 0x200000 as
ld.bfd does
Product: lld
Version: unspecified
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: emaste at freebsd.org
CC: llvm-bugs at lists.llvm.org
Blocks: 23214
Classification: Unclassified
FreeBSD's amd64 (x86_64) kernel linker script uses MAXPAGESIZE to set the
physical and virtual addresses for the kernel.
See
https://svnweb.freebsd.org/base/head/sys/conf/ldscript.amd64?annotate=303442#l9
After r282560 (https://reviews.llvm.org/rL282560) lld sets MAXPAGESIZE to
0x1000 not 0x200000. The FreeBSD kernel then occupies the physical memory under
640K and the kernel panics on boot when a device that requires a low memory
allocation fails.
--
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/20161102/4501eb1e/attachment.html>
More information about the llvm-bugs
mailing list