Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

64 bit: Initial support for Linux x86-64 native. #19890

Closed
wants to merge 3 commits into from

Commits on Jan 19, 2024

  1. tests: 64 bit compatibility

    Fixed compilation errors. Mostly DEBUG/printf formatting and void pointer casting.
    
    Other changes are:
    * net/gnrc_sixlowpan_frag_*: Generalized packet size calculation
    * cpu/native_backtrace: Reduced required backtrace size to 3 for 64-bit
    * periph/flashpage: Simplified test
    * unittests/tests-pktbuf: Generalized alignment
    * sys/architecture: Extended test for 64-bit
    fzi-haxel committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    b324c54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a26b1e7 View commit details
    Browse the repository at this point in the history
  3. native: 64 bit compatibility and Linux/x86_64 support for the native

    Initial version to test 64 bit compatibility.
    
    Instead of a separate board, 64 bit for Linux/x86_64 is enabled by setting the environment variable `NATIVE_64BIT=y` and compiling as usual.
    While I personally prefer a separate `native64` board, this ensures that all tests run with the same configuration as the 32 bit version.
    A separate board would require a major refactoring of many tests, which often have special behavior for the native board,
    and I didn't want to increase the size of an already large pull request.
    
    Not currently implemented:
    * Architectures other than x86_64 or operating systems other than Linux
        * No FreeBSD support
        * No Aarch support
    * Rust support for x86_64
    fzi-haxel committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    542abe7 View commit details
    Browse the repository at this point in the history