New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 851642 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Oct 10
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug
Build-Toolchain

Blocking:
issue 701659



Sign in to add a comment

need to verify crash dumps for lld

Project Member Reported by yunlian@chromium.org, Jun 11 2018

Issue description

from b:109657296, lld sets --rosegment by default, this could break breakpad and unwinder, we need to verify that for ChromeOS.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 16 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/0d6c000d116163f8ef973cc59677b798aa20d16f

commit 0d6c000d116163f8ef973cc59677b798aa20d16f
Author: Yunlian Jiang <yunlian@google.com>
Date: Sat Jun 16 05:17:16 2018

chromeos-chrome: add -no-rosegment when using lld.

Without this flag, binaries linked with lld contains three PT_LOAD
segments whereas our symbolizer (breakpad) expects only one PT_LOAD
segment. This CL fixes that.

BUG= chromium:851642 
TEST=only one PT_LOAD segment is seen in the generated binary.

Change-Id: Ib226fd653ed3e1f519ec5d3e27328df4bf3f726f
Reviewed-on: https://chromium-review.googlesource.com/1101968
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>

[modify] https://crrev.com/0d6c000d116163f8ef973cc59677b798aa20d16f/chromeos-base/chromeos-chrome/chromeos-chrome-9999.ebuild

Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".
dump_syms works on unstripped binary on both AMD64 and ARM boards.
on stripped binary, 
dump_syms segfaults on AMD64 and it works fine on ARM boards.

We may migrate the linker to lld on ARM board first.
Status: Verified (was: Assigned)
dump_sys does not segfault if we remove the -no-rosegment flag from LLD.

Sign in to add a comment