Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

can not compile opentracing in ubuntu. because of SIGSTKSZ #147

@springile

Description

@springile

Hi

I try to compile opentracing in ubuntu,( from image of aflplusplus/aflplusplus)

I got this error:

In file included from /usr/include/signal.h:328,
from /tmp/opentracing-cpp-1.6.0/3rd_party/include/opentracing/catch2/catch.hpp:6456,
from /tmp/opentracing-cpp-1.6.0/mocktracer/test/tracer_test.cpp:9:
/tmp/opentracing-cpp-1.6.0/3rd_party/include/opentracing/catch2/catch.hpp:6631:45: error: size of array 'altStackMem' is not an integral constant-expression
6631 | char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
| ^~~~~~~~
make[2]: *** [mocktracer/test/CMakeFiles/mocktracer_tracer_test.dir/build.make:76: mocktracer/test/CMakeFiles/mocktracer_tracer_test.dir/tracer_test.cpp.o] E rror 1
make[1]: *** [CMakeFiles/Makefile2:1067: mocktracer/test/CMakeFiles/mocktracer_tracer_test.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

It seems glibc does not support SIGSTKSZ any more.

Do you have a fix for this ?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions