Skip to content

[lld] Errors about duplicate gcov symbols after 8f91f38 #48570

@llvmbot

Description

@llvmbot
Bugzilla Link 49226
Resolution FIXED
Resolved on Jun 24, 2021 02:57
Version unspecified
OS Windows NT
Blocks #48661
Reporter LLVM Bugzilla Contributor
CC @abpostelnicu,@MaskRay,@marco-c,@glandium,@nikic,@smithp35,@tstellar

Extended Description

https://treeherder.mozilla.org/logviewer?job_id=330246994&repo=try&lineNumber=59045

When linking rust code compiled with coverage enabled, we see error: duplicate symbol: __gcov_dump and similar.

Bisection points to 8f91f38 https://reviews.llvm.org/D86142 which is odd because at first glance I wouldn't think that patch should affect non-fortran.

Should those gcov symbols have been considered mergeable?

Our build setup is pretty complex and I'm still trying to understand the failure better, but I wanted to report this as early as possible given the 12.0.0 timeline. Right now I only have the CI logs but I'll try reproducing it locally. If there are any specific pieces of information that I should try to extract to help people debug this, please let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions