public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mjw@redhat.com>
To: elfutils-devel@lists.fedorahosted.org
Subject: Re: Versioned symbols in elfutils and uClibc
Date: Tue, 28 Apr 2015 19:34:05 +0200	[thread overview]
Message-ID: <20150428173405.GC3161@blokker.redhat.com> (raw)
In-Reply-To: CAMo8BfK=By_rwOzmC8YWP1=zJcjEdeMS5WVNpsKpeM6bmUy1kg@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 2866 bytes --]

On Mon, Apr 27, 2015 at 05:12:01AM +0300, Max Filippov wrote:
> So, I've switched to the pristine sources from git and forward-ported
> series pointed to by Anthony and now the results are the following:
> 
> # TOTAL: 134
> # PASS:  116
> # SKIP:  7
> # XFAIL: 0
> # FAIL:  11
> # XPASS: 0
> # ERROR: 0
> 
> The log is attached. I'll take a look at the segfaults.

> FAIL: run-strip-reloc.sh
> ========================
> 
> *** failure --reloc-debug-sections not smaller /home/jcmvbkbc/ws/tensilica/elfutils/elfutils-0.161/src/strip.o
> FAIL run-strip-reloc.sh (exit status: 1)
> 
> FAIL: run-elflint-self.sh
> =========================
> 
> invalid machine flags: 0x300
> section [ 7] '.rela.dyn': relocation 0: invalid type
> [...]
> section [17] '.dynamic': entry 19: unknown tag
> section [17] '.dynamic': entry 20: unknown tag
> section [35] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol refers to section [ 9] '.text'

These kind of failures often indicate that the backend code couldn't
be loaded for the ELF file. Which architecture is this? What is the
ELF EM machine type of the file? Does ebl openbackend () find the correct
shared library to dlopen?

> FAIL: run-backtrace-native.sh
> =============================
> 
> /home/jcmvbkbc/ws/tensilica/elfutils/elfutils-0.161/tests/backtrace: backtrace.c: 346: exec_dump: Assertion `((((__extension__ (((union { __typeof(status) __in; int __i; }) { .__in = (status) }).__i))) & 0xff) == 0x7f)' failed.
> ./test-subr.sh: line 84:  2886 Aborted                 LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" $VALGRIND_CMD "$@"
> backtrace-child: no main
> FAIL run-backtrace-native.sh (exit status: 1)

That is strange. waitpid () returned something we didn't expect.

> FAIL: run-stack-d-test.sh
> =========================
> 
> --- stack.out
> +++ -
> @@ -1,5 +1,5 @@
>  PID 13654 - core
>  TID 13654:
> -#0  0x00000000004006c8 _Z2fui
> +#0  0x00000000004006c8 fu(int)
>  #1  0x00000000004004c5 main
>  /home/jcmvbkbc/ws/tensilica/elfutils/elfutils-0.161/src/stack: tid 13654: shown max number of frames (2, use -n 0 for unlimited)
> FAIL run-stack-d-test.sh (exit status: 1)

This might be a testsuite bug.
I assume the configure check for __cxa_demangle failed because you
don't have libstdc++ installed. Then some tools will not be able to
demangle (C++) symbols. We should fix the test to SKIP in that case.

>  #1  0x00000000004006c8 foobar
>  #2  0x00000000004006c8 bar
>  #3  0x00000000004006c8 foo
> -#4  0x00000000004006c8 _Z2fui
> +#4  0x00000000004006c8 fu(int)
>  #5  0x00000000004004c5 main
>  /home/jcmvbkbc/ws/tensilica/elfutils/elfutils-0.161/src/stack: tid 13654: shown max number of frames (6, use -n 0 for unlimited)
> FAIL run-stack-i-test.sh (exit status: 1)

Likewise.

Cheers,

Mark

             reply	other threads:[~2015-04-28 17:34 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28 17:34 Mark Wielaard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-05-03 18:18 Max Filippov
2015-05-01  8:52 Mark Wielaard
2015-04-29  0:35 Max Filippov
2015-04-29  0:29 Max Filippov
2015-04-28 17:35 Mark Wielaard
2015-04-28 17:35 Anthony G. Basile
2015-04-28 17:10 Mark Wielaard
2015-04-28 17:04 Mark Wielaard
2015-04-28 10:01 Max Filippov
2015-04-27  2:12 Max Filippov
2015-04-25 13:29 Anthony G. Basile
2015-04-25 13:14 Anthony G. Basile
2015-04-25  9:41 Mark Wielaard
2015-04-24 16:13 Max Filippov
2015-04-24 13:36 Mark Wielaard
2015-04-24 11:49 Anthony G. Basile
2015-04-23 22:24 Max Filippov
2015-04-23 20:56 Mark Wielaard
2015-04-23 20:20 Max Filippov
2015-04-23 19:39 Mark Wielaard
2015-04-22 21:18 Max Filippov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150428173405.GC3161@blokker.redhat.com \
    --to=mjw@redhat.com \
    --cc=elfutils-devel@lists.fedorahosted.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).