DPDK patches and discussions
 help / color / mirror / Atom feed
* [DPDK/other Bug 1814] dmadev build fails if debug enabled
@ 2025-10-27 16:32 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2025-10-27 16:32 UTC (permalink / raw)
  To: dev

http://bugs.dpdk.org/show_bug.cgi?id=1814

            Bug ID: 1814
           Summary: dmadev build fails if debug enabled
           Product: DPDK
           Version: 25.07
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: other
          Assignee: dev@dpdk.org
          Reporter: stephen@networkplumber.org
  Target Milestone: ---

I do test build with all the XXX_DEBUG options enabled.
If RTE_DMADEV_DEBUG is enabled, then build fails here:

FAILED: lib/librte_dmadev.a.p/dmadev_rte_dmadev_trace_points.c.o 
cc -Ilib/librte_dmadev.a.p -Ilib -I../lib -Ilib/dmadev -I../lib/dmadev
-Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config
-Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include
-I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include
-I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log
-I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry
-Ilib/argparse -I../lib/argparse -I/usr/include/x86_64-linux-gnu
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra
-std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat
-Wformat-nonliteral -Wformat-security -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith
-Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings
-Wno-packed-not-aligned -Wno-missing-field-initializers
-fzero-init-padding-bits=all -D_GNU_SOURCE -DRTE_ENABLE_ASSERT
-DRTE_LIBRTE_ETHDEV_DEBUG=1 -DRTE_LIBRTE_IPFRAG_TBL_STAT
-DRTE_LIBRTE_MEMPOOL_STATS -DRTE_LIBRTE_MEMPOOL_DEBUG -DRTE_DMADEV_DEBUG
-DRTE_EVENTDEV_DEBUG -DRTE_POWER_DEBUG -DRTE_TIMER_DEBUG -DRTE_VHOST_DEBUG
-DRTE_SCHED_DEBUG -DRTE_SORING_DEBUG -DRTE_MALLOC_DEBUG -DRTE_MBUF_DEBUG
-DRTE_MBUF_HISTORY_DEBUG -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API
-DALLOW_INTERNAL_API -Wno-format-truncation
-DRTE_LOG_DEFAULT_LOGTYPE=lib.dmadev -MD -MQ
lib/librte_dmadev.a.p/dmadev_rte_dmadev_trace_points.c.o -MF
lib/librte_dmadev.a.p/dmadev_rte_dmadev_trace_points.c.o.d -o
lib/librte_dmadev.a.p/dmadev_rte_dmadev_trace_points.c.o -c
../lib/dmadev/rte_dmadev_trace_points.c
In file included from ../lib/dmadev/rte_dmadev_trace.h:16,
                 from ../lib/dmadev/rte_dmadev_trace_points.c:8:
../lib/dmadev/rte_dmadev.h: In function ‘rte_dma_copy’:
../lib/dmadev/rte_dmadev.h:1183:25: error: ‘EINVAL’ undeclared (first use in
this function)
 1183 |                 return -EINVAL;
      |                         ^~~~~~
../lib/dmadev/rte_dmadev.h:1183:25: note: each undeclared identifier is
reported only once for each function it appears in
../lib/dmadev/rte_dmadev.h:1185:25: error: ‘ENOTSUP’ undeclared (first use in
this function)
 1185 |                 return -ENOTSUP;
      |                         ^~~~~~~
../lib/dmadev/rte_dmadev.h: In function ‘rte_dma_copy_sg’:
../lib/dmadev/rte_dmadev.h:1235:25: error: ‘EINVAL’ undeclared (first use in
this function)
 1235 |                 return -EINVAL;
      |                         ^~~~~~
../lib/dmadev/rte_dmadev.h:1237:25: error: ‘ENOTSUP’ undeclared (first use in
this function)
 1237 |                 return -ENOTSUP;
      |                         ^~~~~~~
../lib/dmadev/rte_dmadev.h: In function ‘rte_dma_fill’:
../lib/dmadev/rte_dmadev.h:1282:25: error: ‘EINVAL’ undeclared (first use in
this function)
 1282 |                 return -EINVAL;
      |                         ^~~~~~
../lib/dmadev/rte_dmadev.h:1284:25: error: ‘ENOTSUP’ undeclared (first use in
this function)
 1284 |                 return -ENOTSUP;
      |                         ^~~~~~~
../lib/dmadev/rte_dmadev.h: In function ‘rte_dma_submit’:
../lib/dmadev/rte_dmadev.h:1315:25: error: ‘EINVAL’ undeclared (first use in
this function)
 1315 |                 return -EINVAL;
      |                         ^~~~~~
../lib/dmadev/rte_dmadev.h:1317:25: error: ‘ENOTSUP’ undeclared (first use in
this function)
 1317 |                 return -ENOTSUP;
      |                         ^~~~~~~
ninja: build stopped: subcommand failed.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-10-27 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-27 16:32 [DPDK/other Bug 1814] dmadev build fails if debug enabled bugzilla

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).