Skip to content

libc compile #141795

Open
Open
@DK05310214

Description

@DK05310214

System Details Report


Report details

  • Date generated: 2025-05-29 00:18:11

Hardware Information:

  • Hardware Model: Micro-Star International Co., Ltd. MS-7D76
  • Memory: 32.0 GiB
  • Processor: AMD Ryzen™ 7 7700 × 16
  • Graphics: NVIDIA GeForce RTX™ 3070 Ti
  • Graphics 1: NVIDIA GeForce RTX™ 3070 Ti
  • Disk Capacity: 2.8 TB

Software Information:

  • Firmware Version: A.I0
  • OS Name: Ubuntu 24.04.2 LTS
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 46
  • Windowing System: X11
  • Kernel Version: Linux 6.11.0-19-generic

build cmd

cmake -S llvm -B build -GNinja -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=all
cmake --build build -j32
cmake --install build

error

[5/5884] Building CXX object projects/libc/src/poll/linux/CMakeFiles/libc.src.poll.linux.poll.dir/poll.cpp.o
FAILED: projects/libc/src/poll/linux/CMakeFiles/libc.src.poll.linux.poll.dir/poll.cpp.o 
/usr/bin/c++ -DLIBC_NAMESPACE=__llvm_libc_21_0_0_git -I/home/dap/tool_libs/llvm-project/build/projects/libc/src/poll/linux -I/home/dap/tool_libs/llvm-project/libc/src/poll/linux -I/home/dap/tool_libs/llvm-project/libc -isystem /home/dap/tool_libs/llvm-project/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_ADD_NULL_CHECKS -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wdeprecated -fext-numeric-literals -Wno-pedantic -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -DLIBC_COPT_PUBLIC_PACKAGING -UNDEBUG -MD -MT projects/libc/src/poll/linux/CMakeFiles/libc.src.poll.linux.poll.dir/poll.cpp.o -MF projects/libc/src/poll/linux/CMakeFiles/libc.src.poll.linux.poll.dir/poll.cpp.o.d -o projects/libc/src/poll/linux/CMakeFiles/libc.src.poll.linux.poll.dir/poll.cpp.o -c /home/dap/tool_libs/llvm-project/libc/src/poll/linux/poll.cpp
In file included from /home/dap/tool_libs/llvm-project/libc/src/__support/OSUtil/linux/syscall.h:13,
                 from /home/dap/tool_libs/llvm-project/libc/src/__support/OSUtil/syscall.h:15,
                 from /home/dap/tool_libs/llvm-project/libc/src/poll/linux/poll.cpp:14:
/home/dap/tool_libs/llvm-project/libc/src/poll/linux/poll.cpp:33:25: error: ‘int __llvm_libc_21_0_0_git::poll(pollfd*, nfds_t, int)’ aliased to external symbol ‘poll’
   33 | LLVM_LIBC_FUNCTION(int, poll, (pollfd * fds, nfds_t nfds, int timeout)) {
      |                         ^~~~
/home/dap/tool_libs/llvm-project/libc/src/__support/common.h:50:34: note: in definition of macro ‘LLVM_LIBC_FUNCTION_IMPL’
   50 |   decltype(LIBC_NAMESPACE::name) name [[gnu::alias(#name)]];                   \
      |                                  ^~~~
/home/dap/tool_libs/llvm-project/libc/src/poll/linux/poll.cpp:33:1: note: in expansion of macro ‘LLVM_LIBC_FUNCTION’
   33 | LLVM_LIBC_FUNCTION(int, poll, (pollfd * fds, nfds_t nfds, int timeout)) {
      | ^~~~~~~~~~~~~~~~~~
[6/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/fixunsdfti.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fixunsdfti.c:9:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[7/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/fixunsdfdi.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fp_lib.h:23,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fixunsdfdi.c:10:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[8/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/floatsidf.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fp_lib.h:23,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/floatsidf.c:16:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[9/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/fixunssfdi.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fp_lib.h:23,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fixunssfdi.c:10:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[10/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/fixdfsi.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fp_lib.h:23,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fixdfsi.c:10:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[11/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/fixsfti.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fixsfti.c:9:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[13/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/floatsisf.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fp_lib.h:23,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/floatsisf.c:16:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[14/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/fixdfdi.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fp_lib.h:23,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fixdfdi.c:10:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[15/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/floatunsisf.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fp_lib.h:23,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/floatunsisf.c:16:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[16/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/floattisf.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/floattisf.c:13:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[17/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/fixsfsi.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fp_lib.h:23,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fixsfsi.c:10:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[18/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/floatunsidf.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fp_lib.h:23,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/floatunsidf.c:16:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[19/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/fixunssfsi.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fp_lib.h:23,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fixunssfsi.c:14:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[20/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/fixunsdfsi.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fp_lib.h:23,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fixunsdfsi.c:10:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[21/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/fixunssfti.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fp_lib.h:23,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fixunssfti.c:14:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[22/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/fixdfti.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/fixdfti.c:9:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[23/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/floatuntidf.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/floatuntidf.c:13:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/floatuntidf.c:19:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_to_fp_impl.inc: In function ‘__floatXiYf__’:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_to_fp_impl.inc:24:31: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits]
   24 |     srcIsSigned = ((src_t)-1) < 0,
      |                               ^
[24/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/floatuntisf.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/floatuntisf.c:13:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/floatuntisf.c:19:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_to_fp_impl.inc: In function ‘__floatXiYf__’:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_to_fp_impl.inc:24:31: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits]
   24 |     srcIsSigned = ((src_t)-1) < 0,
      |                               ^
[25/5884] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/floattidf.c.o
In file included from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_lib.h:99,
                 from /home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/floattidf.c:13:
/home/dap/tool_libs/llvm-project/compiler-rt/lib/builtins/int_types.h:240:9: warning: ISO C does not support the ‘_Float128’ type [-Wpedantic]
  240 | typedef _Float128 _Complex Qcomplex;
      |         ^~~~~~~~~
[33/5884] Building CXX object tools/lldb/source/Plugins/ExpressionParser/Clang/CMakeFiles/lldbPluginExpressionParserClang.dir/ClangASTSource.cpp.o
/home/dap/tool_libs/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp: In member function ‘clang::TagDecl* lldb_private::ClangASTSource::FindCompleteType(const clang::TagDecl*)’:
/home/dap/tool_libs/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp:237:55: warning: cast from type ‘const clang::TagDecl*’ to type ‘void*’ casts away qualifiers [-Wcast-qual]
  237 |     TypeQuery query(CompilerDecl(m_clang_ast_context, (void *)decl));
      |                                                       ^~~~~~~~~~~~
[36/5884] Building CXX object tools/lldb/source/Plugins/ExpressionParser/Clang/CMakeFiles/lldbPluginExpressionParserClang.dir/ClangExpressionParser.cpp.o
ninja: build stopped: subcommand failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions