Closed TimotheusBachinger closed 5 months ago
Ok - found the issue. One should not overwrite CFLAGS
- sorry for the interruption.
https://github.com/Checkmk/gcc-toolchain/commit/3be3a14817d423b0b3ac68399b32599f45f4f8cd#diff-a6681743cb45c373cc4ca9f6dfec3a42706c06f3174471bc8e6c6ac7c51aecd3R27
First of all: Thanks for the great work of enabling an hermetic gcc toolchain in Bazel! It helped us already a lot for our understanding.
Description
At the moment we're trying to integrate your toolchain (with a bumped
gcc
version) in our build but I am already failing to compile a third party project (which we're bundling/shipping/linking against).The
configure_make
step is failing duringconfigure
with a lot of errors, where some of them seem to be toolchain related. e.g.:This looks to me as
configure
is expectinggcc
to find the system include paths by its own. But those paths are explicitly registered (as I assume the pre-compiled/relocatedgcc
won't be able to do that on his own)This may all be an issue of the external
rrdtool
project but you guys may have more insights / tips regarding that?Repro
The issue should be fully reproducible with: https://github.com/Checkmk/gcc-toolchain/commit/3be3a14817d423b0b3ac68399b32599f45f4f8cd