Skip to content

Bump gcc version and sysroot#1

Open
TimotheusBachinger wants to merge 3 commits intomainfrom
checkmk_adopts
Open

Bump gcc version and sysroot#1
TimotheusBachinger wants to merge 3 commits intomainfrom
checkmk_adopts

Conversation

@TimotheusBachinger
Copy link
Collaborator

  • Bump bazel version to 7.1.1
  • Switch toolchain to gcc 13.2.0 + glibc 2.22

Use: bazel build --sandbox_add_mount_pair=/tmp  --sandbox_debug --verbose_failures --platforms=//platforms:x86_64_linux //examples/rrdtool:rrdtool
"--disable-tcl",
"--with-systemdsystemunitdir=no",
# https://github.com/bazelbuild/rules_foreign_cc/issues/239
"CFLAGS='-Dredacted=\"redacted\"'",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that doesn't append but replaces the CFLAGS.
However, Bazel passes the include directories to the compiler with CFLAGS=-isystem .... Replacing CFLAGS means no header is found and configure fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants