Bug 2321571 - flang-19.1.0-1.fc41missing omp_lib.mod
Summary: flang-19.1.0-1.fc41missing omp_lib.mod
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: flang
Version: 41
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Timm Bäder
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-24 18:54 UTC by Brad King
Modified: 2024-11-09 01:44 UTC (History)
6 users (show)

Fixed In Version: flang-19.1.0-2.fc41
Clone Of:
: 2338955 (view as bug list)
Environment:
Last Closed: 2024-11-09 01:44:44 UTC
Type: ---
Embargoed:
tstellar: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-1329 0 None None None 2024-10-29 13:10:36 UTC

Description Brad King 2024-10-24 18:54:13 UTC
On Fedora 40, the flang-18.1.6-1.fc40 package provides a /usr/include/flang/omp_lib.mod file that's needed for:

    $ cat test.f90
    program test
      use omp_lib
      implicit none
      integer :: n
      n = omp_get_num_threads()
    end program
    $ flang-new -fopenmp test.f90

On Fedora 41, the flang-19.1.0-1.fc41 package does not provide the file:

    $ flang-new -fopenmp test.f90
    ...
    ./test.f90:2:7: error: Cannot read module file for module 'omp_lib':
       Source file 'omp_lib.mod' was not found


Reproducible: Always

Comment 1 Fedora Update System 2024-10-31 10:32:01 UTC
FEDORA-2024-5e2398a24a (flang-19.1.0-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-5e2398a24a

Comment 2 Fedora Update System 2024-11-01 01:35:33 UTC
FEDORA-2024-5e2398a24a has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5e2398a24a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5e2398a24a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Brad King 2024-11-01 12:24:53 UTC
I updated to `flang` version `19.1.0-2.fc41` via FEDORA-2024-5e2398a24a and can confirm the problem is fixed, thanks!

Comment 4 Fedora Update System 2024-11-09 01:44:44 UTC
FEDORA-2024-5e2398a24a (flang-19.1.0-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


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