New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#4073 - make kernel_menuconfig fails at m4 1.4.18 in Ubuntu 21.10 because of SIGSTKSZ #9055
Comments
yarrick: I get the same failure (using Fedora 35) Ah, I get this only because I used a branch based on older code. master already has newer m4 |
I'm hitting this trying to compile older OpenWRT versions (18.06) on Ubuntu 21.10. Is there a simple workaround? |
I think the workaround is to patch c-stack.c with the above patchfile. |
Ah, I wasn't sure whether it was the host or OpenWRT that needed patching. I actually did something else and backported the current version of m4. |
(Reference)[openwrt#9055]
Hi, I am trying to compile the rpi-buildroot using Ubuntu 22.04.01. Where should HAVE_LIBSIGSEGV be defined? Should it be defined ?
|
I can overcome the issue by using the mentioned patch keyfour@2722d51
And after removing build_dir and staging_dir, the issue is gone |
See also: https://stackoverflow.com/a/69722830/4561887 Attempting to update the If anyone is stumbling here via Google search (like me) and is using Buildroot for an embedded-linux board, simply grab the latest |
Fixed in aa2d61e. |
dreamlayers:
I'm attempting to build openwrt 21.02 from git for a Buffalo WZR-600DHP on x86_64 Ubuntu 21.10. make kernel_menuconfig failed, and after running it with increased verbosity I see:
That's a failure building m4 1.4.18. It is discussed at https://lists.gnu.org/archive/html/bug-m4/2021-03/msg00000.html
The problem is that m4 is expecting SIGSTKSZ to be a compile time constant, but instead in
/usr/include/x86_64-linux-gnu/bits/sigstksz.h it is: # define SIGSTKSZ sysconf (_SC_SIGSTKSZ)
The m4 package in Ubuntu 21.10 is actually the same version, and the source package has a patch for this in https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/m4/1.4.18-5ubuntu1/m4_1.4.18-5ubuntu1.debian.tar.xz at /debian/patches/04-fix-sigstksz.patch. I am attaching that patch here.
The text was updated successfully, but these errors were encountered: