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

Can not build on Ubuntu 19.10 #198

Description

@aliher1911

I'm trying to build logdevice on ubuntu 19.10 following instructions on logdevice.io and I found a couple of issues. Any hints on what I'm doing wrong and how other ppl manage to do it? To make it behave a bit closer to Ubuntu 18 I tried to switch compilers to gcc-7/8/clang but to no avail.

  • Issue 1: when compiling thrift it fails because of underlying folly issue with SDT tracepoints. That could be worked around by disabling tracepoints with flags on fbthrift (-DFOLLY_DISABLE_SDT in build-fbthrift.cmake) or by patching folly (Changed tracepoint info section to inherit section group facebook/folly#1396).
  • Issue 2: thrift target in cmake omits -fPIC option and that breaks building shared libs, worked around with add_compile_options(-fPIC) to admin/if/CMakeLists.txt and admin/if/for_open_source.

Am I doing something wrong?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions