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: unassignedclangb...@nondot.org
          Reporter: linhsu0...@qq.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@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-disc...@lists.ubuntu.com>
Original-Maintainer: LLVM Packaging Team
<pkg-llvm-t...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to