From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] slang2 (Re: rpm-build и не самый последний gcc)
Date: Mon, 25 Mar 2019 21:55:43 +0300
Message-ID: <20190325185543.GD23917@altlinux.org> (raw)
In-Reply-To: <201903251004.30226.asy@altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 1336 bytes --]
On Mon, Mar 25, 2019 at 10:04:30AM +0400, Sergey Afonin wrote:
> On Sunday 24 March 2019, Dmitry V. Levin wrote:
>
> > > %set_gcc_version 7
> > > i586-alt-linux-gcc --version
> >
> > А зачем вы запускаете i586-alt-linux-gcc вместо gcc?
>
> Хороший вопрос. Наверное, даже с переходом к новой теме...
> Началось всё с того, что я обратил внимание на
>
> List of 37 packages that cannot be rebuilt for more than one week:
> ...
> slang2-2.3.2-alt1 [17] (ldv,@everybody)
>
> Это касается только i586, и начало проблемы (два теста не проходят
> после сборки) совпадает с днём появления в Сизифе gcc8. Для начала
> захотел посмотреть, что будет при попытке собрать пакет посредством
> gcc7.
>
> %set_gcc_version 7
> gcc --version
>
> Действительно показывает
> i586-alt-linux-gcc-7 (GCC) 7.3.1 20180712 (ALT Sisyphus 7.3.1-alt7)
>
> Но вот дальше в логе сборки присутствуют строки, похожие на
>
> cd /home/build/RPM/BUILD/slang-2.3.2/src/elfobjs && i586-alt-linux-gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Dunix -DSLANG /home/build/RPM/BUILD/slang-2.3.2/src/slcmd.c
>
> Собственно по-этому и "i586-alt-linux-gcc --version". В общем не
> похоже, что "%set_gcc_version 7" на это влияет.
Напишите в спек-файле до %configure
export CC=%__cc
--
ldv
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
next prev parent reply other threads:[~2019-03-25 18:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-24 7:13 [devel] rpm-build и не самый последний gcc Sergey Y. Afonin
2019-03-24 10:15 ` Dmitry V. Levin
2019-03-24 13:39 ` Sergey Y. Afonin
2019-03-24 13:56 ` Dmitry V. Levin
2019-03-24 14:31 ` Sergey Y. Afonin
2019-03-24 15:30 ` Dmitry V. Levin
2019-03-24 17:20 ` Sergey Y. Afonin
2019-03-24 18:14 ` Dmitry V. Levin
2019-03-25 6:04 ` [devel] slang2 (Re: rpm-build и не самый последний gcc) Sergey Afonin
2019-03-25 18:55 ` Dmitry V. Levin [this message]
2019-03-26 9:51 ` Sergey Afonin
2019-03-26 9:57 ` Aleksei Nikiforov
2019-03-26 10:52 ` Sergey Afonin
2019-03-26 12:04 ` Aleksei Nikiforov
2019-03-26 10:03 ` Michael Shigorin
2019-03-26 10:14 ` Sergey Afonin
2019-03-26 12:42 ` Sergey Afonin
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=20190325185543.GD23917@altlinux.org \
--to=ldv@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