[tor-bugs] #18490 [Tor]: unit-test fail to cross-compile for aarch64

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 7 03:25:11 UTC 2016


#18490: unit-test fail to cross-compile for aarch64
------------------------+--------------------------------
     Reporter:  wbx     |      Owner:
         Type:  defect  |     Status:  new
     Priority:  Medium  |  Milestone:
    Component:  Tor     |    Version:  Tor: 0.2.7.6
     Severity:  Normal  |   Keywords:  unit tests aarch64
Actual Points:          |  Parent ID:
       Points:          |    Sponsor:
------------------------+--------------------------------
 When trying to cross-compile tor for AARCH64 following error is given:
 src/common/libor-crypto-testing.a(src_common_libor_crypto_testing_a-
 crypto_format.o): In function `crypto_write_tagged_contents_to_file':
 crypto_format.c:(.text+0x1c): relocation truncated to fit:
 R_AARCH64_LDST64_ABS_LO12_NC against symbol `smartlist_new' defined in
 .text section in src/common/libor.a(container.o)
 collect2: error: ld returned 1 exit status

 For complete log see here:
 http://autobuild.buildroot.net/results/13ef47c962afefbaa9ea7a95de083f885f1a8825/

 The error might be misleading, I was told that this can happen because
 test and non-test library archives are getting mixed up and the aarch64
 toolchain is more picky about this then other toolchains.

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


More information about the tor-bugs mailing list