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

ROOT TBB build failures on GHA #857

Closed
KrisThielemans opened this issue Feb 1, 2024 · 4 comments · Fixed by #859
Closed

ROOT TBB build failures on GHA #857

KrisThielemans opened this issue Feb 1, 2024 · 4 comments · Fixed by #859
Assignees
Milestone

Comments

@KrisThielemans
Copy link
Member

https://github.com/SyneRBI/SIRF-SuperBuild/actions/runs/7740032215/job/21104114360?pr=854#step:8:9340

CMake Error at /home/runner/work/SIRF-SuperBuild/SIRF-SuperBuild/build/builds/ROOT/build/TBB-prefix/src/TBB-stamp/TBB-build-Release.cmake:49 (message):
  Command failed: 2

   'make' 'compiler=gcc' 'cpp0x=1' 'CXXFLAGS= -mno-rtm' 'CPLUS=/usr/lib/ccache/g++-11' 'CONLY=/usr/lib/ccache/gcc-11' 'LDFLAGS='
  See also
    /home/runner/work/SIRF-SuperBuild/SIRF-SuperBuild/build/builds/ROOT/build/TBB-prefix/src/TBB-stamp/TBB-build-*.log

Originally posted by @KrisThielemans in #854 (comment)

@KrisThielemans KrisThielemans added this to the v3.6 milestone Feb 1, 2024
@KrisThielemans
Copy link
Member Author

Also seen in #856

@KrisThielemans
Copy link
Member Author

we store log files, and I see

build/common.inc:48: "Warning: deprecated cpp0x=1 is used, stdver must be used instead. Building in stdver=c++0x mode."
../../build/Makefile.tbb:28: CONFIG: cfg=debug arch=intel64 compiler=gcc target=linux runtime=cc11.4.0_libc2.35_kernel6.2.0
make[7]: *** read jobs pipe: Bad file descriptor.  Stop.
make[7]: *** Waiting for unfinished jobs....
In file included from ../../src/tbb/concurrent_hash_map.cpp:17:
../../include/tbb/concurrent_hash_map.h: In constructor ‘tbb::interface5::internal::hash_map_base::hash_map_base()’:
../../include/tbb/concurrent_hash_map.h:131:24: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct tbb::interface5::internal::hash_map_base::bucket’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]
  131 |             std::memset(my_embedded_segment, 0, sizeof(my_embedded_segment));
      |             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/tbb/concurrent_hash_map.h:93:16: note: ‘struct tbb::interface5::internal::hash_map_base::bucket’ declared here
   93 |         struct bucket : tbb::internal::no_copy {
      |                ^~~~~~
make[6]: *** [Makefile:28: tbb] Error 2

@KrisThielemans KrisThielemans changed the title TBB build failures with gcc11 on GHA ROOT TBB build failures on GHA Feb 1, 2024
@KrisThielemans
Copy link
Member Author

Note that the firs t 3 (gcc 9) jobs don't use ROOT, and hence work fine.

@KrisThielemans
Copy link
Member Author

This has disappeared. Presumably a temporary GHA problem.

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

Successfully merging a pull request may close this issue.

3 participants