[tbb-bugs] #29182 [Applications/Tor Browser]: Release candidate build breaks on Android with "error: hidden symbol 'arc4random_buf' is not defined locally"

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jan 26 03:01:35 UTC 2019


#29182: Release candidate build breaks on Android with  "error: hidden symbol
'arc4random_buf' is not defined locally"
--------------------------------------+--------------------------
 Reporter:  gk                        |          Owner:  tbb-team
     Type:  defect                    |         Status:  new
 Priority:  Immediate                 |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  TorBrowserTeam20901       |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------
Changes (by sysrqb):

 * cc: dcf (removed)


Comment:

 {{{
  0:31.51 make[4]: Entering directory '/home/user/tor-browser/obj-x86
 -linux-android/parser/expat/lib'
  0:31.51 /home/user/android-toolchain/android-ndk/toolchains/llvm/prebuilt
 /linux-x86_64/bin/clang -std=gnu99 --target=i686-linux-android -o
 xmlparse.o -c -I/home/user/tor-browser/obj-x86-linux-
 android/dist/system_wrappers -include /home/user/tor-
 browser/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DHAVE_EXPAT_CONFIG_H
 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API
 -DIMPL_LIBXUL -I/home/user/tor-browser/parser/expat/lib -I/home/user/tor-
 browser/obj-x86-linux-android/parser/expat/lib -I/home/user/tor-
 browser/obj-x86-linux-android/dist/include -I/home/user/tor-
 browser/obj-x86-linux-android/dist/include/nspr -I/home/user/tor-
 browser/obj-x86-linux-android/dist/include/nss -fPIC -include /home/user
 /tor-browser/obj-x86-linux-android/mozilla-config.h -DMOZILLA_CLIENT
 -Qunused-arguments -isystem /home/user/android-toolchain/android-
 ndk/platforms/android-16/arch-x86/usr/include -isystem /home/user/android-
 toolchain/android-ndk/platforms/android-16/arch-x86/usr/include -gcc-
 toolchain /home/user/android-toolchain/android-
 ndk/toolchains/x86-4.9/prebuilt/linux-x86_64 -D__ANDROID_API__=16
 -Qunused-arguments -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith
 -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return
 -Wclass-varargs -Wloop-analysis -Wstring-conversion -Wno-error=deprecated-
 declarations -Wno-error=array-bounds -Wformat -Wformat-security -Wno-gnu-
 zero-variadic-macro-arguments -fno-short-enums -fno-exceptions -fno-
 strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pipe
 -g -Oz -fomit-frame-pointer  -MD -MP -MF .deps/xmlparse.o.pp   /home/user
 /tor-browser/parser/expat/lib/xmlparse.c

  0:31.94 /home/user/tor-browser/parser/expat/lib/xmlparse.c:844:3:
 warning: implicit declaration of function 'arc4random_buf' is invalid in
 C99 [-Wimplicit-function-declaration]
  0:31.94   arc4random_buf(&entropy, sizeof(entropy));
  0:31.94   ^
 }}}

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


More information about the tbb-bugs mailing list