On 8/3/19 11:35 AM, LFS Trac wrote:
#4508: glibc-2.30
--------------------+-----------------------
Reporter: renodr | Owner: lfs-book
Type: task | Status: closed
Priority: high | Milestone: 9.0
Component: Book | Version: SVN
Severity: normal | Resolution: fixed
Keywords: |
--------------------+-----------------------
Comment (by xry111):
We now need to fix an issue:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91085
We can remove `/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-
fixed/bits/statx.h` after installing gcc.
Taking a look at the link:
-#if __glibc_has_include ("linux/stat.h")
+#if __glibc_has_include ("__linux__/stat.h")
But I don't see any definition of __linux__ in /usr/include with grep or
find.
Evidently __linux__ is a pre-defined macro, but that would only be for
something like:
#if defined(__linux__)
From a google search I found
https://lists.debian.org/debian-devel/2001/01/msg00979.html
$ touch /tmp/x.c
$ gcc -E -dM -c /tmp/x.c
...
#define __linux__ 1
...
The patch does not make any sense to me.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page