Skip to content

spack install fails while linking #88

@moritzgubler

Description

@moritzgubler

Hi
I was trying to install liflame using spack on centos 7 using: spack install amdlibflame@3.1 %aocc@3.2.0. This failed while linking with the error:

3886 ld.gold: --push-state: unknown option
3887 ld.gold: use the --help option for usage information
3888 collect2: error: ld returned 1 exit status
3889 make[1]: *** [Makefile:12: generate] Error 1
3890 make[1]: Leaving directory '/scratch/gubmor00/spack-stage/spack-stage-amdlibflame-3.1blxdx37qerueegbcdtxr5l3qt3cyvwbg/spack-src/src/aocl_dtl'
3891 make: *** [Makefile:579: src/aocl_dtl/libaocldtl.a] Error 2
3892 make: *** Waiting for unfinished jobs....

I used GNU ld version 2.27-44.base.el7_9.1.
After upgrading to GNU ld 2.36.1 the problem went away. Is the problem caused by my initial linker being too old?

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