| Issue 204974: | dump_syms fails on objects with -ffunction-sections (hardcodes ".text" section name assumption) | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
dump_syms assumes there is only section of code and it is named ".text". violate that assumption, and dump_syms gets angry.
$ gcc -c -x c - -o test.o -m32 -ffunction-sections <<<"main(){}"
$ dump_syms test.o
/home/vapier/test.o: unable to generate file identifier
Failed to write symbol file.
Oct 21, 2011
#1
mkr...@chromium.org
Jan 31, 2012
(No comment was entered for this change.)
Labels:
-Area-Build Area-SystemsInf
Feb 24, 2012
(No comment was entered for this change.)
Labels:
SysFixit
May 15, 2012
(No comment was entered for this change.)
Labels:
-Area-SystemsInf Area-Logging
Mar 6, 2013
(No comment was entered for this change.)
Labels:
OS-Chrome
Mar 9, 2013
(No comment was entered for this change.)
Labels:
-Area-Logging Cr-Internals-Logging
May 13, 2013
(No comment was entered for this change.)
Owner:
vapier@chromium.org
Aug 4, 2013
Project: chromiumos/third_party/portage_tool Branch : next Author : Mike Frysinger <vapier@chromium.org> Commit : 06ce9f2e013bcc0fdc094f8a1c1ea0dbe2446780 Code Review +2: David James Verified +1: Mike Frysinger Commit Queue : Chumped Change-Id : Ifa4d7612a5b3a15bec3dfbf5fda68ca451de5c7b Reviewed-at : https://gerrit.chromium.org/gerrit/42997 suppress splitdebug for .o files BUG=chromium-os:21932 TEST=cbuildbot run of an arm builder, checking python.o after dump_syms runs against it https://gerrit.chromium.org/gerrit/10451 Commit-Queue: Mike Frysinger <vapier@chromium.org> M bin/ebuild-helpers/prepstrip
Sep 1, 2014
Project : chromiumos/third_party/portage_tool Branch : next Author : Mike Frysinger <vapier@chromium.org> Committer: Bertrand Simonnet <bsimonnet@chromium.org> Commit : 6c6bc73364463b8cf45bea530fdcc65bd505b2dc Code-Review 0 : Bertrand Simonnet, David James Code-Review +2: Mike Frysinger Verified 0 : David James, Mike Frysinger Verified +1: Bertrand Simonnet Commit Queue : Chumped Change-Id : I08aa03df98265a307ef1142ac0af722e8e1bd0cd Reviewed-at : https://chromium-review.googlesource.com/214525 suppress splitdebug for .o files BUG=chromium-os:21932,chromium:305263 TEST=cbuildbot run of an arm builder, checking python.o after dump_syms runs against it TEST=`emerge-x86-alex chromeos-kernel` no longer throws errors during stripping TEST=`emerge-x86-alex chromeos-kernel` has split debug files for kernel modules TEST=`emerge-x86-alex python` does not have debug file for python.o, and lacks debug sections TEST=`emerge-x86-alex chromeos-base/autotest-deps-libaio` does not have debug file for raw_syscall.os, and lacks debug sections TEST=`cros_generate_breakpad_symbols --board x86-alex` still works https://gerrit.chromium.org/gerrit/10451 https://gerrit.chromium.org/gerrit/42997 bin/ebuild-helpers/prepstrip
Oct 29, 2014
(No comment was entered for this change.)
Blocking:
chromium:383222
|
||||||||||
| ► Sign in to add a comment | |||||||||||