Alexey Serbin has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/3360

Change subject: Do not run (g)addr2line translator on MacOS X
......................................................................

Do not run (g)addr2line translator on MacOS X

When running tests on MacOS X, omit using the
stacktrace_addr2line.pl utility to translate addresses to line numbers.
For current builds on MacOS X, neither (g)addr2line nor atos
translate stack address into line number without extra-hassle.
This is so even for binaries linked without PIE
(see the -no_pie linker's option).

As for the extra-hassle part: there are at least two ways
to address that, but neither looks a good candidate in the context
of the script.

  Option A:
    Provide the atos utility with reference to running test process
    using '-p <pid>' option.  This, however, triggers a pop-up
    requesting for password if it's run the very first time.

  Option B:
    Take a snapshot of running test process using MacOS X tools
    and provide the atos utility with the load address
    using '-l <addr>' option.

Change-Id: Idf8a81ae7f2e1b938734a4b66bec82cb731d90cc
---
M build-support/run-test.sh
1 file changed, 13 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/60/3360/1
-- 
To view, visit http://gerrit.cloudera.org:8080/3360
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idf8a81ae7f2e1b938734a4b66bec82cb731d90cc
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Alexey Serbin <aser...@cloudera.com>

Reply via email to