Opened 4 years ago

Closed 4 years ago

#20868 closed defect (duplicate)

fails to build on arm

Reported by: weasel Owned by:
Priority: Medium Milestone: Tor: 0.2.8.x-final
Component: Core Tor/Tor Version: Tor:
Severity: Major Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


On arm and armhf, with openssl 1.1:

gcc -DHAVE_CONFIG_H -I. -I..  -I../src/ext -Isrc/ext -I../src/ext/trunnel -I../src/trunnel -I../src/common -Isrc/common -I../src/ext/trunnel -I../src/trunnel -I../src/or -Isrc/or -DSHARE_DATADIR="\"/usr/share\"" -DLOCALSTATEDIR="\"/var\"" -DBINDIR="\"/usr/bin\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I../src/common     -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector -fwrapv --param ssp-buffer-size=1 -fPIE -fasynchronous-unwind-tables -Wall -fno-strict-aliasing -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat=2 -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch-enum -Winit-self -Wmissing-field-initializers -Wold-style-definition -Waddress -Wmissing-noreturn -Wstrict-overflow=1 -Wnormalized=id -Woverride-init -Wextra -Warray-bounds -Wlogical-op -c -o src/common/crypto.o ../src/common/crypto.c
../src/common/aes.c:158:20: error: field 'evp' has incomplete type
     EVP_CIPHER_CTX evp;
../src/common/aes.c: In function 'evaluate_ctr_for_aes':
../src/common/aes.c:254:5: warning: implicit declaration of function 'AES_ctr128_encrypt' [-Wimplicit-function-declaration]
     AES_ctr128_encrypt(&zero[i], &output[i], 1, &key, ivec, ivec_tmp, &pos);
../src/common/aes.c:254:5: warning: nested extern declaration of 'AES_ctr128_encrypt' [-Wnested-externs]
Makefile:3347: recipe for target 'src/common/aes.o' failed has a more complete log of a (different) build.

Child Tickets

Change History (3)

comment:1 Changed 4 years ago by weasel

It's a bit of a shame that our CI has pointed at this issue for a month but we ignored it.

comment:2 Changed 4 years ago by weasel

also FTBFS on arm64, ppc64el, and s390x. (Other archs haven't been attempted yet.)

This is Debian bug #846781.

comment:3 Changed 4 years ago by yawning

Resolution: duplicate
Status: newclosed

This is a dup of #20588.

Note: See TracTickets for help on using tickets.