Package Details: lld16 16.0.6-1

Git Clone URL: https://aur.archlinux.org/lld16.git (read-only, click to copy)
Package Base: lld16
Description: Linker from the LLVM project (version 16)
Upstream URL: https://lld.llvm.org/
Licenses: custom:Apache 2.0 with LLVM Exception
Submitter: foutrelis
Maintainer: None
Last Packager: foutrelis
Votes: 1
Popularity: 0.000003
First Submitted: 2024-06-08 06:32 (UTC)
Last Updated: 2024-06-08 06:32 (UTC)

Latest Comments

vitaliikuzhdin commented on 2025-11-16 19:16 (UTC)

[7/131] Building CXX object Common/CMakeFiles/lldCommon.dir/Memory.cpp.o
FAILED: [code=1] Common/CMakeFiles/lldCommon.dir/Memory.cpp.o 
/usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/vitalii/.cache/paru/clone/lld16/src/lld-16.0.6.src/build/Common -I/home/vitalii/.cache/paru/clone/lld16/src/lld-16.0.6.src/Common -I/home/vitalii/.cache/paru/clone/lld16/src/lld-16.0.6.src/include -I/home/vitalii/.cache/paru/clone/lld16/src/lld-16.0.6.src/build/include -I/usr/lib/llvm16/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -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 -fPIC  -fno-exceptions -MD -MT Common/CMakeFiles/lldCommon.dir/Memory.cpp.o -MF Common/CMakeFiles/lldCommon.dir/Memory.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/Memory.cpp.o -c /home/vitalii/.cache/paru/clone/lld16/src/lld-16.0.6.src/Common/Memory.cpp
In file included from /usr/lib/llvm16/include/llvm/Support/Allocator.h:20,
                 from /home/vitalii/.cache/paru/clone/lld16/src/lld-16.0.6.src/include/lld/Common/Memory.h:24,
                 from /home/vitalii/.cache/paru/clone/lld16/src/lld-16.0.6.src/Common/Memory.cpp:9:
/usr/lib/llvm16/include/llvm/ADT/SmallVector.h:109:62: error: ‘uint64_t’ was not declared in this scope
  109 |     std::conditional_t<sizeof(T) < 4 && sizeof(void *) >= 8, uint64_t,
      |                                                              ^~~~~~~~
/usr/lib/llvm16/include/llvm/ADT/SmallVector.h:29:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
   28 | #include <memory>
  +++ |+#include <cstdint>
   29 | #include <new>

tomcat0x42 commented on 2024-11-11 12:42 (UTC) (edited on 2024-11-11 12:42 (UTC) by tomcat0x42)

Test are failing probably due to the system python version:

TEST 'lld :: MachO/compact-unwind-generated.test' FAILED
Exit Code: 1

Command Output (stderr):
--
RUN: at line 17: "/usr/bin/python3.12" /home/pablo/.cache/paru/clone/lld16/src/lld-16.0.6.src/test/MachO/tools/generate-cfi-funcs.py --seed=johnnyapple >/home/pablo/.cache/paru/clone/lld16/src/lld-16.0.6.src/build/test/MachO/Output/compact-unwind-generated.test.tmp.s
+ /usr/bin/python3.12 /home/pablo/.cache/paru/clone/lld16/src/lld-16.0.6.src/test/MachO/tools/generate-cfi-funcs.py --seed=johnnyapple
Traceback (most recent call last):
  File "/home/pablo/.cache/paru/clone/lld16/src/lld-16.0.6.src/test/MachO/tools/generate-cfi-funcs.py", line 132, in <module>
    main()
  File "/home/pablo/.cache/paru/clone/lld16/src/lld-16.0.6.src/test/MachO/tools/generate-cfi-funcs.py", line 116, in main
    size += print_function("x%08x" % (size+base))
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pablo/.cache/paru/clone/lld16/src/lld-16.0.6.src/test/MachO/tools/generate-cfi-funcs.py", line 26, in print_function
    frame_offset = -random.randint(0, (frame_size/16 - 4)) * 16
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/random.py", line 336, in randint
    return self.randrange(a, b+1)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/random.py", line 312, in randrange
    istop = _index(stop)
            ^^^^^^^^^^^^
TypeError: 'float' object cannot be interpreted as an integer

Failed Tests (1):
  lld :: MachO/compact-unwind-generated.test