[tbb-bugs] #21925 [Applications/Tor Browser]: Tor Browser based on ESR52 can't get built with ASan and FORTIFY_SOURCE
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Apr 12 14:46:16 UTC 2017
#21925: Tor Browser based on ESR52 can't get built with ASan and FORTIFY_SOURCE
------------------------------------------+----------------------
Reporter: gk | Owner: tbb-team
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------------------+----------------------
Similarly to #17508 ASan seems to be unhappy with FORTIFY_SOURCE when
using `.mozconfig-asan`:
{{{
In file included from /usr/include/features.h:356:0,
from /usr/include/limits.h:27,
from /home/debian/install/gcc/lib/gcc/x86_64-unknown-
linux-gnu/5.4.0/include-fixed/limits.h:168,
from /home/debian/install/gcc/lib/gcc/x86_64-unknown-
linux-gnu/5.4.0/include-fixed/syslimits.h:7,
from /home/debian/install/gcc/lib/gcc/x86_64-unknown-
linux-gnu/5.4.0/include-fixed/limits.h:34,
from /home/debian/build/tor-browser/obj-x86_64-pc-linux-
gnu/js/src/ctypes/libffi/include/ffi.h:76,
from /home/debian/build/tor-
browser/js/src/ctypes/libffi/src/x86/ffi64.c:30:
/home/debian/build/tor-browser/js/src/ctypes/libffi/src/x86/ffi64.c: In
function 'ffi_call':
/usr/include/x86_64-linux-gnu/bits/string3.h:49:1: error: inlining failed
in call to always_inline 'memcpy': function attribute mismatch
__NTH (memcpy (void *__restrict __dest, __const void *__restrict __src,
^
/home/debian/build/tor-browser/js/src/ctypes/libffi/src/x86/ffi64.c:485:4:
error: called from here
memcpy (argp, avalue[i], size);
^
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21925>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tbb-bugs
mailing list