IBM Support

XL C/C++ V12.1 - Modification to Boost Libraries V1.47.0

Product Documentation


The modification file contains source changes for the Boost 1.47.0 libraries so they will work with XL C/C++ V12.1.


About this modification file
This modification file is provided as a convenience to IBM XL C/C++ V12.1 customers who want to use the Boost 1.47.0 libraries in their application development. Use it to modify the Boost 1.47.0 libraries so they can work with the XL C/C++ compiler. The modification file does not extend or otherwise provide additional functionality to the Boost libraries.

IBM does not warrant or offer formal support for this modification file.

Installing the modification file
To build and use the Boost 1.47.0 libraries with the XL C/C++ compiler, you must first make a number of changes to the Boost source code. These source code changes are contained in a modification file that you can download and then apply using the patch utility provided by the operating system. The modification file provided for download on this page has been tested only with Boost release 1.47.0.

To use the modification file, you must perform the following steps:

1.Download Boost 1.47.0 from
2.Extract the files from the package. Files will be created in the relative directory boost_1_47_0/.
3.Download boost_modfile.txt from the link provided further down in this page.
4.Run the command patch -p0 < boost_modfile.txt from the boost_1_47_0/ directory. This will apply the necessary changes to the Boost source code.

Download packages and information

Release date
8 May 2010
6 KB
License Information
8 May 2012
278 KB
International License Agreement
8 May 2012
2337 KB
Boost V1.47.0 - Regression Test Results with XL C/C++ for AIX V12.1 - AIX V5.3/V6.1/V7.1
26 Mar 2012
Boost V1.47.0 - Regression Test Results with XL C/C++ for Linux V12.1 - RHEL5/RHEL6/SLES10/SLES11
26 Mar 2012
Boost V1.47.0 - Regression Test Results with XL C/C++ for Blue Gene/Q V12.1 - RHEL6
9 April 2012

Additional information
XL C/C++ for AIX, V12.1 has been tested with Python Version 2.4.4.

XL C/C++ for Linux, V12.1 (RHEL5/RHEL6/SLES10/SLES11) has been tested with Python V2.4.4.

XL C/C++ for Blue Gene/Q, V12.1 (RHEL6) has been tested with Python V2.6.6.

Earlier versions, such as Python Version 2.3, do not work.

If you intend to run the built-in test harness, you should add the following environment variable setting at the top of boost_1_47_0/tools/regression/

export LDR_CNTRL=MAXDATA=0x80000000

HTML reporting is extremely sensitive to how your directory paths are specified. Using soft links may cause the reporting to fail. Specifically, if you have a soft link for $BOOST_ROOT and the name expands into a name of a different length, there will be a problem in finding the directory $BOOST_ROOT/bin.v2/status/. To fix this problem, append the following lines after the definition of $BOOST_ROOT:


[{"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Install\/Setup\/Configuration","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF025","label":"Platform Independent"}],"Version":"12.1","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Product":{"code":"SSGH3R","label":"XL C\/C++ for AIX"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Downloads","Platform":[{"code":"PF002","label":"AIX"}],"Version":"12.1","Edition":"Not Applicable","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Downloads","Platform":[{"code":"PF016","label":"Linux"}],"Version":"12.1","Edition":"Not Applicable","Line of Business":{"code":"LOB57","label":"Power"}},{"Product":{"code":"SS2LWA","label":"XL C\/C++ for Blue Gene\/Q"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Downloads","Platform":[{"code":"","label":"Blue Gene\/Q"}],"Version":"12.1","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
06 December 2018