From: Alexey Sheplyakov <asheplyakov@basealt.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Fwd: [#269507] FAILED del=gzip
Date: Mon, 12 Apr 2021 23:14:20 +0400
Message-ID: <ddda165f-7b9e-7bef-c406-16818c61d171@basealt.ru> (raw)
In-Reply-To: <20210410222233.GD17407@altlinux.org>
Добрый вечер!
On 4/11/21 2:22 AM, Dmitry V. Levin wrote:
> On Sat, Apr 10, 2021 at 08:58:10PM +0300, Anton Farygin wrote:
>> Что-то сглючило ?
>>
>> gzip же пересобирается нормально.
>
> Нет, см.
> http://git.altlinux.org/beehive/logs/Sisyphus/i586/latest/error/gzip-1.10-alt1
Гипотеза: соберется, если в CFLAGS добавить -DNO_ASM
Насколько я понял, gcc начал по умолчанию генерить PIC код/PIE бинарники
(зачем - не ясно: на 32-битной x86 такой код на 10 -- 30% медленнее).
Все бы ничего, но в gzip есть немного кода на ассемблере, и он не PIC:
http://git.altlinux.org/gears/g/gzip.git?p=gzip.git;a=blob;f=lib/match.c;h=7b0d92cce19b783d0fa92d015622b1f2b3b997dc;hb=174bb76b675888bba8aa02e929dcddf1b1c22eda
А почему нет проблем на других архитектурах? А потому, что ассемберные портянки
есть только для i386, m68k, и ia64 (RIP). Из них мы собираем только i386, вот и
напоролись...
next prev parent reply other threads:[~2021-04-12 19:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-10 17:58 ` Anton Farygin
2021-04-10 22:22 ` Dmitry V. Levin
2021-04-12 19:14 ` Alexey Sheplyakov [this message]
2021-04-12 19:19 ` Andrey Savchenko
2021-04-12 19:43 ` 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=ddda165f-7b9e-7bef-c406-16818c61d171@basealt.ru \
--to=asheplyakov@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