[patch]: Fix Bug 65038 - [regression 5] Unable to find ftw.h for libgcov-util.c

H.J. Lu hjl.tools@gmail.com
Fri Feb 27 14:13:00 GMT 2015


On Thu, Feb 26, 2015 at 6:49 AM, Kai Tietz <ktietz70@googlemail.com> wrote:
> Hi,
>
> This is the remaining fix for re-enabling native boostrap for
> Windows-variant of gcc without disabling -Werror for libgcc.
>
> ChangeLog
>
> 2015-02-26  Kai Tietz  <ktietz@redhat.com>
>
>     PR target/65038
>     * config.in: Regenerated.
>     * configure: Likewise.
>     * configure.ac (AC_HEADER_STDC): Add explicit.
>     (AC_CHECK_HEADERS): Check for default headers
>     plus for ftw.h one.
>     * libgcov-util.c (gcov_read_profile_dir): Disable use
>     of ftw-function, if header not found.
>     (ftw_read_file): Don't translate if ftw header isn't
>     present.
>
> Regression-tested for x86_64-unknown-linux-gnu.  Bootstrapped for
> i686-pc-mingw32.
> I will apply soon, if there are no objections.

I believe it breaks bootstrap on Linux/x86:

https://gcc.gnu.org/ml/gcc-regression/2015-02/msg00580.html

-- 
H.J.



More information about the Gcc-patches mailing list