LLVM-embedded-toolchain-for-Arm icon indicating copy to clipboard operation
LLVM-embedded-toolchain-for-Arm copied to clipboard

ninja check-llvm-toolchain fails on openbsd

Open begriffs opened this issue 5 months ago • 5 comments

Fails similarly on the main branch (6d76d5).

System information:

  • OpenBSD build 7.5 GENERIC.MP#82 amd64
  • python 3.11.9
  • cmake 3.28.3
  • ninja 1.11.1
  • clang 16.0.6
  • meson 1.3.2

Steps to reproduce:

cd ~/dev
git clone https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm.git
cd LLVM-embedded-toolchain-for-Arm
git checkout release-18.1.3

export CC=clang
export CXX=clang++
mkdir build
cd build
cmake .. -GNinja -DFETCHCONTENT_QUIET=OFF

ninja llvm-toolchain

The crux of the error appears to be this part of the output:

FAILED: newlib/libc_duplicates
~/dev/LLVM-embedded-toolchain-for-Arm/build/_deps/picolibc-src/scripts/duplicate-names /usr/bin/nm newlib/libc.a newlib/libc_duplicates
Duplicate names in newlib/libc.a
00000000 F k_rem_pio2.c
00000000 F s_scalbln.c

begriffs avatar Sep 07 '24 05:09 begriffs