Skip to content

osx13-x64-release-tar fails to build OpenSSL #4155

Closed

Description

@targos

https://ci-release.nodejs.org/job/iojs+release/11266/nodes=osx13-x64-release-tar/console

08:01:34   cc -o /Users/admin/build/ws/out/Release/obj.target/openssl/deps/openssl/openssl/crypto/bn/bn_add.o ../deps/openssl/openssl/crypto/bn/bn_add.c '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_FILE_OFFSET_BITS=64' '-DNODE_OPENSSL_CONF_NAME=nodejs_conf' '-DICU_NO_USER_DATA_OVERRIDE' '-D_DARWIN_USE_64_BIT_INODE=1' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DOPENSSL_NO_HW' '-DOPENSSL_API_COMPAT=0x10100001L' '-DSTATIC_LEGACY' '-DNDEBUG' '-DL_ENDIAN' '-DOPENSSL_BUILDING_OPENSSL' '-DAES_ASM' '-DBSAES_ASM' '-DCMLL_ASM' '-DECP_NISTZ256_ASM' '-DGHASH_ASM' '-DKECCAK1600_ASM' '-DMD5_ASM' '-DOPENSSL_BN_ASM_GF2m' '-DOPENSSL_BN_ASM_MONT' '-DOPENSSL_BN_ASM_MONT5' '-DOPENSSL_CPUID_OBJ' '-DOPENSSL_IA32_SSE2' '-DPADLOCK_ASM' '-DPOLY1305_ASM' '-DRC4_ASM' '-DSHA1_ASM' '-DSHA256_ASM' '-DSHA512_ASM' '-DVPAES_ASM' '-DWHIRLPOOL_ASM' '-DX25519_ASM' '-DOPENSSL_PIC' '-DMODULESDIR="/Users/admin/build/ws/out/$(BUILDTYPE)/obj.target/deps/openssl/lib/openssl-modules"' '-DOPENSSLDIR="/System/Library/OpenSSL/"' '-DENGINESDIR="/dev/null"' -I../deps/openssl/openssl -I../deps/openssl/openssl/include -I../deps/openssl/openssl/crypto -I../deps/openssl/openssl/crypto/include -I../deps/openssl/openssl/crypto/modes -I../deps/openssl/openssl/crypto/ec/curve448 -I../deps/openssl/openssl/crypto/ec/curve448/arch_32 -I../deps/openssl/openssl/providers/common/include -I../deps/openssl/openssl/providers/fips/include -I../deps/openssl/openssl/providers/implementations/include -I../deps/openssl/config -I../deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2 -I../deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include -I../deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/crypto -I../deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/crypto/include/internal -I../deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/providers/common/include  -O3 -gdwarf-2 -fno-strict-aliasing -mmacosx-version-min=13.5 -Wall -Wendif-labels -W -Wno-unused-parameter -Wno-missing-field-initializers  -MMD -MF /Users/admin/build/ws/out/Release/.deps//Users/admin/build/ws/out/Release/obj.target/openssl/deps/openssl/openssl/crypto/bn/bn_add.o.d.raw   -c
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:119:9: error: invalid output constraint '=a' in asm
08:01:34   119 |         mul_add(rp[0], ap[0], w, c1);
08:01:34       |         ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:77:19: note: expanded from macro 'mul_add'
08:01:34    77 |                 : "=a"(low),"=d"(high)  \
08:01:34       |                   ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:119:9: error: invalid output constraint '+d' in asm
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:81:31: note: expanded from macro 'mul_add'
08:01:34    81 |                 : "+r"(carry),"+d"(high)\
08:01:34       |                               ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:119:9: error: invalid output constraint '+d' in asm
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:85:27: note: expanded from macro 'mul_add'
08:01:34    85 |                 : "+m"(r),"+d"(high)    \
08:01:34       |                           ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:120:9: error: invalid output constraint '=a' in asm
08:01:34   120 |         mul_add(rp[1], ap[1], w, c1);
08:01:34       |         ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:77:19: note: expanded from macro 'mul_add'
08:01:34    77 |                 : "=a"(low),"=d"(high)  \
08:01:34       |                   ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:120:9: error: invalid output constraint '+d' in asm
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:81:31: note: expanded from macro 'mul_add'
08:01:34    81 |                 : "+r"(carry),"+d"(high)\
08:01:34       |                               ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:120:9: error: invalid output constraint '+d' in asm
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:85:27: note: expanded from macro 'mul_add'
08:01:34    85 |                 : "+m"(r),"+d"(high)    \
08:01:34       |                           ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:121:9: error: invalid output constraint '=a' in asm
08:01:34   121 |         mul_add(rp[2], ap[2], w, c1);
08:01:34       |         ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:77:19: note: expanded from macro 'mul_add'
08:01:34    77 |                 : "=a"(low),"=d"(high)  \
08:01:34       |                   ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:121:9: error: invalid output constraint '+d' in asm
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:81:31: note: expanded from macro 'mul_add'
08:01:34    81 |                 : "+r"(carry),"+d"(high)\
08:01:34       |                               ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:121:9: error: invalid output constraint '+d' in asm
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:85:27: note: expanded from macro 'mul_add'
08:01:34    85 |                 : "+m"(r),"+d"(high)    \
08:01:34       |                           ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:122:9: error: invalid output constraint '=a' in asm
08:01:34   122 |         mul_add(rp[3], ap[3], w, c1);
08:01:34       |         ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:77:19: note: expanded from macro 'mul_add'
08:01:34    77 |                 : "=a"(low),"=d"(high)  \
08:01:34       |                   ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:122:9: error: invalid output constraint '+d' in asm
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:81:31: note: expanded from macro 'mul_add'
08:01:34    81 |                 : "+r"(carry),"+d"(high)\
08:01:34       |                               ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:122:9: error: invalid output constraint '+d' in asm
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:85:27: note: expanded from macro 'mul_add'
08:01:34    85 |                 : "+m"(r),"+d"(high)    \
08:01:34       |                           ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:128:9: error: invalid output constraint '=a' in asm
08:01:34   128 |         mul_add(rp[0], ap[0], w, c1);
08:01:34       |         ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:77:19: note: expanded from macro 'mul_add'
08:01:34    77 |                 : "=a"(low),"=d"(high)  \
08:01:34       |                   ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:128:9: error: invalid output constraint '+d' in asm
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:81:31: note: expanded from macro 'mul_add'
08:01:34    81 |                 : "+r"(carry),"+d"(high)\
08:01:34       |                               ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:128:9: error: invalid output constraint '+d' in asm
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:85:27: note: expanded from macro 'mul_add'
08:01:34    85 |                 : "+m"(r),"+d"(high)    \
08:01:34       |                           ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:131:9: error: invalid output constraint '=a' in asm
08:01:34   131 |         mul_add(rp[1], ap[1], w, c1);
08:01:34       |         ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:77:19: note: expanded from macro 'mul_add'
08:01:34    77 |                 : "=a"(low),"=d"(high)  \
08:01:34       |                   ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:131:9: error: invalid output constraint '+d' in asm
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:81:31: note: expanded from macro 'mul_add'
08:01:34    81 |                 : "+r"(carry),"+d"(high)\
08:01:34       |                               ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:131:9: error: invalid output constraint '+d' in asm
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:85:27: note: expanded from macro 'mul_add'
08:01:34    85 |                 : "+m"(r),"+d"(high)    \
08:01:34       |                           ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:134:9: error: invalid output constraint '=a' in asm
08:01:34   134 |         mul_add(rp[2], ap[2], w, c1);
08:01:34       |         ^
08:01:34 ../deps/openssl/openssl/crypto/bn/asm/x86_64-gcc.c:77:19: note: expanded from macro 'mul_add'
08:01:34    77 |                 : "=a"(low),"=d"(high)  \
08:01:34       |                   ^
08:01:34 fatal error: too many errors emitted, stopping now [-ferror-limit=]
08:01:34 20 errors generated.

