[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #12631 [Tor Browser]: Tor Browser for ARM architecture
#12631: Tor Browser for ARM architecture
-------------------------+---------------------
Reporter: mttp | Owner:
Type: project | Status: new
Priority: Medium | Milestone:
Component: Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: tbb-gitian | Actual Points:
Parent ID: | Points:
Sponsor: |
-------------------------+---------------------
Changes (by cypherpunks):
* severity: => Normal
Comment:
While building tor-browser 5.5-1 on a debian jessie arm system (qemu,
vexpress-a9), e.g.:
{{{
QEMU_AUDIO_DRV=none qemu-system-arm -m 1024M -sd jessie_armhf.img -M
vexpress-a9 -cpu cortex-a9 -kernel jessie_armhf_vmlinuz_extracted -initrd
jessie_armhf_initrd_extracted -append "root=/dev/mmcblk0p2
console=ttyAMA0" -no-reboot -net nic -net user -dtb vexpress-v2p-ca9.dtb
-nographic -redir tcp:5555::22
}}}
I followed the build instructions from
https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking, with
no further modifications to build options.
e.g.
{{{
make $CONFIGURE_ARGS -f client.mk configure CONFIGURE_ARGS="--with-tor-
browser-version=5.5-1"
make $MAKEOPTS -f client.mk build
}}}
The build options for media/libvpx specify -mfloat-abi=softfp, which
breaks the arm-linux-gnueabihf toolchain as it is missing gnu/stubs-
soft.h.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795331
Applying the author's suggested fix:
{{{
diff --git a/media/libvpx/moz.build b/media/libvpx/moz.build
index a1138f4..999ca94 100644
--- a/media/libvpx/moz.build
+++ b/media/libvpx/moz.build
@@ -65,7 +65,8 @@ if CONFIG['VPX_ARM_ASM']:
for f in SOURCES:
if f.endswith('.c') and 'neon' in f:
- SOURCES[f].flags += ['-march=armv7-a', '-mthumb', '-mfloat-
abi=softfp', '-mfpu=neon']
+ SOURCES[f].flags += ['-mfpu=neon']
+ # SOURCES[f].flags += ['-march=armv7-a', '-mthumb', '-mfloat-
abi=softfp', '-mfpu=neon']
}}}
and the build proceeds. I'm not sure if this fix would break platforms
(e.g. Rpi 1)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12631#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs