Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. 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 Delivered
Workspace AIX
Created by Guest
Created on Aug 25, 2021

Request the ability to set the XCOFF header timestamps generated by the linker to NULL

system:aix7200
app:makeC++SharedLib
language:c++
The 'makeC++SharedLib' app is a helper script that invokes the AIX ld linker (not the compiler), which is used to produce shared libraries, including *.ibmcpp files.
When *.o files have no changes,every time we run 'makeC++SharedLib' app,we'll get different *.ibmcpp files.
It appears that the binary diff/md5sum mismatch for my *.ibmcpp files is due to different XCOFF header timestamps.
So we'd like to open against AIX to request the ability to set the XCOFF header timestamps generated by the linker to NULL.

Idea priority High
  • Guest
    Reply
    |
    Mar 8, 2022

    It is presumed the -bdbg:dbopt9 flag option sufficiently addresses this RFE. Please resubmit the RFE if this is not the case.

  • Guest
    Reply
    |
    Jan 26, 2022

    The -bdbg:dbopt9 flag can be used to write a zero in the timestamp field. IBM plans to explore documentation updates to cover this option.

    Please give this a try and let us know if this meets your needs.

    Here is an example:

    $ ld -o main /lib/crt0.o main.o helper.o -lc -bdbg:dbopt9
    $ ls -al
    -rwx------ 1 tstuser tstuser 6309 Jan 25 17:29 main
    -rwx------ 1 tstuser tstuser 119 May 5 2021 main.c
    -rw------- 1 tstuser tstuser 2338 Jan 25 16:31 main.o
    $ shasum main
    69225dd518f1acc34df37bdf2d8f9176daf14062 main

    $ rm main

    $ ld -o main /lib/crt0.o main.o helper.o -lc -bdbg:dbopt9
    $ ls -al
    total 104
    -rwx------ 1 tstuser tstuser 6309 Jan 25 17:30 main
    -rwx------ 1 tstuser tstuser 119 May 5 2021 main.c
    -rw------- 1 tstuser tstuser 2338 Jan 25 16:31 main.o
    $ shasum main
    69225dd518f1acc34df37bdf2d8f9176daf14062 main

    When you remove the -bdbg:dbopt9 flag and re-link:
    $ rm main
    $ ld -o main /lib/crt0.o main.o helper.o -lc
    $ shasum main
    f73f61889ee05440e0492c9ee9ac55a8acf3772e main

  • Guest
    Reply
    |
    Sep 7, 2021

    A suggestion is to use a binary editor to zero out the timestamp field.
    IBM has evaluated the priority of this enhancement proposal relative to other future product content and determined that this RFE will not be pursued for a future product release

  • Guest
    Reply
    |
    Aug 26, 2021

    I think you need to try the recommendation in the XLCv11 documentation first:

    It is recommended that you use the -qmkshrobj compiler option instead of the makeC++SharedLib command. Among the advantages to using this option are the automatic handling of link-time C++ template instantiation (using either the template include directory or the template registry), and compatibility with the -O5 option.

    See https://www.ibm.com/docs/en/xl-c-and-cpp-aix/11.1.0?topic=utilities-creating-shared-library-makecsharedlib-utility