This is the mail archive of the mailing list for the elfutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch 4/4 v2] unwinder: The unwinder (x86* only)

On Thu, 13 Jun 2013 16:41:55 +0200, Mark Wielaard wrote:
> But on rhel6.4 it does fail because nm tests/backtrace-child|grep -w jmp
> is empty, and so you get:
> FAIL: (exit: 1)
> ================================
> backtrace: /home/mark/src/elfutils/tests/backtrace.c:439: selfdump: Assertion `symi < nsym' failed.
> /home/mark/src/elfutils/tests/ line 84: 17144 Aborted                 (core dumped) LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" $VALGRIND_CMD "$@"
> I seem to need to build with CFLAGS="-g -O0" to keep the jmp function
> around. Then backtrace-child seems to succeed, but backtrace-child-biarch
> fails with:

OK, with CentOS-6.3 && -O2 build I also get FAIL.

This is because you broke it.

commit f4e6062e0e4eb89e349458802b40e7315e514fd6
Author: Mark Wielaard <>
    GCC version check attributes, noclone was introduced with GCC 4.5

+#define NO_INLINE_CLONE __attribute__ ((noinline, noclone))
+#define NO_INLINE_CLONE __attribute__ ((noinline))
-static __attribute__ ((noinline, noclone, used)) void
+static NO_INLINE_CLONE void


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]