Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2016 07:04:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 207837] www/firefox: clang34 and clang35 crash on i386 with -O2 -fstack-protector
Message-ID:  <bug-207837-21738-ZZgSHKHRHG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207837-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207837-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207837

--- Comment #4 from Jan Beich <jbeich@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=3D1 -DOS_FREEBSD=3D1 -DOS_BSD=3D1
-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/inclu=
de=20
-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=20=
=20
-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-linka=
ge
-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=3Dgnu++0x -pipe  -DNDEBUG -DTRIMMED -fno-omit-frame-pointer=20=20=20=
=20=20
obj-*/netwerk/protocol/websocket/Unified_cpp_protocol_websocket0.cpp

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207837-21738-ZZgSHKHRHG>