-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Add support for compiles on HPE NonStop #230
Conversation
Fixes: rockdaboot#229 Signed-off-by: Randall S. Becker <[email protected]>
I still need help convincing |
Looking at the relevant libtool logic it appears that it matches
|
|
:( Those host identifiers aren't shown anywhere in libtool.m4 (which is used to generate the libtool script by configure) that I can tell. My conclusion is that while config.guess knows the platform exists, libtool in particular doesn't actually do anything whatsoever with that information and does not know how to build libraries for nonstop. (This is ironic since the one selling point of libtool is supposed to be that it works on any platform ever.) |
Explains why libtool is a noop on the platform |
This PR also includes changes to some tests to honor |
@@ -131,7 +131,11 @@ int main(int argc, const char * const *argv) | |||
|
|||
if (valgrind && *valgrind) { | |||
size_t cmdsize = strlen(valgrind) + strlen(argv[0]) + 32; | |||
#ifndef HAVE_ALLOCA_H |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can just drop using alloca() and always use malloc.
If you don't mind, I'll prepare a patch for it and put you in as Reported-by:
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me.
@rsbeckerca Thanks for your contribution ! |
Let me know when you are ready. I can reroll the PR if you want. I think |
@rsbeckerca Removal of alloca: #231 |
Should be done. I repushed the original commit dropping e85cddd. |
@rsbeckerca Can you try to build and run tests from latest master without any changes? |
No, there are a few patches I have to apply to make this work. The summary of what I have to do from the tarball is as follows:
|
Are you sure you are using latest git master? Because all usages of Latest commit is
Just saw you are building from tarball... here the tarball with the latest changes: |
I can build libpsl.a from the above tarball. Thanks. configure.ac needs a little tweeking to get a .so file, but I don't have a delivery requirement for that, so it is fine as is for now. |
Thanks for testing. Then I close this issue and #229. |
Fixes: #229