Skip to content

ld.lld command failed due to signal #649

@laura-carlesso

Description

@laura-carlesso

Hello,

I was trying to link a project for one of our Infineon boards (see https://github.com/Infineon/TARGET_KIT_PSE84_EVAL_EPC2 ) using LLVM_ARM but the linking fails with the following trace:

Exception Code: 0xC0000005
#0 0x00007ff71431ebd8 (C:\Users_path_\LLVM\bin\ld.lld.exe+0x25ebd8)
#1 0x00007ff71431db16 (C:\Users_path_\LLVM\bin\ld.lld.exe+0x25db16)
#2 0x00007ff7143d60cb (C:\Users_path_\LLVM\bin\ld.lld.exe+0x3160cb)
#3 0x00007ff71431a285 (C:\Users_path_\LLVM\bin\ld.lld.exe+0x25a285)
#4 0x00007ff71435724f (C:\Users_path_\LLVM\bin\ld.lld.exe+0x29724f)
#5 0x00007ff71604df5d (C:\Users_path_\LLVM\bin\ld.lld.exe+0x1f8df5d)
#6 0x00007ff71604eb66 (C:\Users_path_\LLVM\bin\ld.lld.exe+0x1f8eb66)
#7 0x00007ff71604d079 (C:\Users_path_\LLVM\bin\ld.lld.exe+0x1f8d079)
#8 0x00007ffe0fa49333 (C:\WINDOWS\System32\ucrtbase.dll+0x29333)
#9 0x00007ffe116e259d (C:\WINDOWS\System32\KERNEL32.DLL+0x1259d)
#10 0x00007ffe127caf78 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x5af78)
clang++: error: ld.lld command failed due to signal (use -v to see invocation)

The version used is LLVM Embedded Toolchain for Arm 19.1.5

I'd really like to understand if there's an issue in the way the linker script is configured for the toolchain or if it's an internal issue of the toolchain itself. Any help would be greatly appreciated, thanks.

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