Skip to content

Build fails due glibc >glibc-2.33 (Ubuntu 21), Testing solutions #12

Description

@deividAlfa

It no longer builds, fresh install:

>>> host-m4 1.4.18 Building
Making all in .
Making all in examples
Making all in lib
  GEN      alloca.h
  GEN      configmake.h
  GEN      arg-nonnull.h
  GEN      warn-on-use.h
  GEN      c++defs.h
  GEN      limits.h
  GEN      unused-parameter.h
  GEN      sys/types.h
  GEN      fcntl.h
  GEN      langinfo.h
  GEN      locale.h
  GEN      spawn.h
  GEN      signal.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      math.h
  GEN      string.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      time.h
  GEN      wchar.h
  GEN      unistd.h
  GEN      wctype.h
  GEN      sys/wait.h
  CC       gl_avltree_oset.o
  CC       binary-io.o
  CC       c-ctype.o
  CC       c-stack.o
  CC       c-strcasecmp.o
  CC       c-strncasecmp.o
  CC       cloexec.o
  CC       clean-temp.o
  CC       close-stream.o
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
      |                          ^~~~~~~~
  CC       closein.o
  CC       closeout.o
c-stack.c:134:8: error: variably modified 'buffer' at file scope
  134 |   char buffer[SIGSTKSZ];
      |        ^~~~~~
make[5]: *** [Makefile:1915: c-stack.o] Error 1

It seems glibc library changed in 2021 causing a lot of issues like this, this, this and so on.

Here they talk about this ubuntu patch for m4 1.4.18 (debian\patches\04-fix-sigstksz.patch):

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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