Arm ASM builds are broken #931

issue gmaxwell opened this issue on May 2, 2021
  1. gmaxwell commented at 7:50 PM on May 2, 2021: contributor

    Gen_context tries to use ASM but doesn't get linked against it:

    gcc -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -W -g  gen_context.o -o gen_context
    gen_context.o: In function `secp256k1_fe_mul':
    /home/gmaxwell/secp256k1/src/field_10x26_impl.h:1078: undefined reference to `secp256k1_fe_mul_inner'
    gen_context.o: In function `secp256k1_fe_sqr':
    /home/gmaxwell/secp256k1/src/field_10x26_impl.h:1091: undefined reference to `secp256k1_fe_sqr_inner'
    /home/gmaxwell/secp256k1/src/field_10x26_impl.h:1091: undefined reference to `secp256k1_fe_sqr_inner'
    /home/gmaxwell/secp256k1/src/field_10x26_impl.h:1091: undefined reference to `secp256k1_fe_sqr_inner'
    /home/gmaxwell/secp256k1/src/field_10x26_impl.h:1091: undefined reference to `secp256k1_fe_sqr_inner'
    ...
    

    Reverting a3aa2628c7b675814157556d774872755c9f1aba fixes it.

  2. sipa commented at 8:17 PM on May 2, 2021: contributor

    Related: going to work on adding ARM32/ARM64 CI in #930 so that these things don't silently break.

  3. real-or-random referenced this in commit 99f47c20ec on May 3, 2021
  4. sipa closed this on May 4, 2021

  5. dderjoel referenced this in commit bdba2ce45d on May 23, 2023

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-05-19 06:52 UTC