Hi Ole,
I'm hitting the same issue.
Running the build with V=2 doesn't actually produce more output.
Which means my logs are the same as Sirshak's. But in any case I attached the
output from a run with V=2.
I can provide other info if there's more you need - or you can try accessing
one of our ThunderX's in the FD.io lab if you have access.
Thanks,
Juraj
From: Ole Troan [mailto:otr...@employees.org]
Sent: Tuesday, November 27, 2018 5:43 PM
To: Juraj Linkeš <juraj.lin...@pantheon.tech>
Cc: Sirshak Das <sirshak....@arm.com>; vpp-dev@lists.fd.io; Honnappa
Nagarahalli <honnappa.nagaraha...@arm.com>; Lijian Zhang (Arm Technology China)
<lijian.zh...@arm.com>
Subject: Re: [vpp-dev] Build failing on AArch64
Juraj,
Without a make log this is just a guessing game.
Cheers
Ole
On 27 Nov 2018, at 17:34, Juraj Linkeš
<juraj.lin...@pantheon.tech<mailto:juraj.lin...@pantheon.tech>> wrote:
Hi Sirshak and Ole,
I'm hitting the same issue. The build fails on a clean repository, but the
subsequent build works fine, which is fine for local builds, but still needs to
be fixed.
Running the build with V=2 doesn't actually produce more output. There one more
bit of information I can provide - this behavior is present on Ubuntu1804
(4.15.0-38-generic), but builds on Ubuntu1604 (4.4.0-138-generic) work right
away, which explains why CI didn't catch it.
This is the patch that introduced the issue: https://gerrit.fd.io/r/#/c/16109/
Juraj
From: Ole Troan [mailto:otr...@employees.org]
Sent: Monday, November 26, 2018 9:26 AM
To: Sirshak Das <sirshak....@arm.com<mailto:sirshak....@arm.com>>
Cc: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>; Honnappa Nagarahalli
<honnappa.nagaraha...@arm.com<mailto:honnappa.nagaraha...@arm.com>>; Juraj
Linkeš <juraj.lin...@pantheon.tech<mailto:juraj.lin...@pantheon.tech>>; Lijian
Zhang (Arm Technology China) <lijian.zh...@arm.com<mailto:lijian.zh...@arm.com>>
Subject: Re: [vpp-dev] Build failing on AArch64
Sirshak,
Can you touch one of the .api files and rebuild with V=2 and show the output of
that?
It might be that vppapigen fails for some reason (or try to run it manually and
see).
Ole
> On 26 Nov 2018, at 06:48, Sirshak Das
> <sirshak....@arm.com<mailto:sirshak....@arm.com>> wrote:
>
> Hi all,
>
> I am currently facing these build failures in master on AArch64.
>
> [38/1160] Building C object vat/CMakeFiles/vpp_api_test.dir/types.c.o
> FAILED: vat/CMakeFiles/vpp_api_test.dir/types.c.o
> ccache /usr/lib/ccache/cc -DHAVE_MEMFD_CREATE -Dvpp_api_test_EXPORTS
> -I/home/sirdas/code/commita/vpp/src -I. -Iinclude -march=armv8-a+crc -g -O2
> -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror
> -Wno-address-of-packed-member -pthread -MD -MT
> vat/CMakeFiles/vpp_api_test.dir/types.c.o -MF
> vat/CMakeFiles/vpp_api_test.dir/types.c.o.d -o
> vat/CMakeFiles/vpp_api_test.dir/types.c.o -c
> /home/sirdas/code/commita/vpp/src/vat/types.c
> In file included from
> /home/sirdas/code/commita/vpp/src/vpp/api/vpe_all_api_h.h:25,
> from /home/sirdas/code/commita/vpp/src/vpp/api/types.h:20,
> from /home/sirdas/code/commita/vpp/src/vat/types.c:19:
> /home/sirdas/code/commita/vpp/src/vnet/vnet_all_api_h.h:33:10: fatal error:
> vnet/devices/af_packet/af_packet.api.h: No such file or directory
> #include <vnet/devices/af_packet/af_packet.api.h>
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> [85/1160] Building C object
> vnet/CMakeFiles/vnet_cortexa72.dir/ethernet/node.c.o
> ninja: build stopped: subcommand failed.
> Makefile:691: recipe for target 'vpp-build' failed
> make[1]: *** [vpp-build] Error 1
> make[1]: Leaving directory '/home/sirdas/code/commita/vpp/build-root'
> Makefile:366: recipe for target 'build-release' failed
> make: *** [build-release] Error 2
>
> [114/1310] Building C object vat/CMakeFiles/vpp_api_test.dir/types.c.o
> FAILED: vat/CMakeFiles/vpp_api_test.dir/types.c.o
> ccache /usr/lib/ccache/cc -DHAVE_MEMFD_CREATE -Dvpp_api_test_EXPORTS
> -I/home/sirdas/code/commitb/vpp/src -I. -Iinclude -march=armv8-a+crc -g -O2
> -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror
> -Wno-address-of-packed-member -pthread -MD -MT
> vat/CMakeFiles/vpp_api_test.dir/types.c.o -MF
> vat/CMakeFiles/vpp_api_test.dir/types.c.o.d -o
> vat/CMakeFiles/vpp_api_test.dir/types.c.o -c
> /home/sirdas/code/commitb/vpp/src/vat/types.c
> In file included from
> /home/sirdas/code/commitb/vpp/src/vpp/api/vpe_all_api_h.h:25,
> from /home/sirdas/code/commitb/vpp/src/vpp/api/types.h:20,
> from /home/sirdas/code/commitb/vpp/src/vat/types.c:19:
> /home/sirdas/code/commitb/vpp/src/vnet/vnet_all_api_h.h:32:10: fatal error:
> vnet/bonding/bond.api.h: No such file or directory
> #include <vnet/bonding/bond.api.h>
> ^~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> [161/1310] Building C object
> vnet/CMakeFiles/vnet_thunderx2t99.dir/ethernet/node.c.o
> ninja: build stopped: subcommand failed.
> Makefile:691: recipe for target 'vpp-build' failed
> make[1]: *** [vpp-build] Error 1
> make[1]: Leaving directory '/home/sirdas/code/commitb/vpp/build-root'
> Makefile:366: recipe for target 'build-release' failed
> make: *** [build-release] Error 2
>
>
> Its all someway or the other related to *.api files and genereated
> header files.
>
> I am not able to isolate any particular commit that did this.
>
> Does anybody know if anything changed off the top of their head ?
>
> Thank you
> Sirshak Das
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#11400): https://lists.fd.io/g/vpp-dev/message/11400
> Mute This Topic: https://lists.fd.io/mt/28318534/675193
> Group Owner: vpp-dev+ow...@lists.fd.io<mailto:vpp-dev+ow...@lists.fd.io>
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
> [otr...@employees.org<mailto:otr...@employees.org>]
> -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11404): https://lists.fd.io/g/vpp-dev/message/11404
Mute This Topic: https://lists.fd.io/mt/28318534/899915
Group Owner: vpp-dev+ow...@lists.fd.io<mailto:vpp-dev+ow...@lists.fd.io>
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
[juraj.lin...@pantheon.tech<mailto:juraj.lin...@pantheon.tech>]
-=-=-=-=-=-=-=-=-=-=-=-
make build-release V=2
make[1]: Entering directory '/home/jlinkes/vpp/build-root'
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for external @@@@
@@@@ Makefile fragment found in
/home/jlinkes/vpp/build-data/packages/external.mk @@@@
@@@@ Source found in /home/jlinkes/vpp/build @@@@
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for vpp @@@@
@@@@ Makefile fragment found in /home/jlinkes/vpp/build-data/packages/vpp.mk
@@@@
@@@@ Source found in /home/jlinkes/vpp/src @@@@
@@@@ Configuring external in
/home/jlinkes/vpp/build-root/build-vpp-native/external @@@@
@@@@ Building external in
/home/jlinkes/vpp/build-root/build-vpp-native/external @@@@
make[2]: Entering directory '/home/jlinkes/vpp/build/external'
make check-deb
make[3]: Entering directory '/home/jlinkes/vpp/build/external'
make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make
rule.
make[3]: Nothing to be done for 'check-deb'.
make[3]: Leaving directory '/home/jlinkes/vpp/build/external'
make[2]: Leaving directory '/home/jlinkes/vpp/build/external'
@@@@ Installing external @@@@
make[2]: Entering directory '/home/jlinkes/vpp/build/external'
make[2]: Nothing to be done for 'ebuild-install'.
make[2]: Leaving directory '/home/jlinkes/vpp/build/external'
@@@@ Configuring vpp in /home/jlinkes/vpp/build-root/build-vpp-native/vpp @@@@
-- The C compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/lib/ccache/cc
-- Check for working C compiler: /usr/lib/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- ARM AArch64 CPU implementer 0x43 part 0x0a1 cacheline size 128
-- Performing Test compiler_flag_march_core_qdf24xx
-- Performing Test compiler_flag_march_core_qdf24xx - Success
-- Performing Test compiler_flag_march_thunderx2t99
-- Performing Test compiler_flag_march_thunderx2t99 - Success
-- Performing Test compiler_flag_march_cortexa72
-- Performing Test compiler_flag_march_cortexa72 - Success
-- Looking for ccache
-- Looking for ccache - found
-- Performing Test compiler_flag_no_address_of_packed_member
-- Performing Test compiler_flag_no_address_of_packed_member - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Performing Test HAVE_MEMFD_CREATE
-- Performing Test HAVE_MEMFD_CREATE - Success
-- Found OpenSSL: /usr/lib/aarch64-linux-gnu/libcrypto.so (found version
"1.1.0g")
-- The ASM compiler identification is GNU
-- Found assembler: /usr/lib/ccache/cc
-- Found DPDK 18.08.0 in /opt/vpp/external/aarch64/include/dpdk
-- Marvell MUSDK not found - marvell_plugin disabled
-- Looking for mbedTLS
-- Found mbedTLS in /usr/include
-- Looking for SSL_set_async_callback
-- Looking for SSL_set_async_callback - not found
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.15",
minimum required is "2.7")
-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython2.7.so (found suitable
version "2.7.15rc1", minimum required is "2.7")
-- Configuration:
VPP version : 19.01-rc0~341-gad4426e5
VPP library version : 19.01
GIT toplevel dir : /home/jlinkes/vpp
C flags : -march=armv8-a+crc -g -O2 -DFORTIFY_SOURCE=2
-fstack-protector -fPIC -Werror
Linker flags : -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror
-pie -Wl,-z,now
Target processor : aarch64
Build type :
Prefix path :
/opt/vpp/external/aarch64;/home/jlinkes/vpp/build-root/install-vpp-native/external
Install prefix : /home/jlinkes/vpp/build-root/install-vpp-native/vpp
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/jlinkes/vpp/build-root/build-vpp-native/vpp
@@@@ Building vpp in /home/jlinkes/vpp/build-root/build-vpp-native/vpp @@@@
[109/1310] Building C object vat/CMakeFiles/vpp_api_test.dir/types.c.o
FAILED: vat/CMakeFiles/vpp_api_test.dir/types.c.o
ccache /usr/lib/ccache/cc -DHAVE_MEMFD_CREATE -Dvpp_api_test_EXPORTS
-I/home/jlinkes/vpp/src -I. -Iinclude -march=armv8-a+crc -g -O2
-DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror
-Wno-address-of-packed-member -pthread -MD -MT
vat/CMakeFiles/vpp_api_test.dir/types.c.o -MF
vat/CMakeFiles/vpp_api_test.dir/types.c.o.d -o
vat/CMakeFiles/vpp_api_test.dir/types.c.o -c /home/jlinkes/vpp/src/vat/types.c
In file included from /home/jlinkes/vpp/src/vpp/api/vpe_all_api_h.h:25:0,
from /home/jlinkes/vpp/src/vpp/api/types.h:20,
from /home/jlinkes/vpp/src/vat/types.c:19:
/home/jlinkes/vpp/src/vnet/vnet_all_api_h.h:33:10: fatal error:
vnet/devices/af_packet/af_packet.api.h: No such file or directory
#include <vnet/devices/af_packet/af_packet.api.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[206/1310] Building C object
vnet/CMakeFiles/vnet_thunderx2t99.dir/ethernet/node.c.o
ninja: build stopped: subcommand failed.
Makefile:691: recipe for target 'vpp-build' failed
make[1]: *** [vpp-build] Error 1
make[1]: Leaving directory '/home/jlinkes/vpp/build-root'
Makefile:366: recipe for target 'build-release' failed
make: *** [build-release] Error 2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11435): https://lists.fd.io/g/vpp-dev/message/11435
Mute This Topic: https://lists.fd.io/mt/28318534/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-