# Funny linking error while compiling for Swift 5 with some construct for 6

**URL:** <https://forums.swift.org/t/funny-linking-error-while-compiling-for-swift-5-with-some-construct-for-6/85054>\
**Category:** LLDB\
**Tags:** linking\
**Created:** [February 28, 2026, 12:27pm UTC](https://forums.swift.org/t/funny-linking-error-while-compiling-for-swift-5-with-some-construct-for-6/85054 "2026-02-28T12:27:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fbartolom](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/fbartolom/32/35773_2.png) [@fbartolom](https://forums.swift.org/u/fbartolom)\
**Post date:** [February 28, 2026, 12:27pm UTC](https://forums.swift.org/t/funny-linking-error-while-compiling-for-swift-5-with-some-construct-for-6/85054/1 "2026-02-28T12:27:53Z")

</div>

When I compile my app I receive no errors, but for a final linking error hampering the installation I have no cue about: this is the log file around the log:

```swift
libsystem_kernel.dylib`__pthread_kill:
    0x2502f71c8 <+0>: mov x16, #0x148 ; =328 
    0x2502f71cc <+4>: svc #0x80
-> 0x2502f71d0 <+8>: b.lo 0x2502f71f0 ; <+40>
    0x2502f71d4 <+12>: pacibsp 
    0x2502f71d8 <+16>: stp x29, x30, [sp, #-0x10]!
    0x2502f71dc <+20>: mov x29, sp
    0x2502f71e0 <+24>: bl 0x2502f2900 ; cerror_nocancel
    0x2502f71e4 <+28>: mov sp, x29
    0x2502f71e8 <+32>: ldp x29, x30, [sp], #0x10
    0x2502f71ec <+36>: retab  
    0x2502f71f0 <+40>: ret 

```
