Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-47721

centos7 builds broken after updating to Golang 1.16

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • None
    • None
    • build
    • None
    • Untriaged
    • 1
    • Unknown
    • Build Team 2021 Sprint 16

    Description

      Neo and Master builds are broken with the following error:

       github.com/couchbase/query/shell/cbq
        /home/couchbase/.cbdepscache/exploded/x86_64/go-1.16.6/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
        /usr/bin/ld: /tmp/go-link-353466520/000008.o: unrecognized relocation (0x2a) in section `.text'
        /usr/bin/ld: final link failed: Bad value
        collect2: error: ld returned 1 exit statusĀ 

      This appears to be caused by this Golang bug: https://github.com/golang/go/issues/43996

      The solution is either to update the build agent to binutils > 2.25, or else compile Golang ourselves.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ceej Chris Hillery
              ceej Chris Hillery
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty