Why is this a problem in the C++ bootstrap and not the normal one ?

Toon Moene moene@knmi.nl
Thu May 12 06:32:00 GMT 2011


Toon Moene wrote:

> On 05/11/2011 02:58 PM, Toon Moene wrote:
> 
>> My C++-fu is pretty non-existent; I tried a C++ bootstrap and got this:
>>
>> http://gcc.gnu.org/ml/gcc-testresults/2011-05/msg01129.html
>>
>> Why is that a problem in the C++ bootstrap and not the normal one ?
> 
> For completeness, the message is generated by the attached script, run 
> by cron at 18:10 UTC.
> 
> The build is a native one on x86_64-unknown-linux-gnu.

I thought that adding --disable-werror would bring us further, but as it 
turns out - not by much:

http://gcc.gnu.org/ml/gcc-testresults/2011-05/msg01224.html says:

/home/toon/compilers/obj-t/./prev-gcc/g++ 
-B/home/toon/compilers/obj-t/./prev-gcc/ 
-B/tmp/c++/x86_64-unknown-linux-gnu/bin/ -nostdinc++ 
-B/home/toon/compilers/obj-t/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs 
-I/home/toon/compilers/obj-t/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu 
-I/home/toon/compilers/obj-t/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include 
-I/home/toon/compilers/gcc/libstdc++-v3/libsupc++ 
-L/home/toon/compilers/obj-t/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs 
-c  -g -O2 -gtoggle -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual 
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros 
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -Iobjc 
-I../../gcc/gcc -I../../gcc/gcc/objc -I../../gcc/gcc/../include 
-I../../gcc/gcc/../libcpp/include  -I../../gcc/gcc/../libdecnumber 
-I../../gcc/gcc/../libdecnumber/bid -I../libdecnumber 
../../gcc/gcc/objc/objc-next-runtime-abi-02.c -o 
objc/objc-next-runtime-abi-02.o
../../gcc/gcc/objc/objc-next-runtime-abi-02.c: In function 'const char* 
newabi_append_ro(const char*)':
../../gcc/gcc/objc/objc-next-runtime-abi-02.c:1885:29: error: invalid 
conversion from 'const char*' to 'char*' [-fpermissive]

I have to see if it is useful to keep on testing the C++ bootstrap 
daily, because apparently, some bitrot already set in ...

-- 
Toon Moene, KNMI (Weer/Onderzoek), The Netherlands
Phone: +31 30 2206443; e-mail: moene@knmi.nl



More information about the Gcc mailing list