Bug 1731555 - Add notes wrt gcc Fortran async IO
Summary: Add notes wrt gcc Fortran async IO
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: doc-Release_Notes
Version: DTS 9.0 RHEL 7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: alpha
: 9.0
Assignee: Lenka Špačková
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-19 18:25 UTC by Marek Polacek
Modified: 2019-12-16 13:33 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
Executable files created with Red Hat Developer Toolset are dynamically linked in a nonstandard way. As a consequence, Fortran code cannot handle input/output (I/O) operations asynchronously even if this functionality is requested. To work around this problem, link the `libgfortran` library statically with the `-static-libgfortran` option to enable asynchronous I/O operations in Fortran code. Note that Red Hat discourages static linking for security reasons.
Clone Of:
Environment:
Last Closed: 2019-12-16 13:33:20 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Marek Polacek 2019-07-19 18:25:01 UTC
We should mention this in Release Notes:

While upstream GCC 9 supports Fortran async IO really asynchronously, when linking dynamically with DTS 9 it will be synchronous (with -static-libgfortran asynchronous), because there is nothing we can do about that in our system library + nonshared blob way of linking - the async changes are all through the library.


Note You need to log in before you can comment on or make changes to this bug.