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

Jim Gifford clfs at jg555.com
Sun Jul 26 23:54:30 PDT 2009


john Schluter wrote:
> 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!
> _______________________________________________
> Clfs-dev mailing list
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
Here's the consolidated patch that fixes that issue, once testing is 
done, parts of the patch will be added to the book.
http://svn.cross-lfs.org/svn/repos/patches/binutils/binutils-2.19.1-fixes-2.patch




More information about the Clfs-dev mailing list