Build fails due a warning in lib
Kai Ruottu
kai.ruottu@wippies.com
Fri Oct 6 10:36:25 GMT 2023
Kai Ruottu kirjoitti 6.10.2023 klo 13.24:
> Vincenzo Palazzo via Gcc-help kirjoitti 5.10.2023 klo 22.27:
>> Hi list,
>>
>> I am trying to build gcc with the following command
>> ../../gittea/gcc/configure -v
>> --prefix=/home/vincenzopalazzo/build-dir/gcc
>> --enable-languages=c,c++,rust --disable-multilib
>>
>> and when I ran `make` I got the error reported below. I have the feeling
>> that I am missing something, because this code is not touched since
>> 2012 (thank git blame)
>> so I am pretty sure that I am missing something, but not sure what.
>>
>> P.S: the gcc version that I use to compile gcc is 12.3.0
>> cc1plus: some warnings being treated as errors
> You are missing to tell what is the C++ compiler you are using to
> compile the
> 'libcpp' stuff. Please don't expect a C++ compiler from 2012 or
> earlier to
> "grok" some uptodate C++ code. For the gcc-12.3.0 sources I myself would
> try gcc-7.5.0 or newer as the stage-1 compiler in the native-GCC case.
Maybe I misunderstood your writing.... Using gcc-12.3.0 to compile some
old GCC sources would also be questionable. Using some older g++ then
would succeed.
More information about the Gcc-help
mailing list