#32904: Tor build fails with -enable-seccomp on mips
--------------------------+------------------------------
 Reporter:  pa-ja         |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Component:  Core Tor/Tor
  Version:  Tor: 0.4.2.5  |       Severity:  Normal
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------
 Hi,
 I'm trying to make tor seccomp variant for OpenWrt
 (https://github.com/openwrt/packages/pull/10779)
 For MIPS build fails on error:
  'mcontext_t' {aka 'struct <anonymous>'} has no member named 'M_SYSCALL'
 for arm build is fine.

 This issue is probably related to
 https://trac.torproject.org/projects/tor/ticket/24424

 Log from failed build:
 {{{
 src/lib/sandbox/sandbox.c: In function 'sigsys_debugging':
 src/lib/sandbox/sandbox.c:1617:35: error: 'mcontext_t' {aka 'struct
 <anonymous>'} has no member named 'M_SYSCALL'
    syscall = (int) ctx->uc_mcontext.M_SYSCALL;
                                    ^
 Makefile:10599: recipe for target 'src/lib/sandbox/sandbox.o' failed
 make[4]: *** [src/lib/sandbox/sandbox.o] Error 1
 make[4]: Leaving directory '/home/build/build_dir/build_dir/target-
 mips_24kc_musl/tor-seccomp/tor-0.4.2.5'
 Makefile:5828: recipe for target 'all' failed
 make[3]: *** [all] Error 2
 make[3]: Leaving directory '/home/build/build_dir/build_dir/target-
 mips_24kc_musl/tor-seccomp/tor-0.4.2.5'
 Makefile:170: recipe for target '/home/build/build_dir/build_dir/target-
 mips_24kc_musl/tor-seccomp/tor-0.4.2.5/.built' failed
 make[2]: *** [/home/build/build_dir/build_dir/target-mips_24kc_musl/tor-
 seccomp/tor-0.4.2.5/.built] Error 2
 make[2]: Leaving directory '/home/build/openwrt_packages/net/tor'
 time: package/feeds/packages/tor/seccomp/compile#2.85#1.40#5.06
 package/Makefile:111: recipe for target
 'package/feeds/packages/tor/compile' failed
 make[1]: *** [package/feeds/packages/tor/compile] Error 2
 make[1]: Leaving directory '/home/build/build_dir'
 /home/build/build_dir/include/toplevel.mk:218: recipe for target
 'package/tor/compile' failed
 make: *** [package/tor/compile] Error 2
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32904>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to