Coder Social home page Coder Social logo

Comments (7)

calebmarchent avatar calebmarchent commented on August 17, 2024

Thanks for raising the issue, Simon. I can confirm this is a valid issue, needing to be fixed. I would propose that perhaps it is easier to move to using a more modern version of Fedora; coming pre-packaged with a newer cmake.

I would be tempted to split-off the _boost_py_component to a separate issue?

If you have solutions to the issue(s) you have raised, I would welcome your contribution.

from logdevice.

skindstrom avatar skindstrom commented on August 17, 2024

I'm all for upgrading the Fedora version. Building on Fedora 28 results in an error, where folly redefines a struct from jemalloc. I could try to look into this at some later time.

/logdevice/external/folly/folly/experimental/JemallocHugePageAllocator.cpp:52:8: error: redefinition of 'struct extent_hooks_s'
 struct extent_hooks_s {
        ^~~~~~~~~~~~~~
In file included from /logdevice/external/folly/folly/memory/Malloc.h:32,
                 from /logdevice/external/folly/folly/experimental/JemallocHugePageAllocator.h:22,
                 from /logdevice/external/folly/folly/experimental/JemallocHugePageAllocator.cpp:17:
/usr/include/jemalloc/jemalloc.h:339:8: note: previous definition of 'struct extent_hooks_s'
 struct extent_hooks_s {
        ^~~~~~~~~~~~~~
make[5]: *** [CMakeFiles/folly_base.dir/build.make:882: CMakeFiles/folly_base.dir/folly/experimental/JemallocHugePageAllocator.cpp.o] Error 1
make[5]: *** Waiting for unfinished jobs....

If you feel as if the workaround in PR #32 is not wanted, I would suggest we set the required cmake version to 3.10 to fail early and verbosely, here:
https://github.com/facebookincubator/LogDevice/blob/2c0d9d5d9a38dfc5e60886acabc0a036eb43031e/logdevice/CMakeLists.txt#L7

from logdevice.

calebmarchent avatar calebmarchent commented on August 17, 2024

Update: Fedora 25 is out of support now, so no longer listed in popular package indices etc.
I have started looking into Fedora28 support today; the firstly by creating a LXC boxfile to work within: https://app.vagrantup.com/calebmarchent/boxes/fedora28-64-lxc; Will provide further updates when I've had a chance to look at the specific issues.

from logdevice.

calebmarchent avatar calebmarchent commented on August 17, 2024

I can confirm that I also see the jemalloc compile issue with the folly build on Fedora 28;
This would be the same issue as: facebook/folly#943

from logdevice.

calebmarchent avatar calebmarchent commented on August 17, 2024

I have tested the build with Fedora 27; it is successful (save the python boost detection issue #35; so while the folly team are already onto the jemalloc issue; I suggest we go for Fedora27 support.

from logdevice.

mickvav avatar mickvav commented on August 17, 2024

Fedora 29 builds fine (with same hackaround, I believe) - see #55

from logdevice.

calebmarchent avatar calebmarchent commented on August 17, 2024

Both the original reported issues have been addressed, many thanks @mickvav and @skindstrom ... the remaining work to support Fedora is: mstch for Fedora; and introduction of some CI job to keep it working.

from logdevice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.