[Clfs-dev] SVN-20090723-x86_64-Pure64 chapter 10.14. Binutils-2.19.1 make check ends in error

john Schluter dev03clfs at yyw.se
Sun Jul 26 23:44:51 PDT 2009


Martin Ward wrote:
> John S wrote:
>> Now "make check" ends in error.
>>
>> ====================================================================
>> ..
>> ...
>> ....
>>         === ld Summary ===
>>
>> # of expected passes        451
>> # of expected failures        57
>> /sources/binutils-build/ld/ld-new 2.19.1
>>
>> make[4]: Leaving directory `/sources/binutils-build/ld'
>> make[3]: Leaving directory `/sources/binutils-build/ld'
>> make[2]: Leaving directory `/sources/binutils-build/ld'
>> make[2]: Entering directory `/sources/binutils-build/libiberty'
>> make[3]: Entering directory 
>> `/sources/binutils-build/libiberty/testsuite'
>> gcc -isystem /usr/include -DHAVE_CONFIG_H -g -O2 -I.. 
>> -I../../../binutils-2.19.1/libiberty/testsuite/../../include  -o 
>> test-demangle \
>>         ../../../binutils-2.19.1/libiberty/testsuite/test-demangle.c 
>> ../libiberty.a
>> ../../../binutils-2.19.1/libiberty/testsuite/test-demangle.c:49: 
>> error: conflicting types for 'getline'
>> /usr/include/stdio.h:651: note: previous declaration of 'getline' was 
>> here
>> make[3]: *** [test-demangle] Error 1
>> make[3]: Leaving directory `/sources/binutils-build/libiberty/testsuite'
>> make[2]: *** [check-subdir] Error 2
>> make[2]: Leaving directory `/sources/binutils-build/libiberty'
>> make[1]: *** [check-libiberty] Error 2
>> make[1]: Leaving directory `/sources/binutils-build'
>> make: *** [do-check] Error 2
>> ====================================================================
>>
>> conflicting types ? Is it the test or something I did (or didn't) do 
>> earlier?
>> Thanks again!
>>
>> -- /John S
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Clfs-dev mailing list
>> Clfs-dev at lists.cross-lfs.org
>> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
>>   
> no it's a genuine error
>
> try
>
> sed -i -e 's/getline/get_line/' libiberty/testsuite/test-demangle.c
>
> martin
> _______________________________________________
> Clfs-dev mailing list
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
>
>
Ok, it works!
In other words, the bug was in the test?
thanks!



More information about the Clfs-dev mailing list