Public bug reported:

I followed these instructions to build Firefox from sources on my computer:
https://developer.mozilla.org/en-US/docs/Simple_Firefox_build

I enabled the debug configuration. After several minutes, I got an error
that stopped the build:

-------------------------------------------------------------------------------------------------------
 5:27.25 In file included from 
/home/hadrien/ffbuild/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/components/places/Unified_cpp_components_places0.cpp:137:0:
 5:27.25 
/home/hadrien/ffbuild/mozilla-central/toolkit/components/places/nsPlacesModule.cpp:70:47:
 fatal error: error writing to -: Relais brisé (pipe)
 5:27.25  NSMODULE_DEFN(nsPlacesModule) = &kPlacesModule;
 5:27.25                                                ^
 5:27.25 compilation terminated.
 5:28.22 libembedding_browser_build.a.desc
 5:28.37 Unified_cpp_permissions0.o
 5:33.10 libextensions_permissions.a.desc
 5:33.20 Unified_cpp_snappy0.o
 5:35.72 libother-licenses_snappy.a.desc
 5:35.87 Unified_cpp_dom_tv0.o
 5:38.38 libtoolkit_components_url-classifier.a.desc
 5:38.52 Unified_cpp_layout-debug_src0.o
 5:44.08 liblayout_build.a.desc
 5:44.14 Unified_cpp_layout_xul_grid0.o
 5:44.35 libdom_tv.a.desc
 5:44.42 TextureClientX11.o
 5:44.42 X11BasicCompositor.o
 5:46.95 liblayout_tools_layout-debug_src.a.desc
 5:47.02 nsPresArena.o
 5:47.02 nsRefreshDriver.o
 5:47.96 Unified_cpp_layout_base0.o
 5:49.72 X11TextureSourceBasic.o
 5:50.26 liblayout_xul_grid.a.desc
 5:50.31 Blob.o
 5:50.31 ContentChild.o
 5:50.91 The bug is not reproducible, so it is likely a hardware or OS problem.
 5:50.91 c++: internal compiler error: Complété (program as)
 5:50.92 Please submit a full bug report,
 5:50.92 with preprocessed source if appropriate.
 5:50.92 See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
 5:50.93 In the directory  
/home/hadrien/ffbuild/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/components/places
 5:50.93 The following command failed to execute properly:
 5:50.93 c++ -o Unified_cpp_components_places0.o -c 
-I../../../dist/stl_wrappers -I../../../dist/system_wrappers -include 
/home/hadrien/ffbuild/mozilla-central/config/gcc_hidden.h -DOS_POSIX=1 
-DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL 
-DMOZ_GLUE_IN_PROGRAM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT 
-I/home/hadrien/ffbuild/mozilla-central/toolkit/components/places -I. 
-I/home/hadrien/ffbuild/mozilla-central/obj-x86_64-unknown-linux-gnu/ipc/ipdl/_ipdlheaders
 -I/home/hadrien/ffbuild/mozilla-central/toolkit/components/places/../build 
-I/home/hadrien/ffbuild/mozilla-central/ipc/chromium/src 
-I/home/hadrien/ffbuild/mozilla-central/ipc/glue -I../../../dist/include 
-I/home/hadrien/ffbuild/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/include/nspr
 
-I/home/hadrien/ffbuild/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/include/nss
 -fPIC -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MP -MF 
.deps/Unified_cpp_components_places0.o.pp -Wall -Wempty-body 
-Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof 
-Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions 
-fno-math-errno -std=gnu++0x -pthread -pipe -DDEBUG -DTRACING -g 
-fno-omit-frame-pointer 
/home/hadrien/ffbuild/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/components/places/Unified_cpp_components_places0.cpp
 5:50.93 /home/hadrien/ffbuild/mozilla-central/config/rules.mk:934: recipe for 
target 'Unified_cpp_components_places0.o' failed
 5:50.93 make[5]: *** [Unified_cpp_components_places0.o] Error 1
 5:50.93 make[5]: *** Deleting file 'Unified_cpp_components_places0.o'
 5:50.93 /home/hadrien/ffbuild/mozilla-central/config/recurse.mk:74: recipe for 
target 'toolkit/components/places/target' failed
 5:50.93 make[4]: *** [toolkit/components/places/target] Error 2
 5:50.93 make[4]: *** Attente des tâches non terminées....
 5:50.93 CrashReporterChild.o
 5:56.07 X11TextureHost.o
 5:58.10 Unified_cpp_layout_base1.o
 6:01.66 Unified_cpp_dom_ipc0.o
 6:02.11 ShadowLayerUtilsX11.o
 6:08.72 X11TextureSourceOGL.o
 6:10.29 Unified_cpp_dom_ipc1.o
 6:14.81 BasicImageLayer.o
 6:16.73 Unified_cpp_layout_base2.o
 6:19.66 ImageContainer.o
 6:23.83 Layers.o
 6:28.09 LayerTreeInvalidation.o
 6:31.47 Unified_cpp_gfx_layers0.o
 6:35.85 Unified_cpp_gfx_layers1.o
 6:39.01 Unified_cpp_gfx_layers2.o
 6:39.85 libdom_ipc.a.desc
 6:45.83 Unified_cpp_gfx_layers3.o
 6:51.02 Unified_cpp_gfx_layers4.o
 6:54.82 Unified_cpp_gfx_layers5.o
 7:02.50 liblayout_base.a.desc
 7:11.89 libgfx_layers.a.desc
 7:11.93 /home/hadrien/ffbuild/mozilla-central/config/recurse.mk:36: recipe for 
target 'compile' failed
 7:11.93 make[3]: *** [compile] Error 2
 7:11.93 /home/hadrien/ffbuild/mozilla-central/config/rules.mk:545: recipe for 
target 'default' failed
 7:11.93 make[2]: *** [default] Error 2
 7:11.93 /home/hadrien/ffbuild/mozilla-central/client.mk:398: recipe for target 
'realbuild' failed
 7:11.93 make[1]: *** [realbuild] Error 2
 7:11.93 client.mk:171: recipe for target 'build' failed
 7:11.93 make: *** [build] Error 2
-------------------------------------------------------------------------------------------------------

I am on Ubuntu 14.10 and installed GCC from the build-essential package.
GCC version: gcc (Ubuntu 4.9.1-16ubuntu6) 4.9.1
System: 3.16.0-25-generic #33-Ubuntu SMP Tue Nov 4 12:06:54 UTC 2014 x86_64 
x86_64 x86_64 GNU/Linux

** Affects: gcc-4.9 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1397641

Title:
  Internal compiler error when building Firefox

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1397641/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to