DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 505] [dpdk-20.08] meson build 32-bits failed on ubuntu20.04
Date: Fri, 10 Jul 2020 07:31:27 +0000	[thread overview]
Message-ID: <bug-505-3@http.bugs.dpdk.org/> (raw)

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

            Bug ID: 505
           Summary: [dpdk-20.08] meson build 32-bits failed on ubuntu20.04
           Product: DPDK
           Version: 20.08
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: High
         Component: meson
          Assignee: dev@dpdk.org
          Reporter: xuemingx.zhang@intel.com
  Target Milestone: 20.08

•DPDK version: 
commit 2e40fdc2d305e6864c8840a0985018edc94562d5 
Author: Karra Satwik <kaara.satwik@chelsio.com>
Date:   Sat Jun 13 03:40:20 2020 +0530                                      
net/cxgbe: always enable HASH filter support

•OS:
Linux ub2004-i686 5.4.0-26-generic #30-Ubuntu SMP Mon Apr 20 16:58:30 UTC 2020
x86_64 x86_64 x86_64 GNU/Linux
•Compiler:
gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0 
clang version 10.0.0-4ubuntu1

Test Setup:
export CFLAGS="-m32"
export PKG_CONFIG_LIBDIR="/usr/lib/pkgconfig"
./devtools/test-meson-builds.sh


Show the output from the previous commands:
ninja -C ./build-clang-static
ninja: Entering directory `./build-clang-static'
[36/1953] Compiling C object
'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_trace.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_trace.c.o
clang -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config
-Ilib/librte_eal/include -I../lib/librte_eal/include
-Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include
-Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include
-Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal
-I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs
-Ilib/librte_telemetry/../librte_metrics
-I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry
-I../lib/librte_telemetry -Xclang -fcolor-diagnostics -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h
-Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes
-Wundef -Wwrite-strings -Wno-address-of-packed-member
-Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32
-fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API
-DRTE_LIBEAL_USE_GETENTROPY -DHAVE_GETOPT_H -DHAVE_GETOPT -DHAVE_GETOPT_LONG
-MD -MQ 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_trace.c.o' -MF
'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_trace.c.o.d' -o
'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_trace.c.o' -c
../lib/librte_eal/common/eal_common_trace.c
../lib/librte_eal/common/eal_common_trace.c:160:8: error: misaligned atomic
operation may incur significant performance penalty
[-Werror,-Watomic-alignment]
        val = __atomic_load_n(trace, __ATOMIC_ACQUIRE);
              ^
1 error generated.
[41/1953] Compiling C object
'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_options.c.o'.

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

                 reply	other threads:[~2020-07-10  7:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=bug-505-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).