Skip to content

"ld: unknown option: -plugin" when cross-compiling Linux -> OSX as of 1.27.0 #52657

@yrashk

Description

@yrashk

I have been previously cross-compiling my project using osxcross (sit-fyi/sit@8d9c368#diff-beb069f53b3284f57ea9b6fc9ffcad99) and it was working fine until I switched it to 1.27.2 (https://github.com/sit-fyi/sit/blob/5cf5059326f910f56664286dfe4ff63357cd5026/build-tools/cross-compile-osx/Dockerfile)

It now fails to compile with ld: unknown option: -plugin. I've tried 1.27.0 and it produces the same error.

Not sure if this would be considered a regression, but in case if it would, I wanted to raise attention to it. Also, is there any way to work around this?

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