From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id F0E97A0C57;
	Mon,  1 Nov 2021 17:53:04 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 8DF3340E28;
	Mon,  1 Nov 2021 17:53:04 +0100 (CET)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
 by mails.dpdk.org (Postfix) with ESMTP id BE62140DF6
 for <dev@dpdk.org>; Mon,  1 Nov 2021 17:53:02 +0100 (CET)
Received: by inbox.dpdk.org (Postfix, from userid 33)
 id 94DA1A0C58; Mon,  1 Nov 2021 17:53:02 +0100 (CET)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Date: Mon, 01 Nov 2021 16:53:02 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: meson
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alialnu@nvidia.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
 target_milestone
Message-ID: <bug-875-3@http.bugs.dpdk.org/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
Subject: [dpdk-dev] [Bug 875] meson build fails on POWER9 with gcc 4.8.5
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

https://bugs.dpdk.org/show_bug.cgi?id=3D875

            Bug ID: 875
           Summary: meson build fails on POWER9 with gcc 4.8.5
           Product: DPDK
           Version: unspecified
          Hardware: POWER
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: meson
          Assignee: dev@dpdk.org
          Reporter: alialnu@nvidia.com
  Target Milestone: ---

"""
$ meson --werror build-meson && ninja -C build-meson

The Meson build system
Version: 0.56.2
Source dir: /tmp/dpdk
Build dir: /tmp/dpdk/build-meson
Build type: native build
Program cat found: YES (/bin/cat)
Project name: DPDK
Project version: 21.11.0-rc1
C compiler for the host machine: ccache cc (gcc 4.8.5 "cc (GCC) 4.8.5 20150=
623
(Red Hat 4.8.5-36)")
C linker for the host machine: cc ld.bfd 2.27-34
Host machine cpu family: ppc64
Host machine cpu: ppc64le
Message: ## Building in Developer Mode ##
Program pkg-config found: YES (/bin/pkg-config)
Program check-symbols.sh found: YES (/tmp/dpdk/buildtools/check-symbols.sh)
Program options-ibverbs-static.sh found: YES
(/tmp/dpdk/buildtools/options-ibverbs-static.sh)
Program binutils-avx512-check.sh found: YES
(/tmp/dpdk/buildtools/binutils-avx512-check.sh)
Program python3 found: YES (/path/to/python3.8)
Program cat found: YES (/bin/cat)
Program ../buildtools/symlink-drivers-solibs.sh found: YES (/bin/sh
/tmp/dpdk/config/../buildtools/symlink-drivers-solibs.sh)
Checking for size of "void *" : 8
Checking for size of "void *" : 8
Library m found: YES
Library numa found: YES
Has header "numaif.h" : YES
Library libfdt found: NO
Library libexecinfo found: NO
Found pkg-config: /bin/pkg-config (0.27.1)
Run-time dependency libarchive found: NO (tried pkgconfig)
Run-time dependency libbsd found: NO (tried pkgconfig)
Run-time dependency libpcap found: NO (tried pkgconfig)
Library pcap found: YES
Has header "pcap.h" with dependency -lpcap: YES
Compiler for C supports arguments -Wextra: YES
config/meson.build:285: WARNING: Consider using the built-in warning_level
option instead of using "-Wextra".
Compiler for C supports arguments -Wcast-qual: YES
Compiler for C supports arguments -Wdeprecated: YES
Compiler for C supports arguments -Wformat: YES
Compiler for C supports arguments -Wformat-nonliteral: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wno-address-of-packed-member: NO
Compiler for C supports arguments -Wno-packed-not-aligned: NO
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -mcpu=3Dpower9: NO
Checking if "Detect host CPU type" runs: YES
Compiler for C supports arguments -mcpu=3Dpower9: NO (cached)
Compiler for C supports arguments -mcpu=3Dpower8: YES

config/ppc/meson.build:95:16: ERROR: Problem encountered: Compiler does not
support POWER8 platform

A full log can be found at /tmp/dpdk/build-meson/meson-logs/meson-log.txt
"""

Caused by: 750196880843 ("config/ppc: select instruction set for IBM Power1=
0")

The error doesn't reproduce with gcc 11.2.0, and doesn't reproduce with
-Dplatform=3Dgeneric.

OS: RHEL 7.6
lscpu's model name:            POWER9, altivec supported

--=20
You are receiving this mail because:
You are the assignee for the bug.=