Skip to content

[compiler-rt] libcxx-fuzzer is installed at wrong location #135476

Open
@xtexx

Description

@xtexx

In AOSC OS we use make install DESTDIR="$SRCDIR"/fakeroot to install files when packaging.

However, since LLVM 20.x we have been getting files installed at wrong location:

xtex@xtex1 ~ (main)> find /var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64 -maxdepth 2 -type d
/var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64
/var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/include
/var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++
/var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/lib
/var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/share
/var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/share/libc++
xtex@xtex1 ~ (main)> find /var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64 | count
2335
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: /var/cache/acbs/build/acbs.8u3o12ws/llvm-project-20.1.2.src/llvm/fakeroot/var/cache/acbs/build/acbs.8u3o12ws/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__cxxabi_config.h
-- Installing: /var/cache/acbs/build/acbs.8u3o12ws/llvm-project-20.1.2.src/llvm/fakeroot/var/cache/acbs/build/acbs.8u3o12ws/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/cxxabi.h

Related commits:

  • 5082acc ([compiler-rt] Add custom libc++ workaround for CMake < 3.26, 2024-11-10)
  • e7bad34 ([compiler-rt] Use installed libc++(abi) for tests instead of build tree, 2024-11-06)

These files are not installed in LLVM 18/19.

Activity

changed the title [-]libcxx-fuzzer is installed at wrong location[/-] [+][compiler-rt] libcxx-fuzzer is installed at wrong location[/+] on Apr 12, 2025
added
cmakeBuild system in general and CMake in particular
and removed on Apr 12, 2025
added a commit that references this issue on May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cmakeBuild system in general and CMake in particularcompiler-rt

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @EugeneZelenko@xtexx@llvmbot

        Issue actions

          [compiler-rt] libcxx-fuzzer is installed at wrong location · Issue #135476 · llvm/llvm-project