This portal is to open public enhancement requests against IBM Z Software products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).
We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:
Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,
Post an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.
IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.
ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.
See this idea on ideas.ibm.com
The XLC compiler accepts the "-shared" flag as an alias to "-qmkshrobj" to create shared object (.so) files, but the XLF compiler does not.
The XLF option -shared is not documented but is not identified as invalid when it is used. Using -shared does not produce a shared object (readelf -h a.out | grep Type:) but produces an executable file that seems to be missing some symbol table info that would be included in a normal executable.
When building applications from multiple source languages (C and Fortran) the common build process (configure/make) may pass common flags to both compilers.
Is there a reason why XLC accepts -shared while XLF does not?
Please consider providing the -shared flag as an alias to -qmkshrobj for XLF that is consistent with the XLC compiler.
If there is a need for a unique implementation of -shared for XLF, could you please provide documentation for its use?
Idea priority | Low |
By clicking the "Post Comment" or "Submit Idea" button, you are agreeing to the IBM Ideas Portal Terms of Use.
Do not place IBM confidential, company confidential, or personal information into any field.
Hi Roy,
Apologies for the delay in our response.
As you mentioned, -shared is not documented in the XL Fortran Linux guide as it was not implemented in XL Fortran.
The -shared object was likely introduced in XLC only for gcc porting compatibility.
For XL Fortran, we would like clients to use -qmkshrobj.
There would be a significant effort to get -shared working with XLF; and considering there's already a documented option, we will be canceling this RFE.
Feel free to let us know if you have any further concerns.
Its now been 13 months since this RFE was created. I would think that an evaluation wouldn't take that long. End users are expecting -shared to work and it gets interpreted as -s -h -a -r -e -d which does bad things (-s is strip all symbols)!
It's been 5 months since this RFE was created and there have been no updates. Can you please provide an update on the evaluation of this RFE?
This RFE is being investigated further.