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
[HP-UX] ld: Unrecognized argument: +s -L<dir> #50413
Comments
this is also applicable to 3.1 (albeit the source is slightly changed) Return a *list* of options otherwise these may be improperly interpreted as |
While at it: gcc does not understand '+s', it does need '-Wl,+s'. |
Michael, I am not sure how you patch applies, is "elif" meant to be "if" ? |
Ohw, indeed, this line was copied from 3 lines below, sorry! But exactly, his should be 'if', being gcc on hp-ux. |
Ok so, just to make sure, the final patch for both changes should be: {{{ |
Basically yes, two minor ones: Two lines below already is another search for 'gcc' or 'g++', which also Thank you! |
But compiler[:3] implies that the compiler string starts *with* 'gcc'. so are you sure we're looking for 'gcc' anywhere in the string, In any case, I find these string searches very weak in there. I am going I'll take all cases from unixcompiler and add a test for that, then use Please don't hesitate to give me your list of compiler string -> compiler 'type' so I can add them in my test. Thanks ! |
It is very common to use the host triplet in the compiler name, like
Agreed, but AFAICT, native and other non-gcc compilers never do have
The most reliable way IMHO would be to preprocess '#ifdef __GNUC__', and Thank you! |
Why not |
Fine with me too. |
done in r74728 (trunk), r74729 (2.6.x), r74730 (pyk3) and r74731 (3.1.x) Thanks guys ! |
From http://svn.python.org/view/python/trunk/Misc/NEWS? "Initial patch by Sridhar Ratnakumar" The author of the initial patch - distutils_hpux_libdir_option.patch - |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: