From: Michael Shigorin <mike@osdn.org.ua> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: [devel] rpm, --target и pentium3 != pentium4 (was: package <name> is for a different architecture) Date: Sat, 19 Dec 2009 11:55:39 +0200 Message-ID: <20091219095539.GJ11524@osdn.org.ua> (raw) In-Reply-To: <200912191315.06168.asy@altlinux.ru> <200912182231.10191.asy@altlinux.ru> On Fri, Dec 18, 2009 at 10:31:09PM +0400, Sergey Y. Afonin wrote: > А оно давно так ? > # rpm -Uvh mailfromd-6.0-alt0.pentium4.rpm mailfromd-cfg_full-6.0-alt0.noarch.rpm > package mailfromd-6.0-alt0 is for a different architecture On Sat, Dec 19, 2009 at 01:15:06PM +0400, Sergey Y. Afonin wrote: > > > Система 32-х разрядная. > > А cpu какой ? AMD ? > Дошло. Нет, Intel, но PIII, а не P4. Что-то я совсем забыл, > что у них тоже различия есть. :-) Я правильно понимаю, что в rpmrc.c недоделанный cpuid-детектор, который далее зачем-то используется при неуказанном --target? Насколько могу судить, лучше было бы в качестве дефолта ориентироваться только на `uname -m`, а детектор наконец довести до ума (возможно, по мотивам rpm.git led@), но задействовать при явном --target=auto. Соответственно втащить и дополнительные архитектуры. Такой подход позволит избежать чрезмерных автооптимизаций, какую вот проиллюстрировали, и притом иметь возможность сознательно "выжимать всё". -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2009-12-19 9:55 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-12-18 18:31 [devel] package <name> is for a different architecture Sergey Y. Afonin 2009-12-18 20:54 ` Anton Farygin 2009-12-19 9:15 ` Sergey Y. Afonin 2009-12-19 9:55 ` Michael Shigorin [this message] 2009-12-19 14:41 ` [devel] rpm, --target и pentium3 != pentium4 (was: package <name> is for a different architecture) Sergey Y. Afonin 2009-12-19 18:06 ` Michael Shigorin 2009-12-20 11:25 ` Afanasov Dmitry
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=20091219095539.GJ11524@osdn.org.ua \ --to=mike@osdn.org.ua \ --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