Bug 1002433

Summary: C++ Segfaults when trying to compile Firefox with GTK3
Product: [Fedora] Fedora Reporter: Elad Alfassa <elad>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jakub, law
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 12:18:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Elad Alfassa 2013-08-29 08:01:54 UTC
This is the first time I see a compiler segfault, I'm not quite sure what to do.

I tried to compile firefox with gtk3.
Basically, this means:
1) clone mozilla-central with hg (hg clone http://hg.mozilla.org/mozilla-central/ firefox)
2) cd firefox
3) echo "ac_add_options --enable-default-toolkit=cairo-gtk3" > .mozconfig
4) ./mach configure
5) ./mach build

The build will fail due to C++ segfaulting.
in ./widget/gtk2/

[elad@rincewind gtk2]$ c++ -o nsWindow.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /home/elad/sources/firefox/config/gcc_hidden.h -DNATIVE_THEME_SUPPORT -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -DNO_NSPR_10_SUPPORT -DOS_POSIX=1 -DOS_LINUX=1 -DCAIRO_GFX -DMOZ_APP_NAME="firefox" -I/home/elad/sources/firefox/ipc/chromium/src -I/home/elad/sources/firefox/ipc/glue -I../../ipc/ipdl/_ipdlheaders -I/home/elad/sources/firefox/widget/gtk2 -I. -I../../dist/include -I/home/elad/sources/firefox/obj-x86_64-unknown-linux-gnu/dist/include/nspr -I/home/elad/sources/firefox/obj-x86_64-unknown-linux-gnu/dist/include/nss -I/home/elad/sources/firefox/widget/gtk2/../xpwidgets -I/home/elad/sources/firefox/widget/gtk2/../shared -I/home/elad/sources/firefox/layout/generic -I/home/elad/sources/firefox/layout/xul/base/src -I/home/elad/sources/firefox/other-licenses/atk-1.0 -I/home/elad/sources/firefox/widget/gtk2/../shared/x11 -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer -I/home/elad/sources/firefox/obj-x86_64-unknown-linux-gnu/dist/include/cairo -pthread -I/usr/include/gtk-3.0/unix-print -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/nsWindow.o.pp /home/elad/sources/firefox/widget/gtk2/nsWindow.cpp

<command-line>:0:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.

Comment 1 Fedora End Of Life 2015-05-29 09:21:07 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2015-06-29 12:18:41 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.