Skip to content

gcc/ld errors when compiling with EESSI modules #26

@bedroge

Description

@bedroge

I was trying to compile some C code, and ran into the following issues:

$ gcc hello.c -o hello
/usr/bin/ld.gold: --push-state: unknown option
/usr/bin/ld.gold: use the --help option for usage information
collect2: error: ld returned 1 exit status

$ which -a ld.gold
/usr/bin/ld.gold
/bin/ld.gold

We somehow need to instruct gcc to use the one from the compatibility layer.

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