Activity

  1. richardlau commented on Sep 23, 2025

    @richardlau
    Member

    According to https://ci-release.nodejs.org/job/iojs+release/11266/nodes=osx13-x64-release-tar/consoleFull

    07:01:15                  'host_arch': 'arm64',
    ...
    07:01:16                  'target_arch': 'x64',
    

    The last passing build https://ci-release.nodejs.org/job/iojs+release/nodes=osx13-x64-release-tar/11238/consoleFull

    14:48:56                  'host_arch': 'x64',
    ...
    14:49:01                  'target_arch': 'x64',
    
  2. richardlau commented on Sep 23, 2025

    @richardlau
    Member

    Since we build both arm64 and x64 binaries for the .pkg installers on macOS arm64, it should be possible to build the x64 tarball on macOS arm64 via Rosetta 2. I'll try editing the job to do so, but if that doesn't work then we'll need to figure out how to get the VM back to macOS x64.

    Retrying the macOS builds from today's nightly: https://ci-release.nodejs.org/job/iojs+release/11267/

  3. ryanaslett commented on Sep 23, 2025

    @ryanaslett
    Contributor

    This was a mistake in selecting the new VM's for the cloud config in jenkins (they were both set to the arm image). That has been fixed.

  4. richardlau commented on Sep 23, 2025

    @richardlau
    Member

    I started another rebuild of the macOS nightlies: https://ci-release.nodejs.org/job/iojs+release/11268/

    The macOS arm64 builds failed to resolve github.com 😞 but osx13-x64-release-tar is progressing: https://ci-release.nodejs.org/job/iojs+release/11268/nodes=osx13-x64-release-tar/console

  5. targos commented on Sep 24, 2025

    @targos
    MemberAuthor

    Seems fixed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions