Skip to Main Content
IBM Z Software


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).


Shape the future of IBM!

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:

Search existing ideas

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 your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

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.

Status Not under consideration
Categories Fortran
Created by Guest
Created on Feb 10, 2019

XLF: request support for -shared flag consistent with the XLC usage

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
  • Guest
    Reply
    |
    Apr 20, 2020

    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.

  • Guest
    Reply
    |
    Mar 24, 2020

    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)!

  • Guest
    Reply
    |
    Jul 16, 2019

    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?

  • Guest
    Reply
    |
    Apr 8, 2019

    This RFE is being investigated further.