[Bug 207837] www/firefox: clang34 and clang35 crash on i386 with -O2 -fstack-protector
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Mar 10 07:04:38 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207837
--- Comment #4 from Jan Beich <jbeich at FreeBSD.org> ---
(In reply to Vikash Badal from comment #0)
> c++: note: diagnostic msg: Error generating preprocessed source(s).
This probably means we have to shave Unified_cpp_protocol_websocket0.cpp of
extra code manually. Firefox no longer supports non-unified build.
Steps to reproduce:
$ cd www/firefox
$ make
$ pkg install clang34
$ cd $(make -V WRKSRC)
$ clang++34 -m32 -o Unified_cpp_protocol_websocket0.o -c -I
obj-*/dist/stl_wrappers -I obj-*/dist/system_wrappers -include
config/gcc_hidden.h -DOS_POSIX=1 -DOS_FREEBSD=1 -DOS_BSD=1
-DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL
-Inetwerk/protocol/websocket -I. -I obj-*/ipc/ipdl/_ipdlheaders
-Iipc/chromium/src -Iipc/glue -Idom/base -Inetwerk/base -I obj-*/dist/include
-I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include/nss/nss
-I/usr/local/include -I/usr/local/include -I/usr/local/include/pixman-1
-fPIC -DMOZILLA_CLIENT -include obj-*/mozilla-config.h -Qunused-arguments
-isystem/usr/local/include -DLIBICONV_PLUG -Qunused-arguments -Wall
-Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings
-Wno-invalid-offsetof -Wno-inline-new-delete -Wno-c++0x-extensions
-Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage
-O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing
-DLIBICONV_PLUG -fno-exceptions -fno-strict-aliasing -fno-rtti
-ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno
-std=gnu++0x -pipe -DNDEBUG -DTRIMMED -fno-omit-frame-pointer
obj-*/netwerk/protocol/websocket/Unified_cpp_protocol_websocket0.cpp
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-toolchain
mailing list