Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use binutils-gold in builder image #377

Merged
merged 1 commit into from
Jun 9, 2021
Merged

Use binutils-gold in builder image #377

merged 1 commit into from
Jun 9, 2021

Commits on Jun 9, 2021

  1. Use binutils-gold in builder image

    There seems to have been a change in the dependencies that now causes
    ARMv7 builds to fail:
    
    ```
        sigs.k8s.io/kustomize/kyaml/yaml/merge3=$WORK/b742/_pkg_.a
        sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/errors=$WORK/b678/_pkg_.a
        -importcfg $WORK/b001/importcfg.link -buildmode=exe
    -buildid=YHfd11eGufJ7RVGSGz2z/H9JgY3lbjsdhQ8_r06Gz/HiYQEtSgCAIHJ7rrNYN6/YHfd11eGufJ7RVGSGz2z
    -extld=gcc $WORK/b001/_pkg_.a
        exit status 1
        -c CGO_ENABLED=1 go build -x -o source-controller main.go]: exit
    code: 2
    ```
    
    After trying various things, including downgrading Go, using
    packages from `edge`, using `gcc-go` to get a "grouped" version of
    the dependencies, it seems that using `binutils-gold` solves the issue
    and produces a working build for all our target architectures.
    
    Signed-off-by: Hidde Beydals <[email protected]>
    hiddeco committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    827509e View commit details
    Browse the repository at this point in the history