Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2022 06:40:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 265809] clang never finishes on one particular C++ file
Message-ID:  <bug-265809-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265809

            Bug ID: 265809
           Summary: clang never finishes on one particular C++ file
           Product: Base System
           Version: 13.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

Created attachment 235873
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D235873&action=
=3Dedit
unity_1935_cxx.cxx.E.cxx.bz2

clang never finishes on the attached (compressed) C++ unit.

The command
> c++ -fno-strict-aliasing -fno-omit-frame-pointer -march=3Dnative -O3 -fPI=
C -c unity_1935_cxx.cxx.E.cxx

doesn't finish in hours.

But when -fno-strict-aliasing is removed it finishes within a minute.

> $ c++ --version
> FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git ll=
vmorg-14.0.5-0-gc12386ae247c)
> Target: x86_64-unknown-freebsd13.1
> Thread model: posix
> InstalledDir: /usr/bin


This problem was originally discovered when one C++ module in the psi4 proj=
ect
(https://github.com/psi4/psi4) never finished to compile.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265809-227>