GithubHelp home page GithubHelp logo

Comments (7)

redsun82 avatar redsun82 commented on June 29, 2024

Also, running with --@rules_go//go/config:pure is a workaround, but it's not ideal as I have the feeling it then runs quite slower.

from bazel-gazelle.

redsun82 avatar redsun82 commented on June 29, 2024

See github/codeql@b0758fd for a workaround based on using the 1.21.9 go toolchain just for gazelle on macOS.

from bazel-gazelle.

aaronsky avatar aaronsky commented on June 29, 2024

I've been running into this for weeks now as well. I'm in a codebase where we must include apple_support in order to drive rules_apple, but also have some custom Gazelle functionality to support other kinds of programs. We are stuck on Go 1.21 until this is corrected, workarounds notwithstanding.

The only research I've managed to do with my limited knowledge of rules_go and the Go linker is that the output from --subcommands between Go 1.21 and 1.22 is identical. As far as I know, there is more behavior within the builder wrapper that occurs before or as part of the linker being invoked, so this is probably not very illuminating.

from bazel-gazelle.

fmeum avatar fmeum commented on June 29, 2024

Which version of Xcode are you on? I think I saw similar error messages on Slack and this was resolved by just updating to the latest version.

from bazel-gazelle.

aaronsky avatar aaronsky commented on June 29, 2024

I am on the latest stable release, Xcode 15.3. Using --xcode_version_config to aid in discovery.

Which Slack messages are you referring to? I am here via this.

from bazel-gazelle.

ewhauser avatar ewhauser commented on June 29, 2024

Seems like this may be an upstream problem: uber/hermetic_cc_toolchain#171

from bazel-gazelle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.