From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10207 Path: news.gmane.org!not-for-mail From: Andrei Pozolotin Newsgroups: gmane.linux.lib.musl.general Subject: musl ldd: swt build: Error relocating / symbol not found Date: Thu, 23 Jun 2016 03:35:02 +0000 Message-ID: <576B58E6.6040400@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------090103010908040100050306" X-Trace: ger.gmane.org 1466652956 20419 80.91.229.3 (23 Jun 2016 03:35:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2016 03:35:56 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10220-gllmg-musl=m.gmane.org@lists.openwall.com Thu Jun 23 05:35:41 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1bFvQY-0003lo-El for gllmg-musl@m.gmane.org; Thu, 23 Jun 2016 05:35:38 +0200 Original-Received: (qmail 11389 invoked by uid 550); 23 Jun 2016 03:35:34 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 11330 invoked from network); 23 Jun 2016 03:35:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:message-id:date:user-agent:mime-version; bh=qRLpZbE0oKksJQISLaL4AO3lPdylehiF5ZRtl0zSbtA=; b=QVwitCyTj4zfiV61BtskpsGcEfzfMGdCPQw/4pMSNokBqPaAcgdXbA9lMedxyfgRsW ywDCxph4fhgPMfRHZhQJT7/5OH2i2m5TykplISjBgdqXOm/Bi4qBbxNQD5zc04fkBo6r ueuJJiMzL1e7TQsKGY9U8P2jJezvZvVrDUXeVIAn5q51S3AdM8vaYiZD4ILvzy5jqscN MySg2xEntcJJva/Sd6AHNG4feg85I0Pd/Zk83GD5OIkYIVCmrN/f4p/JByhogZ15V+KG 59ZEZxJlqfDc9oaftzvnmRB3GW7KjHER/gHdYIls6E1oq+yzZ7xXVN9j4uS824O4Bm5t A+3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version; bh=qRLpZbE0oKksJQISLaL4AO3lPdylehiF5ZRtl0zSbtA=; b=lMddiPqmyUrTKO8zQOtCMpq9gnFohc6telj2pel8F/5X2oU9W9jtLJWADVrOXI4BCv 9vLSuv1hUESlBBfcfxcql5C6+cZDTDJjvZaGMY5nk7c5DmTk337Wti9GfXdC5hguSgif d5f1SvoVvrWTad2CnBnId2FQTWhq68z0ZlMUQjVmEu7N1X5Lqm1PX+qKJJ7xagoOw4Dn KFUTE8FIWyxq7ypIysbuEMAKAQd68pMGwJpa1I+HJBSlN7M8AMw3bN2qwPo0Fk8SscZK zGGwtdps1yh1PA4J4hoXalApwov4+TFclSnYD7RSN/kurKliN2DtsEpcqShJOnS7QI1X hUcQ== X-Gm-Message-State: ALyK8tL74N/hR3818SH8xOUZhiOug5tpNvZckpydCTBGPRIVNWJ885Dnv8cTAOJWomkG0g== X-Received: by 10.107.200.197 with SMTP id y188mr43297786iof.187.1466652916215; Wed, 22 Jun 2016 20:35:16 -0700 (PDT) X-Google-Original-From: Andrei Pozolotin X-Enigmail-Draft-Status: N1110 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 Xref: news.gmane.org gmane.linux.lib.musl.general:10207 Archived-At: This is a multi-part message in MIME format. --------------090103010908040100050306 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 --------------090103010908040100050306 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
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

--------------090103010908040100050306--