From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 21 Jul 2020 23:37:55 +0300 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20200721203755.GA24420@altlinux.org> References: <202007220020.27331.asy@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [devel] armh-alt-linux-gnueabi-gcc: error: -pg and -fomit-frame-pointer are incompatible X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2020 20:37:56 -0000 Archived-At: List-Archive: List-Post: On Tue, Jul 21, 2020 at 11:30:16PM +0300, Aleksey Novodvorsky wrote: > вт, 21 июл. 2020 г., 23:20 Sergey Y. Afonin : > > > Приветствую. > > > > [#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