[tor-bugs] #20868 [Core Tor/Tor]: fails to build on arm

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Dec 3 08:08:24 UTC 2016


#20868: fails to build on arm
------------------------------+--------------------------------
     Reporter:  weasel        |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.2.8.x-final
    Component:  Core Tor/Tor  |    Version:  Tor: 0.2.8.10
     Severity:  Major         |   Keywords:
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
 }}}

 https://volatile.noreply.org/2016-12-02-JueousgnOYk/tor_0.2.8.10-1_armel-2016-12-02T182943Z.build
 has a more complete log of a (different) build.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20868>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list