This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/20314] make[4]: *** [/usr/include/stdlib.h] Error 1


https://sourceware.org/bugzilla/show_bug.cgi?id=20314

--- Comment #5 from Andreas Schwab <schwab@linux-m68k.org> ---
Please update your sources.

commit 2df1b98
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Jun 9 12:02:42 2016 +0200

    quick_exit tests: Do not use C++ headers

    If C++ headers such as <cstdlib> or <thread> are used, GCC 6
    will include /usr/include/stdlib.h (instead of stdlib/stdlib.h
    in the glibc source directory), and this turns up as a make
    dependency.  An implicit rule will kick in and make will try to
    install stdlib/stdlib.h as /usr/include/stdlib.h because the
    target is out of date.

    This commit switches to <stdlib.h> and <pthread.h> instead of
    <cstdlib> and <thread>.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]