bug-autoconf
[Top][All Lists]
Advanced

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

Re: cannot make gcc report undeclared builtins


From: Paul Eggert
Subject: Re: cannot make gcc report undeclared builtins
Date: Wed, 31 Jan 2024 16:46:42 -0800
User-agent: Mozilla Thunderbird

On 1/31/24 03:23, Simon Josefsson via Bug reports for autoconf wrote:

https://buildd.debian.org/status/fetch.php?pkg=libidn2&arch=loong64&ver=2.3.7-1&stamp=1706360630&raw=0


Here's the crucial part of that log:

configure:15961: checking for size_t
configure:15961: gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 
conftest.c >&5
In file included from /usr/include/linux/stat.h:5,
                 from /usr/include/loongarch64-linux-gnu/bits/statx.h:31,
                 from /usr/include/loongarch64-linux-gnu/sys/stat.h:465,
                 from conftest.c:72:
/usr/include/linux/types.h:5:10: fatal error: asm/types.h: No such file or 
directory
    5 | #include <asm/types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.


It appears that '#include <sys/stat.h>' doesn't work in some cases, and I suggest looking into why that is.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]