ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Anton Farygin <rider@basealt.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Q: /usr/lib64/ocaml/libasmrun.a
Date: Sat, 5 Dec 2020 01:39:49 +0300
Message-ID: <bd38846b-fbc3-d375-f24a-1ae25ba90462@basealt.ru> (raw)
In-Reply-To: <20201204195647.GA1189@altlinux.org>

On 04.12.2020 22:56, Dmitry V. Levin wrote:
> On Fri, Dec 04, 2020 at 10:13:44PM +0300, Anton Farygin wrote:
>> On 04.12.2020 19:55, Dmitry V. Levin wrote:
>>> При сборке более сотни пакетов ocamlopt зачем-то пытается линковать
>>> executable с /usr/lib64/ocaml/libasmrun.a; вопрос, почему он так делает?
>> Я потихоньку собираю новую версию ocaml, посмотрю в процессе что именно
>> там происходит с -fPIC.
>>
>> Если вопрос был про text rellocations, конечно, а не про то, о чём ты
>> написал.
> Вопрос был про то, почему именно libasmrun.a, а не какой-нибудь другой,
> более подходящий libasmrun.
>
> $ rpmquery -lvp Sisyphus/files/x86_64/RPMS/ocaml-4.10.0-alt2.x86_64.rpm | grep /usr/lib64/ocaml/libasmrun
> -rw-r--r--    1 root    root                  2539318 Sep  9 07:09 /usr/lib64/ocaml/libasmrun.a
> -rw-r--r--    1 root    root                  2453302 Sep  9 07:09 /usr/lib64/ocaml/libasmrun_pic.a
> -rw-r--r--    1 root    root                   276912 Sep  9 07:09 /usr/lib64/ocaml/libasmrun_shared.so
> -rw-r--r--    1 root    root                  2728940 Sep  9 07:09 /usr/lib64/ocaml/libasmrund.a
> -rw-r--r--    1 root    root                  2627946 Sep  9 07:09 /usr/lib64/ocaml/libasmruni.a
>
> Когда GCC сконфигурирован с --enable-default-pie,
> ocamlopt взрывается на линковке 100+ пакетов.
>
>
Это дефолт, так собран ocaml. Я поправлю в следующей версии.





  reply	other threads:[~2020-12-04 22:39 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-04 16:55 Dmitry V. Levin
2020-12-04 19:13 ` Anton Farygin
2020-12-04 19:56   ` Dmitry V. Levin
2020-12-04 22:39     ` Anton Farygin [this message]
2020-12-06  8:31     ` Anton Farygin
2020-12-06 10:43       ` Yuri Sedunov
2020-12-06 14:08         ` Anton Farygin
2020-12-06 14:20           ` Dmitry V. Levin
2020-12-06 17:19             ` Anton Farygin
2020-12-06 17:32               ` Dmitry V. Levin
2020-12-06 17:34                 ` Anton Farygin
2020-12-06 18:03                   ` [devel] xen and gcc-10 Anton Farygin
2020-12-06 18:18                     ` Dmitry V. Levin
2020-12-07  6:01                     ` Andrey Cherepanov
2020-12-23 11:48                   ` [devel] Q: /usr/lib64/ocaml/libasmrun.a Yuri Sedunov
2020-12-23 12:16                     ` [devel] Q: /usr/lib64/ocaml/libasmrun.a -> textrel in ocaml on armh and x86 Anton Farygin
2020-12-23 13:08                       ` Alexey Gladkov
2020-12-23 13:31                         ` Anton Farygin
2020-12-23 13:42                           ` Yuri Sedunov
2020-12-23 15:37                             ` Anton Farygin
2020-12-23 16:49                               ` Dmitry V. Levin
2020-12-23 18:40                                 ` Anton Farygin
2020-12-23 18:57                                   ` Dmitry V. Levin
2020-12-23 19:12                                     ` Dmitry V. Levin
2020-12-23 19:38                                       ` Anton Farygin
2020-12-23 19:54                                         ` Dmitry V. Levin
2020-12-24 10:27                                           ` Anton Farygin
2020-12-24 10:50                                             ` Dmitry V. Levin

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=bd38846b-fbc3-d375-f24a-1ae25ba90462@basealt.ru \
    --to=rider@basealt.ru \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git