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

boost 1.86 aix build error #413

Open
paladin-dalao opened this issue Sep 17, 2024 · 5 comments
Open

boost 1.86 aix build error #413

paladin-dalao opened this issue Sep 17, 2024 · 5 comments

Comments

@paladin-dalao
Copy link

aix version 7100-05

/usr/local/include/boost/process/v2/impl/pid.ipp:729:2: error: #error "Platform not supported"
 #error "Platform not supported"

/usr/local/include/boost/process/v2/ext/impl/exe.ipp:175:2: error: #error "Platform not supported"
 #error "Platform not supported"
  ^~~~~

/usr/local/include/boost/process/v2/impl/error.ipp: In member function 'virtual std::__cxx11::string boost::process::v2::error::detail::exit_code_category::message(int) const':
/usr/local/include/boost/process/v2/impl/error.ipp:112:21: error: duplicate case value
                     case SIGLOST: return "SIGLOST:   File lock lost (unused)";
@paladin-dalao
Copy link
Author

When will aix be supported?

@mclow mclow transferred this issue from boostorg/boost Oct 24, 2024
@klemens-morgenstern
Copy link
Collaborator

klemens-morgenstern commented Oct 24, 2024

If I get help implementing & testing it, sure. I don't have access to an AIX machine.

@klemens-morgenstern
Copy link
Collaborator

The implementations needed are:

std::vector<pid_type> all_pids(boost::system::error_code & ec);
pid_type parent_pid(pid_type pid, boost::system::error_code & ec);
std::vector<pid_type> child_pids(pid_type pid, boost::system::error_code & ec);

probaly using https://www.ibm.com/docs/en/aix/7.2?topic=g-getprocs-subroutine

and

filesystem::path exe(boost::process::v2::pid_type pid, boost::system::error_code & ec)

which could probably just always return a "operation not supported" error.

@paladin-dalao
Copy link
Author

The implementations needed are:

std::vector<pid_type> all_pids(boost::system::error_code & ec);
pid_type parent_pid(pid_type pid, boost::system::error_code & ec);
std::vector<pid_type> child_pids(pid_type pid, boost::system::error_code & ec);
probaly using https://www.ibm.com/docs/en/aix/7.2?topic=g-getprocs-subroutine

and

filesystem::path exe(boost::process::v2::pid_type pid, boost::system::error_code & ec)
which could probably just always return a "operation not supported" error.

You can provide a code package that supports AIX functions, and I'll conduct the testing and verification.

@paladin-dalao paladin-dalao reopened this Jan 13, 2025
@paladin-dalao
Copy link
Author

Image

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