Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2023 13:55:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272164] devel/llvm-devel: Build broken on aarch64
Message-ID:  <bug-272164-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 272164
           Summary: devel/llvm-devel: Build broken on aarch64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks@FreeBSD.org
          Reporter: jfc@mit.edu
             Flags: maintainer-feedback?(brooks@FreeBSD.org)
          Assignee: brooks@FreeBSD.org

On 64 bit ARM llvm-devel fails to build with a linker error in the ubsan
library:
```
ld: error:
projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.aarch64.dir/ub=
san_signals_standalone.cpp.o:(function
__ubsan::InitializeDeadlySignals():
.text._ZN7__ubsan23InitializeDeadlySignalsEv+0x78): improper alignment for
relocation R_AARCH64_LD64_GOT_LO12_NC: 0x5F5FC is not aligned to 8 bytes
```

I reported this at https://github.com/llvm/llvm-project/issues/63418.  A
complicated use of inline assembly results in a misaligned symbol, or use o=
f an
8 byte load on a 4 byte object, I can't tell what the code is supposed to d=
o.

The build of LLVM can be fixed by disabling compiler-rt but it probably won=
't
get packaged right as a port.

--=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-272164-7788>