Skip to content

Build fails on Ubuntu ARM running in Parallels on Mac M1 #21

@EmbeddedSam

Description

@EmbeddedSam

error: size of array ‘altStackMem’ is not an integral constant-expression

 6631 |     char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
      |                                             ^~~~~~~~
make[2]: *** [CMakeFiles/run_tests.dir/build.make:76: CMakeFiles/run_tests.dir/catch/test_main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/run_tests.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

I deleted the -werror -m32 from the CMakeLists.txt to avoid the error mentioned in #15 but now this one. Any idea on how to fix please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions