From: sys_stv@intel.com
To: test-report@dpdk.org,jianfeng.tan@intel.com
Subject: [dpdk-test-report] |ERROR| pw 8874 mem: fix how to calculate space left in a hugetlbfs
Date: 11 Nov 2015 23:44:59 -0800 [thread overview]
Message-ID: <2d8c1b$osi1gg@fmsmga001.fm.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 14330 bytes --]
Test-Label: Intel Niantic on Fedora
Test-Status: Not run
Patchwork: http://www.dpdk.org/dev/patchwork/patch/8874/
DPDK git baseline: 6b6a94ee17d246a0078cc83257f522d0a6db5409
Patchwork ID: 8874
http://www.dpdk.org/dev/patchwork/patch/8874/
Submitter: "Tan, Jianfeng" <jianfeng.tan@intel.com>
Date: Thu, 12 Nov 2015 08:17:57 +0800
Source Compilation:
OS: fedora
Nic: niantic
i686-native-linuxapp-gcc: compile error
x86_64-native-linuxapp-gcc: compile error
compile_i686-native-linuxapp-gcc.log:
================== Installing i686-native-linuxapp-gcc
Configuration done
== Build lib
== Build lib/librte_compat
== Build lib/librte_eal
== Build lib/librte_net
SYMLINK-FILE include/rte_compat.h
SYMLINK-FILE include/rte_ip.h
SYMLINK-FILE include/rte_tcp.h
SYMLINK-FILE include/rte_udp.h
SYMLINK-FILE include/rte_sctp.h
SYMLINK-FILE include/rte_icmp.h
SYMLINK-FILE include/rte_arp.h
== Build lib/librte_eal/common
SYMLINK-FILE include/generic/rte_atomic.h
SYMLINK-FILE include/generic/rte_byteorder.h
SYMLINK-FILE include/generic/rte_cycles.h
SYMLINK-FILE include/generic/rte_prefetch.h
SYMLINK-FILE include/generic/rte_spinlock.h
SYMLINK-FILE include/generic/rte_memcpy.h
SYMLINK-FILE include/generic/rte_cpuflags.h
SYMLINK-FILE include/generic/rte_rwlock.h
SYMLINK-FILE include/rte_branch_prediction.h
SYMLINK-FILE include/rte_common.h
SYMLINK-FILE include/rte_debug.h
SYMLINK-FILE include/rte_eal.h
SYMLINK-FILE include/rte_errno.h
SYMLINK-FILE include/rte_launch.h
SYMLINK-FILE include/rte_lcore.h
SYMLINK-FILE include/rte_log.h
SYMLINK-FILE include/rte_memory.h
SYMLINK-FILE include/rte_memzone.h
SYMLINK-FILE include/rte_pci.h
SYMLINK-FILE include/rte_pci_dev_ids.h
SYMLINK-FILE include/rte_per_lcore.h
SYMLINK-FILE include/rte_random.h
SYMLINK-FILE include/rte_tailq.h
SYMLINK-FILE include/rte_interrupts.h
SYMLINK-FILE include/rte_alarm.h
SYMLINK-FILE include/rte_string_fns.h
SYMLINK-FILE include/rte_version.h
SYMLINK-FILE include/rte_eal_memconfig.h
SYMLINK-FILE include/rte_malloc_heap.h
SYMLINK-FILE include/rte_hexdump.h
SYMLINK-FILE include/rte_dev.h
SYMLINK-FILE include/rte_devargs.h
SYMLINK-FILE include/rte_pci_dev_feature_defs.h
SYMLINK-FILE include/rte_pci_dev_features.h
SYMLINK-FILE include/rte_malloc.h
SYMLINK-FILE include/rte_rwlock.h
SYMLINK-FILE include/rte_memcpy.h
SYMLINK-FILE include/rte_cycles.h
SYMLINK-FILE include/rte_spinlock.h
SYMLINK-FILE include/rte_atomic_32.h
SYMLINK-FILE include/rte_vect.h
SYMLINK-FILE include/rte_prefetch.h
SYMLINK-FILE include/rte_byteorder_32.h
SYMLINK-FILE include/rte_atomic_64.h
SYMLINK-FILE include/rte_rtm.h
SYMLINK-FILE include/rte_cpuflags.h
SYMLINK-FILE include/rte_byteorder_64.h
SYMLINK-FILE include/rte_atomic.h
SYMLINK-FILE include/rte_byteorder.h
== Build lib/librte_eal/linuxapp
== Build lib/librte_eal/linuxapp/igb_uio
== Build lib/librte_eal/linuxapp/eal
CC eal.o
CC eal_hugepage_info.o
CC eal_memory.o
CC eal_thread.o
CC eal_log.o
CC eal_pci.o
CC eal_pci_uio.o
CC eal_pci_vfio.o
CC eal_pci_vfio_mp_sync.o
CC eal_debug.o
CC eal_lcore.o
CC eal_timer.o
CC eal_interrupts.o
CC eal_alarm.o
CC eal_common_lcore.o
CC eal_common_timer.o
CC eal_common_memzone.o
CC eal_common_log.o
CC eal_common_launch.o
CC eal_common_pci.o
CC eal_common_pci_uio.o
CC eal_common_memory.o
CC eal_common_tailqs.o
CC eal_common_errno.o
CC eal_common_cpuflags.o
CC eal_common_string_fns.o
CC eal_common_hexdump.o
CC eal_common_devargs.o
CC eal_common_dev.o
CC eal_common_options.o
CC eal_common_thread.o
CC malloc_elem.o
CC rte_malloc.o
SYMLINK-FILE include/exec-env/rte_kni_common.h
SYMLINK-FILE include/exec-env/rte_dom0_common.h
CC malloc_heap.o
In file included from /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:57:0:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c: In function ‘eal_hugepage_info_init’:
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:303:4: error: pasting "RTE_LOGTYPE_" and ""sz_sysfs: %"" does not give a valid preprocessing token
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) : \
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:410:4: note: in expansion of macro ‘RTE_LOG’
RTE_LOG(INFO, "sz_sysfs: %"PRIu64", sz_option: "
^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:303:4: error: ‘RTE_LOGTYPE_’ undeclared (first use in this function)
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) : \
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:410:4: note: in expansion of macro ‘RTE_LOG’
RTE_LOG(INFO, "sz_sysfs: %"PRIu64", sz_option: "
^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:303:4: note: each undeclared identifier is reported only once for each function it appears in
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) : \
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:410:4: note: in expansion of macro ‘RTE_LOG’
RTE_LOG(INFO, "sz_sysfs: %"PRIu64", sz_option: "
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:410:18: error: expected ‘)’ before string constant
RTE_LOG(INFO, "sz_sysfs: %"PRIu64", sz_option: "
^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:303:20: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) : \
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:410:18: error: too few arguments to function ‘rte_log’
RTE_LOG(INFO, "sz_sysfs: %"PRIu64", sz_option: "
^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:303:20: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) : \
^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:237:5: note: declared here
int rte_log(uint32_t level, uint32_t logtype, const char *format, ...)
^
make[7]: *** [eal_hugepage_info.o] Error 1
make[7]: *** Waiting for unfinished jobs....
LD /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
(cat /dev/null; echo kernel//home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko;) > /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/modules.order
CC [M] /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
make[6]: *** [eal] Error 2
make[6]: *** Waiting for unfinished jobs....
Building modules, stage 2.
MODPOST 1 modules
CC /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.mod.o
LD [M] /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko
INSTALL-MODULE igb_uio.ko
make[5]: *** [linuxapp] Error 2
make[4]: *** [librte_eal] Error 2
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [i686-native-linuxapp-gcc_install] Error 2
make: *** [install] Error 2
compile_x86_64-native-linuxapp-gcc.log:
================== Installing x86_64-native-linuxapp-gcc
Configuration done
== Build lib
== Build lib/librte_compat
== Build lib/librte_eal
== Build lib/librte_net
SYMLINK-FILE include/rte_compat.h
SYMLINK-FILE include/rte_ip.h
SYMLINK-FILE include/rte_tcp.h
SYMLINK-FILE include/rte_udp.h
SYMLINK-FILE include/rte_sctp.h
SYMLINK-FILE include/rte_icmp.h
SYMLINK-FILE include/rte_arp.h
== Build lib/librte_eal/common
SYMLINK-FILE include/generic/rte_atomic.h
SYMLINK-FILE include/generic/rte_byteorder.h
SYMLINK-FILE include/generic/rte_cycles.h
SYMLINK-FILE include/generic/rte_prefetch.h
SYMLINK-FILE include/generic/rte_spinlock.h
SYMLINK-FILE include/generic/rte_memcpy.h
SYMLINK-FILE include/generic/rte_cpuflags.h
SYMLINK-FILE include/generic/rte_rwlock.h
SYMLINK-FILE include/rte_branch_prediction.h
SYMLINK-FILE include/rte_common.h
SYMLINK-FILE include/rte_debug.h
SYMLINK-FILE include/rte_eal.h
SYMLINK-FILE include/rte_errno.h
SYMLINK-FILE include/rte_launch.h
SYMLINK-FILE include/rte_lcore.h
SYMLINK-FILE include/rte_log.h
SYMLINK-FILE include/rte_memory.h
SYMLINK-FILE include/rte_memzone.h
SYMLINK-FILE include/rte_pci.h
SYMLINK-FILE include/rte_pci_dev_ids.h
SYMLINK-FILE include/rte_per_lcore.h
SYMLINK-FILE include/rte_random.h
SYMLINK-FILE include/rte_interrupts.h
SYMLINK-FILE include/rte_tailq.h
SYMLINK-FILE include/rte_alarm.h
SYMLINK-FILE include/rte_string_fns.h
SYMLINK-FILE include/rte_version.h
SYMLINK-FILE include/rte_eal_memconfig.h
SYMLINK-FILE include/rte_malloc_heap.h
SYMLINK-FILE include/rte_hexdump.h
SYMLINK-FILE include/rte_devargs.h
SYMLINK-FILE include/rte_dev.h
SYMLINK-FILE include/rte_pci_dev_feature_defs.h
SYMLINK-FILE include/rte_pci_dev_features.h
SYMLINK-FILE include/rte_malloc.h
SYMLINK-FILE include/rte_rwlock.h
SYMLINK-FILE include/rte_cycles.h
SYMLINK-FILE include/rte_spinlock.h
SYMLINK-FILE include/rte_atomic_32.h
SYMLINK-FILE include/rte_vect.h
SYMLINK-FILE include/rte_prefetch.h
SYMLINK-FILE include/rte_byteorder_32.h
SYMLINK-FILE include/rte_atomic_64.h
SYMLINK-FILE include/rte_rtm.h
SYMLINK-FILE include/rte_cpuflags.h
SYMLINK-FILE include/rte_byteorder_64.h
SYMLINK-FILE include/rte_atomic.h
SYMLINK-FILE include/rte_byteorder.h
== Build lib/librte_eal/linuxapp
== Build lib/librte_eal/linuxapp/igb_uio
== Build lib/librte_eal/linuxapp/eal
CC eal.o
CC eal_memory.o
CC eal_hugepage_info.o
CC eal_thread.o
CC eal_log.o
CC eal_pci.o
CC eal_pci_uio.o
CC eal_pci_vfio.o
CC eal_pci_vfio_mp_sync.o
CC eal_debug.o
CC eal_lcore.o
CC eal_timer.o
CC eal_interrupts.o
CC eal_alarm.o
CC eal_common_lcore.o
CC eal_common_timer.o
CC eal_common_memzone.o
CC eal_common_log.o
CC eal_common_launch.o
CC eal_common_pci.o
CC eal_common_pci_uio.o
CC eal_common_memory.o
CC eal_common_tailqs.o
CC eal_common_errno.o
CC eal_common_cpuflags.o
CC eal_common_string_fns.o
CC eal_common_hexdump.o
CC eal_common_devargs.o
CC eal_common_dev.o
CC eal_common_options.o
CC eal_common_thread.o
CC rte_malloc.o
SYMLINK-FILE include/exec-env/rte_interrupts.h
SYMLINK-FILE include/exec-env/rte_kni_common.h
CC malloc_elem.o
SYMLINK-FILE include/exec-env/rte_dom0_common.h
CC malloc_heap.o
In file included from /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:57:0:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c: In function ‘eal_hugepage_info_init’:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:303:4: error: pasting "RTE_LOGTYPE_" and ""sz_sysfs: %"" does not give a valid preprocessing token
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) : \
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:410:4: note: in expansion of macro ‘RTE_LOG’
RTE_LOG(INFO, "sz_sysfs: %"PRIu64", sz_option: "
^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:303:4: error: ‘RTE_LOGTYPE_’ undeclared (first use in this function)
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) : \
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:410:4: note: in expansion of macro ‘RTE_LOG’
RTE_LOG(INFO, "sz_sysfs: %"PRIu64", sz_option: "
^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:303:4: note: each undeclared identifier is reported only once for each function it appears in
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) : \
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:410:4: note: in expansion of macro ‘RTE_LOG’
RTE_LOG(INFO, "sz_sysfs: %"PRIu64", sz_option: "
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:410:18: error: expected ‘)’ before string constant
RTE_LOG(INFO, "sz_sysfs: %"PRIu64", sz_option: "
^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:303:20: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) : \
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:410:18: error: too few arguments to function ‘rte_log’
RTE_LOG(INFO, "sz_sysfs: %"PRIu64", sz_option: "
^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:303:20: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) : \
^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:237:5: note: declared here
int rte_log(uint32_t level, uint32_t logtype, const char *format, ...)
^
make[7]: *** [eal_hugepage_info.o] Error 1
make[7]: *** Waiting for unfinished jobs....
LD /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
(cat /dev/null; echo kernel//home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko;) > /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/modules.order
CC [M] /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
make[6]: *** [eal] Error 2
make[6]: *** Waiting for unfinished jobs....
Building modules, stage 2.
MODPOST 1 modules
CC /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.mod.o
LD [M] /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko
INSTALL-MODULE igb_uio.ko
make[5]: *** [linuxapp] Error 2
make[4]: *** [librte_eal] Error 2
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [x86_64-native-linuxapp-gcc_install] Error 2
make: *** [install] Error 2
DPDK STV team
next reply other threads:[~2015-11-12 7:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-12 7:44 sys_stv [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-11-12 7:29 sys_stv
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='2d8c1b$osi1gg@fmsmga001.fm.intel.com' \
--to=sys_stv@intel.com \
--cc=jianfeng.tan@intel.com \
--cc=test-report@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).