-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
First of all, it seems to be similar to what happens in issue #492 but the line mentioned there to be causing the problem is patched in the main branch I tried on, plus this happens in FreeBSD.
I'm attaching logs at the end of the text. cmake.log
contains the output of the cmake
instruction and ninja.log
contains the output of the ninja
command to build the lib.
System information:
- FreeBSD 14.1-RELEASE GENERIC amd64
- python 3.11.10
- cmake 3.30.5
- ninja 1.11.1,4
- clang 18.1.5
- meson 1.5.2
Steps to reproduce:
$ git clone https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm.git
$ cd LLVM-embedded-toolchain-for-Arm
$ export CC=clang
$ export CXX=clang++
$ mkdir build && cd build
$ cmake .. -GNinja -DFETCHCONTENT_QUIET=OFF
$ ninja llvm-toolchain
And it seems to fail at this point in the process:
[3291/4496] Performing build step for 'picolibc_aarch64a'
...
[1090/1090] Generating newlib/libc_duplicates with a custom command
FAILED: newlib/libc_duplicates
/home/n0mad/workspace/git-repos/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
0000000000000000 N $d
ninja: build stopped: subcommand failed.
It then attempts to continue for a bit (see ninja.log) but it ends up failing to an exit.
Not sure if being a picolibc build step this should be an issue on their repo too, or just keep it here.
lin72h
Metadata
Metadata
Assignees
Labels
No labels