Skip to content

Build failure in RISC-V: /deps-download/fizz/fizz/server/ServerProtocol.cpp:554:7: error: expected ')' before 'void' 554 | FOLLY_SDT(fizz, session_cache_NoTicketCipher); #161

@Ag-Cu

Description

@Ag-Cu

This is becase FOLLY_SDT macro currently not support RISC-V.

//    /usr/local/include/folly/tracing/StaticTracepoint.h

#if FOLLY_HAVE_ELF &&                                                    \
    (defined(__x86_64__) || defined(__i386__) || defined(__aarch64__) || \
     defined(__arm__)) &&                                                \
    !FOLLY_DISABLE_SDT

#define FOLLY_HAVE_SDT 1

I will push a patch to fix that issue, to enable FOLLY_SDT based on whether FOLLY_HAVE_SDT == 1.

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