[Bug translator/33578] New: parse.cxx doesn't compile on s390x

mcermak at redhat dot com sourceware-bugzilla@sourceware.org
Fri Oct 24 08:53:24 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=33578

            Bug ID: 33578
           Summary: parse.cxx doesn't compile on s390x
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: mcermak at redhat dot com
  Target Milestone: ---

On RHEL9 and RHEL10 s390 I'm seeing the following compile-time problem with
current release-5.3-30-g799644b7a:

el10 s390x # make -j$(nproc)
sed -e "s#@pkgdatadir@#/usr/local/share/systemtap#g" < macros.systemtap.in >
macros.systemtap
/bin/sh ./git_version.sh -k -s . -o git_version.h
git_version.sh: Output is new file, creating git_version.h
make  all-recursive
make[1]: Entering directory '/root/systemtap'
Making all in .
make[2]: Entering directory '/root/systemtap'
  CXX      stap-main.o
  CXX      stap-session.o
  CXX      stap-parse.o
  CXX      stap-staptree.o
parse.cxx:42:2: error: #error "need boost thread_pool.hpp"
   42 | #error "need boost thread_pool.hpp"
      |  ^~~~~
parse.cxx:48:2: error: #error "need boost post.hpp"
   48 | #error "need boost post.hpp"
      |  ^~~~~
parse.cxx: In function ‘void parse_all(systemtap_session&, const
std::vector<std::pair<std::__cxx11::basic_string<char>, unsigned int> >&)’:
parse.cxx:4467:3: error: ‘boost’ has not been declared
 4467 |   boost::asio::thread_pool TP (thread::hardware_concurrency());
      |   ^~~~~
parse.cxx:4475:7: error: ‘boost’ has not been declared
 4475 |       boost::asio::post(TP,[file, flags, i, &results, &session]() {
      |       ^~~~~
parse.cxx:4475:25: error: ‘TP’ was not declared in this scope
 4475 |       boost::asio::post(TP,[file, flags, i, &results, &session]() {
      |                         ^~
parse.cxx:4481:3: error: ‘TP’ was not declared in this scope
 4481 |   TP.join();
      |   ^~
make[2]: *** [Makefile:1270: stap-parse.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/root/systemtap'
make[1]: *** [Makefile:2221: all-recursive] Error 1
make[1]: Leaving directory '/root/systemtap'
make: *** [Makefile:821: all] Error 2
el10 s390x #

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


More information about the Systemtap mailing list