[llvm-bugs] [Bug 45916] New: Bug relating to -fopenmp

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 13 18:51:33 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=45916

            Bug ID: 45916
           Summary: Bug relating to -fopenmp
           Product: clang
           Version: 9.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: linhsu0723 at qq.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Created attachment 23485
  --> https://bugs.llvm.org/attachment.cgi?id=23485&action=edit
preprocessed source(s) and associated run script(s)

For the source file `a_star.cpp`, once `-fopenmp` added, the compilation
failed.

Clang info:
```
clang version 9.0.0-2~ubuntu18.04.2 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
```

OpenMP lib info:
```
Package: libomp-dev
Version: 5.0.1-1
Priority: extra
Section: universe/libdevel
Source: openmprtl
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Original-Maintainer: LLVM Packaging Team
<pkg-llvm-team at lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29.7 kB
Depends: libomp5 (= 5.0.1-1)
Suggests: libomp-doc
Breaks: libiomp-dev (<< 3.7-1)
Replaces: libiomp-dev (<< 3.7-1)
Homepage: http://openmp.llvm.org/
Supported: 3y
Download-Size: 5,088 B
APT-Manual-Installed: yes
APT-Sources: http://mirrors.aliyun.com/ubuntu bionic/universe amd64 Packages
Description: LLVM OpenMP runtime - dev package
 The runtime is the part of the OpenMP implementation that your code is
 linked against, and that manages the multiple threads in an OpenMP program
 while it is executing.
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200514/1285a3a1/attachment.html>


More information about the llvm-bugs mailing list