Skip to content

compilation errors on build #106

Open

Description

@seankwalker

on Ubuntu 18.04 LTS, using Rust nightly,

error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
  --> framework/src/shared_state/directory.rs:13:1
   |
13 | / pub struct DirectoryHeader {
14 | |     entries: AtomicUsize,
15 | |     // Used to signal that snapshotting is in progress.
16 | |     current_version: AtomicUsize,
17 | |     committed_version: AtomicUsize,
18 | |     length: usize,
19 | | }
   | |_^

Activity

  1. chenIshi commented on Apr 29, 2019

    @chenIshi

    Same problem on Ubuntu 16.04, not able to compile e2d2

    error[E0588]: packed type cannot transitively contain a [repr(align)] type
    --> framework/src/shared_state/directory.rs:13:1
    |
    13 | / pub struct DirectoryHeader {
    14 | | entries: AtomicUsize,
    15 | | // Used to signal that snapshotting is in progress.
    16 | | current_version: AtomicUsize,
    17 | | committed_version: AtomicUsize,
    18 | | length: usize,
    19 | | }
    | |_^

  2. YangZhou1997 commented on Jun 2, 2019

    @YangZhou1997

    Have anyone solved this problem? It is possible to be solved by using some old packages?

  3. seankwalker commented on Jun 2, 2019

    @seankwalker
    Author

    @YangZhou1997 I ended up using a fork (specifically this one); if you'd rather not, it'd probably be not too awful to go through the commits of a fork which builds and see how they addressed the build errors

  4. YangZhou1997 commented on Jun 3, 2019

    @YangZhou1997

    Thanks @seankwalker !

    I followed your rep and run it successfully. In contrast, there seems something wrong in the latest comcast's version. Hope to fix them and do local deployment in few days.

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