mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Andrei Pozolotin <andrei.pozolotin@gmail.com>
To: musl@lists.openwall.com
Subject: musl ldd: swt build: Error relocating / symbol not found
Date: Thu, 23 Jun 2016 03:35:02 +0000	[thread overview]
Message-ID: <576B58E6.6040400@gmail.com> (raw)

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

    Hello.

    I have a curious problem:

    1) the following build system:
    https://github.com/random-alpiner/repository/blob/master/bugs/01/APKBUILD
    https://github.com/random-alpiner/repository/blob/master/bugs/01/build.sh
    https://github.com/random-alpiner/repository/blob/master/bugs/01/make_linux.mak

    2) produces a library:
    https://github.com/random-alpiner/repository/blob/master/alpine/x86_64/swt-4.5.2-r1.apk

    3) which, when loaded by target application (java/eclipse), produces
    an error:
    https://github.com/random-alpiner/repository/blob/master/bugs/01/1-app.log

    4) and yet, that error should not happen, according to musl ldd:
    https://github.com/random-alpiner/repository/blob/master/bugs/01/2-ldd.log

    5) and also confirmed by readelf:
    https://github.com/random-alpiner/repository/blob/master/bugs/01/3-readelf.log

    Any pointers on how to resolve this seeming contradiction are much
    appreciated.

    Finally, someone on irc#musl suggested that musl ldd provides "-d"
    and "-r" options
    by default out of the box:
    http://man7.org/linux/man-pages/man1/ldd.1.html. Is that so?

    Thank you,

    Andrei


[-- Attachment #2: Type: text/html, Size: 2676 bytes --]

             reply	other threads:[~2016-06-23  3:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-23  3:35 Andrei Pozolotin [this message]
2016-06-23  4:24 ` Rich Felker
2016-06-23 15:39   ` Andrei Pozolotin
2016-06-23 17:10     ` Rich Felker
2016-06-23 19:42       ` Andrei Pozolotin
2016-06-23 23:15         ` Szabolcs Nagy
2016-06-24 16:23           ` Andrei Pozolotin
2016-06-24 17:03             ` Rich Felker
2016-06-24 17:17               ` Alexander Monakov
2016-06-24 17:30                 ` Andrei Pozolotin
2016-06-24 21:41                 ` Rich Felker

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=576B58E6.6040400@gmail.com \
    --to=andrei.pozolotin@gmail.com \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).