Skip to content

ubuntu 22.04 host ./build --download-dependencies qemu-buildroot fails on 55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384 #215

@bob330

Description

@bob330

The error message:

In file included from /usr/include/signal.h:328,
                 from ./signal.h:52,
                 from c-stack.c:49:
c-stack.c:55:26: error: missing binary operator before token "("
   55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384
      |                          ^~~~~~~~
make[5]: *** [Makefile:1915: c-stack.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:1674: all] Error 2
make[3]: *** [Makefile:1572: all-recursive] Error 1
make[2]: *** [Makefile:1528: all] Error 2
make[1]: *** [package/pkg-generic.mk:250: /home/charlie/linux-kernel-module-cheat/out/buildroot/build/default/x86_64/build/host-m4-12
make: *** [Makefile:84: _all] Error 2
Traceback (most recent call last):
  File "/home/charlie/linux-kernel-module-cheat/./build", line 680, in <module>
    Main().cli()
  File "/home/charlie/linux-kernel-module-cheat/cli_function.py", line 267, in cli
    exit_status = self.cli_noexit(*args, **kwargs)
  File "/home/charlie/linux-kernel-module-cheat/cli_function.py", line 258, in cli_noexit
    return self._do_main(vars(args))
  File "/home/charlie/linux-kernel-module-cheat/cli_function.py", line 152, in _do_main
    return self.main(**self._get_args(kwargs))
  File "/home/charlie/linux-kernel-module-cheat/common.py", line 1555, in main
    ret = self.timed_main()
  File "/home/charlie/linux-kernel-module-cheat/./build", line 675, in timed_main
    ret = component.build(self.env['arch'])
  File "/home/charlie/linux-kernel-module-cheat/./build", line 54, in build
    return self.build_callback()
  File "/home/charlie/linux-kernel-module-cheat/./build", line 473, in f
    return lkmc.import_path.import_path_main(component_file)(**args)
  File "/home/charlie/linux-kernel-module-cheat/common.py", line 752, in __call__
    return super().__call__(**kwargs)
  File "/home/charlie/linux-kernel-module-cheat/cli_function.py", line 149, in __call__
    return self._do_main(kwargs)
  File "/home/charlie/linux-kernel-module-cheat/cli_function.py", line 152, in _do_main
    return self.main(**self._get_args(kwargs))
  File "/home/charlie/linux-kernel-module-cheat/common.py", line 1555, in main
    ret = self.timed_main()
  File "/home/charlie/linux-kernel-module-cheat/common.py", line 2074, in timed_main
    return self.build()
  File "/home/charlie/linux-kernel-module-cheat/build-buildroot", line 146, in build
    self.sh.run_cmd(
  File "/home/charlie/linux-kernel-module-cheat/shell_helpers.py", line 457, in run_cmd
    raise e
Exception: Command exited with status: 2
charlie@cod:~/linux-kernel-module-cheat$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions