[FS#3790] Grub2: Failed to build with GCC 10.30, glibc and binutils 2.36.1
OpenWrt Bugs
openwrt-bugs at lists.openwrt.org
Thu May 13 11:38:42 PDT 2021
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#3790 - Grub2: Failed to build with GCC 10.30, glibc and binutils 2.36.1
User who did this - Stijn Tintel (stintel)
----------
The automake error can be solved by adding this to the Makefile:
PKG_FIXUP:=autoreconf
Unfortunately that triggers a bunch of other errors:
gcc -DHAVE_CONFIG_H -I. -I../../.. -I/home/stijn/Development/OpenWrt/openwrt/staging_dir/host/include -I/home/stijn/Development/OpenWrt/openwrt/staging_dir/hostpkg/include -I/home/stijn/Development/OpenWrt/openwrt/staging_dir/target-x86_64_musl/host/include -D_FILE_OFFSET_BITS=64 -O2 -I/home/stijn/Development/OpenWrt/openwrt/staging_dir/host/include -I/home/stijn/Development/OpenWrt/openwrt/staging_dir/hostpkg/include -I/home/stijn/Development/OpenWrt/openwrt/staging_dir/target-x86_64_musl/host/include -MT uniwidth/width.o -MD -MP -MF $depbase.Tpo -c -o uniwidth/width.o uniwidth/width.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from mbrtowc.c:21:
./wchar.h:593:6: error: #if with no expression
593 | # if
| ^
In file included from printf-args.h:41,
from printf-args.c:29:
./wchar.h:593:6: error: #if with no expression
593 | # if
| ^
In file included from printf-args.h:41,
from printf-parse.h:29,
from printf-parse.c:36:
./wchar.h:593:6: error: #if with no expression
593 | # if
| ^
make[7]: *** [Makefile:1646: printf-args.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[7]: *** [Makefile:1646: mbrtowc.o] Error 1
In file included from argp-fmtstream.c:31:
./wchar.h:593:6: error: #if with no expression
593 | # if
| ^
In file included from mbswidth.c:33:
./wchar.h:593:6: error: #if with no expression
593 | # if
| ^
In file included from wctype.h:57,
from wctype-h.c:4:
./wchar.h:593:6: error: #if with no expression
593 | # if
| ^
In file included from wctype.h:73,
from wctype-h.c:4:
./wctype.h:561:6: error: #if with no expression
561 | # if
| ^
make[7]: *** [Makefile:1646: wctype-h.o] Error 1
In file included from mbswidth.c:36:
./wctype.h:561:6: error: #if with no expression
561 | # if
| ^
make[7]: *** [Makefile:1646: printf-parse.o] Error 1
make[7]: *** [Makefile:1646: mbswidth.o] Error 1
In file included from printf-args.h:41,
from printf-parse.h:29,
from vasnprintf.c:83:
./wchar.h:593:6: error: #if with no expression
593 | # if
| ^
In file included from regex_internal.h:31,
from regex.c:68:
./wchar.h:593:6: error: #if with no expression
593 | # if
| ^
make[7]: *** [Makefile:1646: argp-fmtstream.o] Error 1
In file included from regex_internal.h:32,
from regex.c:68:
./wctype.h:561:6: error: #if with no expression
561 | # if
| ^
make[7]: *** [Makefile:1646: vasnprintf.o] Error 1
make[7]: *** [Makefile:1646: regex.o] Error 1
----------
More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3790#comment9652
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the openwrt-bugs
mailing list