From: Andrey Savchenko <bircoph@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Fwd: [#269507] FAILED del=gzip Date: Mon, 12 Apr 2021 22:19:08 +0300 Message-ID: <20210412221908.70447b9ba9bb2d9c55353192@altlinux.org> (raw) In-Reply-To: <ddda165f-7b9e-7bef-c406-16818c61d171@basealt.ru> [-- Attachment #1: Type: text/plain, Size: 1682 bytes --] On Mon, 12 Apr 2021 23:14:20 +0400 Alexey Sheplyakov wrote: > Добрый вечер! > > 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% медленнее). Насколько я помню, дело не в gcc, в том, с каким профилем он в Альте собирается и работает. Вообще, pic и pie из коробки на 32-битных архитектурах нужно выкинуть, конечно. > Все бы ничего, но в 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, вот и > напоролись... Best regards, Andrew Savchenko [-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2021-04-12 19:19 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 2021-04-12 19:19 ` Andrey Savchenko [this message] 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=20210412221908.70447b9ba9bb2d9c55353192@altlinux.org \ --to=bircoph@altlinux.org \ --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