travis: Add some arm builds #698

pull MarcoFalke wants to merge 1 commits into bitcoin-core:master from MarcoFalke:1912-travisArm changing 1 files +18 −1
  1. MarcoFalke commented at 8:47 PM on December 5, 2019: none

    Proof of concept for #598

    Not sure which environment combinations make most sense (something with ASM?)

  2. sipa commented at 8:57 PM on December 5, 2019: contributor

    We have optimized assembly for 32-bit ARM (not enabled by default, and not 64-bit iirc). It'd be neat to test that.

  3. MarcoFalke commented at 9:15 PM on December 5, 2019: none

    ok, I set ASM=arm, but that fails:

    $ if [ -n "$BUILD" ]; then make -j2 $BUILD; fi
    
      CC       src/bench_verify.o
    
      CC       src/bench_sign.o
    
      CC       src/exhaustive_tests-tests_exhaustive.o
    
    gcc -I. -I./src -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
    
      CCAS     src/asm/field_10x26_arm.lo
    
    src/asm/field_10x26_arm.s: Assembler messages:
    
    src/asm/field_10x26_arm.s:1: Error: junk at end of line, first unrecognized character is `@'
    
    src/asm/field_10x26_arm.s:18: Error: unknown pseudo-op: `.syntax'
    
    src/asm/field_10x26_arm.s:19: Error: junk at end of line, first unrecognized character is `@'
    
    src/asm/field_10x26_arm.s:20: Error: unknown pseudo-op: `.eabi_attribute'
    
    src/asm/field_10x26_arm.s:21: Error: unknown pseudo-op: `.eabi_attribute'
    
    src/asm/field_10x26_arm.s:24: Error: junk at end of line, first unrecognized character is `@'
    
    src/asm/field_10x26_arm.s:27: Error: junk at end of line, first unrecognized character is `@'
    ...
    
    
    

    See https://travis-ci.org/MarcoFalke/secp256k1/builds/621315153

  4. elichai commented at 9:16 PM on December 5, 2019: contributor

    Tried that in the past and couldn't make the asm work. Hope you will :)

  5. real-or-random commented at 11:41 PM on December 5, 2019: contributor

    I haven't had a closer look now but this may help to figure out the right flags (even though it's for cross-compilation) #621 (comment)

  6. laanwj commented at 7:29 AM on December 6, 2019: member

    I think you get those errors when trying to compile the 32-bit ARM assembly with a 64-bit targeted assembler.

  7. MarcoFalke commented at 9:24 PM on December 9, 2019: none

    I might need to install libc from armhf. That doesn't work, so I reported the issue to travis: https://travis-ci.community/t/apt-addon-does-not-work-for-armhf-on-arm64/6374

  8. travis: Add some arm builds 15ee50a365
  9. MarcoFalke closed this on Dec 12, 2019

  10. real-or-random commented at 7:27 PM on December 12, 2019: contributor

    Did this work in the end? The travis output looks good, it was just aborted?

  11. MarcoFalke commented at 7:39 PM on December 12, 2019: none

    It failed with

    /usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/bin/ld: cannot find crti.o: No such file or directory
    

    https://travis-ci.org/MarcoFalke/secp256k1/jobs/624276878#L396

  12. real-or-random commented at 9:50 PM on December 12, 2019: contributor

    Ah yes, thanks for clarifying!

  13. MarcoFalke deleted the branch on Nov 9, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-19 07:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me