public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* tests/backtrace-dwarf.c failure due to -freorder-blocks-and-partition
@ 2018-08-03  7:41 Martin Liška
  2018-08-03  9:46 ` Mark Wielaard
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Liška @ 2018-08-03  7:41 UTC (permalink / raw)
  To: elfutils-devel; +Cc: Mark Wielaard

Hello.

As slightly discussed with Mark, there are tests that expect 'main'
will be present in backtrace. That's not always true on x86_64 because
-freorder-blocks-and-partition option is on by default. Then one can see:

[   88s] FAIL: run-backtrace-dwarf.sh
[   88s] ============================
[   88s] 
[   88s] 0x7f1fd49800cb	raise
[   88s] 0x7f1fd49694e9	abort
[   88s] 0x5627fddd0188	callme
[   88s] 0x5627fddd0192	doit
[   88s] 0x5627fddd01a3	main.cold.1
[   88s] 0x7f1fd496afeb	__libc_start_main
[   88s] 0x5627fddd04aa	_start
[   88s] /home/abuild/rpmbuild/BUILD/elfutils-0.173/tests/backtrace-dwarf: dwfl_thread_getframes: no error
[   88s] 0x5627fddd01a3	main.cold.1

Thus I'm suggesting to disable the option for tests?
Thoughts?
Martin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-09-11 11:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-03  7:41 tests/backtrace-dwarf.c failure due to -freorder-blocks-and-partition Martin Liška
2018-08-03  9:46 ` Mark Wielaard
2018-08-03 10:07   ` Martin Liška
2018-08-30 16:16     ` Mark Wielaard
2018-09-11 11:02       ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).