Email or username:

Password:

Forgot your password?
Ludovic Courtès

GCC 5.5.0 (2017) cannot be built out-of-the-box by g++/GCC 11.3.0 (2022) because g++ 11.x defaults to C++17, whereas GCC 5.5 expects C++11, which apparently has incompatible features/semantics in some places.

Thanks again to the bright minds who pushed for C++ in GCC (and then left).

9 comments
Sevan Janiyan

@civodul is it not possible to pass -std=gnu++11 to g++ if it's v11.x?

Ludovic Courtès

@sevan It is. I’m trying to figure out how to do that. :-)

Sevan Janiyan

@civodul pass it to configure via CFLAGS or CXXFLAGS if you were doing it by hand.

Sevan Janiyan

@gugurumbe @civodul I guess in this scenario you have a GCC 5.x release archive uncompressed and you're just trying to build it with new GCC, the release archive is already bootstrapped with autoconf so you're not regenerating the build infra needing libtool to be re-run?

Vivien the Trumpeting Elephant

@sevan I don’t know if GCC 5.x uses libtool, but if it does, then it’s a compile-time, not bootstrap, thing.

Ludovic Courtès

@mjw That’s the idea but there are complications in the GCC packaging in Guix (it’ll soon be time for Spring cleanup!).

Go Up