tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building with HAVE_GCC=48 fails on Ubuntu



On Sat, Mar 08, 2014 at 22:15:25 +0400, Valery Ushakov wrote:

> When building external/gpl3/gcc/usr.bin/backend we run configure to
> generate auto-build.h for gengenrtl.  The problem is that all
> configuration tests fail with:
> 
> In file included from 
> /home/uwe/work/netbsd/ro/src/external/gpl3/gcc/dist/gcc/system.h:647:0,
>                  from conftest.c:117:
> /home/uwe/work/netbsd/ro/src/external/gpl3/gcc/dist/gcc/../include/libiberty.h:110:36:
>  error: new declaration 'char* basename(const char*)'
> /usr/include/string.h:603:28: error: ambiguates old declaration 'const char* 
> basename(const char*)'
> 
> and generated auto-build.h is bogus, causing more errors later when
> gengenrtl is compiled.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59217 might be relevant.

-uwe


Home | Main Index | Thread Index | Old Index