Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

Swift 5.0 Raspbian linker fail #28

@AleyRobotics

Description

@AleyRobotics

Swift version 5.0 (swift-5.0-RELEASE)
Target: armv6-unknown-linux-gnueabihf

linker LOG:

$ swift build -c release -Xswiftc -g -v
which clang
/usr/local/bin/swiftc -sdk / -g -L /home/pi/Swish/ProjectFolder/.build/armv6-unknown-linux-gnueabihf/debug -o /home/pi/Swish/ProjectFolder/.build/armv6-unknown-linux-gnueabihf/debug/ProjectFolder -module-name Project -emit-executable -Xlinker '-rpath=$ORIGIN' @/home/pi/Swish/ProjectFolder/.build/armv6-unknown-linux-gnueabihf/debug/ProjectFolder/Objects.LinkFileList
/home/pi/Swish/ProjectFolder/.build/checkouts/swift-backtrace/Sources/CBacktrace/backtrace.c:75: error: undefined reference to '_Unwind_GetIPInfo'
/home/pi/Swish/ProjectFolder/.build/checkouts/swift-backtrace/Sources/CBacktrace/simple.c:70: error: undefined reference to '_Unwind_GetIPInfo'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
<unknown>:0: error: link command failed with exit code 1 (use -v to see invocation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions