Skip to content

Can ATS be build on platforms like ARM, PPC, MIPS ? #7754

Closed

Description

@Kullu14

Is it possible to build ATS on other platforms like ARM, PPC, MIPS ? Has anyone tried it yet ?

Activity

  1. WolfgangBai commented on Apr 28, 2021

    @WolfgangBai
    Contributor

    I only test ARM, It is Ok.

  2. Kullu14 commented on Apr 28, 2021

    @Kullu14
    Author

    Did you have to do any modifications to make the build of trafficserver work on ARM platforms?

  3. WolfgangBai commented on Apr 28, 2021

    @WolfgangBai
    Contributor

    1.luajit can't compile, I disable it by --disable-luajit.
    2. machine page size may have problem. it need Memory alignment. you can search STORE_BLOCK_SIZE in ATS code.it may fix in latest code.

  4. Kullu14 commented on Apr 28, 2021

    @Kullu14
    Author

    I did disable luajit. Have cross-compiled trafficserver for ARM platform ?

  5. WolfgangBai commented on Apr 28, 2021

    @WolfgangBai
    Contributor

    I only compile in ARM machine.

  6. Kullu14 commented on Apr 29, 2021

    @Kullu14
    Author

    Okay Thank you for your help. I tried to cross-compiled ARM on x86-64 machine
    I get following error
    /bin/sh: ./CompileParseRules: cannot execute binary file: Exec format error

  7. WolfgangBai commented on Apr 29, 2021

    @WolfgangBai
    Contributor
  8. zwoop commented on Apr 30, 2021

    @zwoop
    Contributor

    It has been possible to build and run on 64-bit ARM in the past. I haven't tried lately.

  9. Kullu14 commented on Apr 30, 2021

    @Kullu14
    Author

    @WolfgangBai it is trying to execute ./CompileParseRules to detect the leaks by executing following command
    "ParseRulesCType: CompileParseRules
    LSAN_OPTIONS='detect_leaks=0' ./CompileParseRules" while cross-compiling trafficserver
    this is build using aarch64 crosscompiler n trying to execute in host Machine (which x86_64) for me that why getting above error.

  10. Kullu14 commented on Apr 30, 2021

    @Kullu14
    Author

    @zwoop have you cross-compiled it or ran it on ARM machine only

  11. bryancall commented on May 3, 2021

    @bryancall
    Contributor

    Talking to the community and we would need an owner for MIPS and PPC. We are interested in supporting ARM and M1 chips going forward and are interested in setting up CI to compile on those platforms.

    Please reopen if you want to support MIPS or PPC.

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