Skip to content

ld returned 5 exit status #2813

Closed
Closed
@laisan86

Description

@laisan86

When I compile my sketch by 1.6.1, the message always showed up! No matter compile only or upload mode.
ld returned

I don't know what's 'ld', so suppose you can tell me how to solve this problem. Thanks!

Activity

laisan86

laisan86 commented on Mar 24, 2015

@laisan86
Author

However, when the code has been modified, just make linkPin and pvVol become integer declarations, problem solved! Anyone tell me is this a compiler's bug or not?
normal

matthijskooijman

matthijskooijman commented on Mar 24, 2015

@matthijskooijman
Collaborator

Is there any error before the ld error? Could you try again with verbose compilation enabled, and post the full output (from the bottom window) and your full sketch code?

laisan86

laisan86 commented on Mar 25, 2015

@laisan86
Author

No! No compilation errors, I checked many times.

ffissore

ffissore commented on Mar 31, 2015

@ffissore
Contributor

Can you share the whole sketch?

self-assigned this
on Jul 1, 2015
HiTechHiTouch

HiTechHiTouch commented on Sep 9, 2016

@HiTechHiTouch

Please see Issue 2989. There are full dumps and source all zipped up, including the Windbg analysis. There should be more than enough information for someone with the LD.exe source to trace the problem.
windbg anaylsis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @matthijskooijman@cmaglie@ffissore@sandeepmistry@agdl

        Issue actions

          ld returned 5 exit status · Issue #2813 · arduino/Arduino