Closed amandeepgautam closed 6 years ago
We don't have access to AIX machines to test, but if you can figure out a fix then feel free to send us a pull request. You might just have to edit this line to exclude AIX from that sched_yield check: https://github.com/google/protobuf/blob/099d99759101c295244c24d8954ec85b8ac65ce3/configure.ac#L194
@acozzette I tested on aix7.2.1.0 and the configure script passes. This is my first PR so I apologize if I have missed a few conventions. If so, any pointers to correct them would be helpful.
@acozzette,
If you are providing free and open source software then you have access to the GCC Build Farm. It provides Power7 and Power8 machines running Linux and AIX. Other cpu architectures and OSes are provided, like MIPS, MIPS64 and Aarch64.
In particular, gcc119.fsffrance.org
is the AIX machine running on Power8.
You can find reading at GCC Compile Farm Project (older) and The GCC Compile Farm project (newer). The user mailing list is at GCC Compile Farm Users.
You can sign up for an account at Join the project!. Once you have an account access to AIX would be something like ssh acozzette@gcc119.fsffrance.org
.
@noloader Thanks for the pointer to that project, I wasn't even aware something like that existed. I'm afraid we still can't officially support some of these less common platforms like AIX, though, just because we don't have the cycles to monitor that build and keep it running. However we are glad to keep accepting pull requests with fixes.
why linux-gnu also has this questions?
centos 6.9 4.17.0-1.el6.elrepo.x86_64,gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC)
I am unable to build protobuf from source on AIX 7.2. The configure script fails saying that sched_yield was not found on the system. However it seems that
sched_yield
is present asman sched_yield
bring up the corresponding man page.