[tor-bugs] #20683 [Applications/Tor Browser]: Integrate selfrando into the alpha Linux 64bit builds

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 6 08:08:14 UTC 2016


#20683: Integrate selfrando into the alpha Linux 64bit builds
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  task                                 |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-security, GeorgKoppen201612,     |  Actual Points:
  TorBrowserTeam201612                           |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by gk):

 Hm it seems 64bit builds outside of our hardened context break as well:
 {{{
 + exec c++ -o webapprt-stub -Wall -Wempty-body -Woverloaded-virtual
 -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align
 -frandom-seed=tor -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-
 exceptions -fno-math-errno -std=gnu++0x -pipe -DNDEBUG -DTRIMMED -g
 -freorder-blocks -Os -fomit-frame-pointer /home/debian/build/tor-browser
 /obj-x86_64-unknown-linux-gnu/webapprt/gtk/tmpZ7SNKK.list -lpthread
 -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -rdynamic -Wl,-rpath-
 link,/home/debian/build/tor-browser/obj-x86_64-unknown-linux-gnu/dist/bin
 -Wl,-rpath-link,NONE/lib ../../xpcom/glue/standalone/libxpcomglue.a -ldl
 -lrt -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype
 -lfontconfig -lgdk-x11-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpango-1.0
 -lcairo -lgobject-2.0 -lglib-2.0 -B
 /home/debian/build/selfrando/Tools/TorBrowser/tc-wrapper
 + /home/debian/install/binutils/bin/ld.gold --section-start
 .interp=0x400800 -dn /home/debian/install/selfrando/randoentry.o
 /home/debian/install/selfrando/sr_begin.o
 /home/debian/install/selfrando/libselfrando.a
 /home/debian/install/selfrando/sr_end.o -dy -plugin
 /home/debian/install/gcc/libexec/gcc/x86_64-unknown-linux-
 gnu/5.1.0/liblto_plugin.so -plugin-
 opt=/home/debian/install/gcc/libexec/gcc/x86_64-unknown-linux-gnu/5.1.0
 /lto-wrapper -plugin-opt=-fresolution=/tmp/ccwYIH0z.res -plugin-opt=-pass-
 through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-
 through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-
 through=-lgcc --eh-frame-hdr -m elf_x86_64 -export-dynamic -dynamic-linker
 /lib64/ld-linux-x86-64.so.2 -pie -o webapprt-stub /usr/lib/x86_64-linux-
 gnu/Scrt1.o /usr/lib/x86_64-linux-gnu/crti.o
 /home/debian/install/gcc/lib/gcc/x86_64-unknown-linux-
 gnu/5.1.0/crtbeginS.o -L/home/debian/build/selfrando/Tools/TorBrowser/tc-
 wrapper -L/home/debian/install/gcc/lib/gcc/x86_64-unknown-linux-gnu/5.1.0
 -L/home/debian/install/gcc/lib/gcc/x86_64-unknown-linux-
 gnu/5.1.0/../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64
 -L/usr/lib/x86_64-linux-gnu -L/home/debian/install/gcc/lib/gcc/x86_64
 -unknown-linux-gnu/5.1.0/../../.. /home/debian/build/tor-browser/obj-
 x86_64-unknown-linux-gnu/webapprt/gtk/tmpZ7SNKK.list -lpthread -z
 noexecstack -z text --build-id -rpath-link /home/debian/build/tor-browser
 /obj-x86_64-unknown-linux-gnu/dist/bin -rpath-link NONE/lib
 ../../xpcom/glue/standalone/libxpcomglue.a -ldl -lrt -lgtk-x11-2.0
 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0
 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lcairo -lgobject-2.0
 -lglib-2.0 -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc
 /home/debian/install/gcc/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/crtendS.o
 /usr/lib/x86_64-linux-gnu/crtn.o --build-id=none -Map webapprt-stub.map
 ./padding.j0MrJ45JzmDsL3m.o
 + /home/debian/install/selfrando/SymProc webapprt-stub webapprt-stub.map
 -ffunction-sections
 Unknown type 20 (file '/home/debian/build/tor-browser/obj-x86_64-unknown-
 linux-gnu/webapprt/gtk/../../memory/mozjemalloc/jemalloc.o', section:
 .rela.text.choose_arena, offset: 4, relo index: 0/19)
 collect2: error: ld returned 13 exit status
 make[5]: *** [webapprt-stub] Error 1
 }}}

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


More information about the tor-bugs mailing list