Giter Site home page Giter Site logo

Comments (4)

sjwo avatar sjwo commented on June 10, 2024 3

Seems potentially related to recent thread in the Bazel getstarted slack: https://bazelbuild.slack.com/archives/CD42R4HJL/p1702485704389129. If it's the same issue, then you could try using Bazel 6.4, or specifying the --noincompatible_sandbox_hermetic_tmp build option with 7.0.0; both of these were successful workarounds for me.

from examples.

irshadcc avatar irshadcc commented on June 10, 2024 2

Can this option be made default or can this be mentioned in the cpp tutorial https://bazel.build/start/cpp

bazelbuild/bazel#19915

from examples.

tarjintor avatar tarjintor commented on June 10, 2024

I got the same problem,I dig somehow,find it seems the external/gcc_toolchain_x86_64/bin/gcc script parse the EXECROOT not correct,it goes to /tmp,but it seems you need to take bazel-working-directory/_main as your EXECROOT
the dir/libs all you need is all here
I am new to use bazel, not sure

from examples.

vangyzen avatar vangyzen commented on June 10, 2024

This issue is a significant impediment to new users trying to use the cpp-tutorial to learn bazel. That workflow is completely broken on Ubuntu 20.04 and openSUSE Leap 15.5. I spent two full days finding this issue, mostly because I assumed I was doing something wrong.

from examples.

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.