Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build_testing on aarch64 failed - 'tests/vector/CMakeFiles/vector_cl_types.dir/cl_types.cpp.o' failed #264

Open
jiapei100 opened this issue Apr 20, 2020 · 5 comments

Comments

@jiapei100
Copy link

My environment:

$ uname -a
Linux XXXXXX 4.9.206 #13 SMP PREEMPT Tue Dec 31 00:37:47 CST 2019 aarch64 aarch64 aarch64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.4 LTS
Release:	18.04
Codename:	bionic

$ gcc --version
gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ g++ --version
g++ (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Failed to TEST on aarch64.

[ 98%] Building CXX object tests/vector/CMakeFiles/vector_cl_types.dir/cl_types.cpp.o
cd ....../triSYCL/build/tests/vector && /usr/bin/c++  -DBOOST_ALL_NO_LIB -DBOOST_CHRONO_DYN_LINK -I....../triSYCL/include -I....../triSYCL/tests/common  -O3 -DNDEBUG   -fopenmp -Wall -Wextra -Wno-ignored-qualifiers -Wno-sign-compare -Wno-deprecated-declarations -Wno-unused-parameter -Wno-ignored-attributes -std=gnu++1z -o CMakeFiles/vector_cl_types.dir/cl_types.cpp.o -c ....../triSYCL/tests/vector/cl_types.cpp
In file included from ....../triSYCL/tests/vector/cl_types.cpp:10:0:
/usr/include/boost/test/minimal.hpp:35:119: note: #pragma message: This header is deprecated. Use Boost.Test minimal is deprecated. Please convert to the header only variant of Boost.Test. instead.
 BOOST_HEADER_DEPRECATED( "Boost.Test minimal is deprecated. Please convert to the header only variant of Boost.Test." )
                                                                                                                       ^
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
tests/vector/CMakeFiles/vector_cl_types.dir/build.make:65: recipe for target 'tests/vector/CMakeFiles/vector_cl_types.dir/cl_types.cpp.o' failed
make[2]: *** [tests/vector/CMakeFiles/vector_cl_types.dir/cl_types.cpp.o] Error 4
make[2]: Leaving directory '....../triSYCL/build'
CMakeFiles/Makefile2:5515: recipe for target 'tests/vector/CMakeFiles/vector_cl_types.dir/all' failed
make[1]: *** [tests/vector/CMakeFiles/vector_cl_types.dir/all] Error 2
make[1]: Leaving directory '....../triSYCL/build'
Makefile:165: recipe for target 'all' failed
make: *** [all] Error 2

Any suggestions?
Pei

@keryell
Copy link
Member

keryell commented Apr 22, 2020

Interesting... Right timing: I am just fixing most of the current warnings I have in triSYCL but I have never seen this one...

It looks like it has been deprecated boostorg/test@09c0f0a#diff-e7cc0f556f47ba0c88e22ef6264dfd6d

So I guess you are using a very recent version of Boost on top of your vanilla Ubuntu.

Do you have some time to change the triSYCL tests accordingly?
I do not have some immediate time, but if you are ready to wait a few days...

@jiapei100
Copy link
Author

@keryell

Yup, your guess is absolutely correct. I manually installed boost-1.72 and overwrite the system one (some MUST boost libraries come with Ubuntu 18.04.4 that are from repo)

I'd seriously love to help. It's interesting for me that, all triSYCL tests can pass on my PC (another Ubuntu 18.04.4 with x64), but NOT on my aarch64 board....

Is it possible this relates to the architecture?

Cheers
Pei

@keryell
Copy link
Member

keryell commented Apr 22, 2020

I think it is unrelated to the architecture.
Just that nobody tried with the latest Boost version like you.
I will have the problem anyway in 2 days when Ubuntu 20.04 is out, so I will have to fix the tests in a few days...

@keryell
Copy link
Member

keryell commented Oct 14, 2021

Now that #309 has landed, I hope this is fixed.
At some point we should have our CI running on ARM64.

@keryell
Copy link
Member

keryell commented Oct 14, 2021

That said, Ubuntu 18.04 and GCC 7 are quite old now, so at least you should try with Ubuntu 20.04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants