ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] armh-alt-linux-gnueabi-gcc: error: -pg and -fomit-frame-pointer are incompatible
Date: Tue, 21 Jul 2020 23:37:55 +0300
Message-ID: <20200721203755.GA24420@altlinux.org> (raw)
In-Reply-To: <CAGvFrt0mgRpA-17vMu_nbnvpMEChkEJ_3hczwL4vkkr13AqsRQ@mail.gmail.com>

On Tue, Jul 21, 2020 at 11:30:16PM +0300, Aleksey Novodvorsky wrote:
> вт, 21 июл. 2020 г., 23:20 Sergey Y. Afonin <asy@altlinux.org>:
> 
> > Приветствую.
> >
> > [#255218] [test-only] FAILED iperf3.git=3.8.1-alt1
> >
> > armh-alt-linux-gnueabi-gcc -DHAVE_CONFIG_H -I.    -pg -g -pipe
> > -frecord-gcc-switches -Wall -g -O2 -fomit-frame-pointer -march=armv7-a
> > -mthumb -Wall -c -o iperf3_profile-main.o `test -f 'main.c' || echo
> > './'`main.c
> > armh-alt-linux-gnueabi-gcc: error: -pg and -fomit-frame-pointer are
> > incompatible
> > make[2]: *** [Makefile:979: iperf3_profile-main.o] Error 1
> >
> > Это стоит как-то пытаться чинить, или исключить armh из сборки?
> > Хотя, по идее, утилита может полезной оказаться.
> 
> Да.
> 
> Посмотрите, как ее другие собирают
> 
> https://pkgs.org/download/iperf3

Видимо, у других на arm по умолчанию нет -fomit-frame-pointer,
а у нас почему-то есть.  В качестве объезда попробуйте, например,
%remove_optflags -fomit-frame-pointer


-- 
ldv


  parent reply	other threads:[~2020-07-21 20:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-21 20:20 Sergey Y. Afonin
2020-07-21 20:37   ` Dmitry V. Levin [this message]
2020-07-21 21:59     ` Sergey Y. Afonin
2020-07-21 20:40   ` Andrey Savchenko
2020-07-21 21:58     ` Sergey Y. Afonin
2020-07-21 21:58 ` Sergey Bolshakov

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=20200721203755.GA24420@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