You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can ATS be build on platforms like ARM, PPC, MIPS ? #7754
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.
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
@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.
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.
Activity
WolfgangBai commentedon Apr 28, 2021
I only test ARM, It is Ok.
Kullu14 commentedon Apr 28, 2021
Did you have to do any modifications to make the build of trafficserver work on ARM platforms?
WolfgangBai commentedon Apr 28, 2021
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.
Kullu14 commentedon Apr 28, 2021
I did disable luajit. Have cross-compiled trafficserver for ARM platform ?
WolfgangBai commentedon Apr 28, 2021
I only compile in ARM machine.
Kullu14 commentedon Apr 29, 2021
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
WolfgangBai commentedon Apr 29, 2021
The problem has nothing to do with ATS,You can see the link below.
https://askubuntu.com/questions/648555/bash-program-cannot-execute-binary-file-exec-format-error
zwoop commentedon Apr 30, 2021
It has been possible to build and run on 64-bit ARM in the past. I haven't tried lately.
Kullu14 commentedon Apr 30, 2021
@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.
Kullu14 commentedon Apr 30, 2021
@zwoop have you cross-compiled it or ran it on ARM machine only
bryancall commentedon May 3, 2021
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.