[PATCH] D74736: [ELF] Ignore the maximum of input section alignments for two cases
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 24 18:24:42 PST 2020
MaskRay added a comment.
In D74736#1890561 <https://reviews.llvm.org/D74736#1890561>, @leonardchan wrote:
> Hi, a bisect seems to show that this causes a kernel panic for an OOM test we have for zircon (https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket.appspot.com/8887545931153261696/+/steps/failures/0/steps/Linux-_2_/0/steps/attempt_0__fail_/0/steps/failed:_host_x64_oom_tests/0/logs/stdio/0).
>
> We're going to see if this is an us problem or a compiler problem, but just wanted to raise awareness in the meantime.
I'm 80% confident that this change is innocent, especially if zircon has never been tested with GNU ld...
It is highly recommended to write portable linker scripts, because lld/GNU ld's linker scripts have some subtle differences. lld's linker script support is catching up, but any improvement may unavoidably cause semantic differences.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74736/new/
https://reviews.llvm.org/D74736
More information about the llvm-commits
mailing list