http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55459

             Bug #: 55459
           Summary: Firefox 17: internal compiler error: in
                    scan_tree_for_params_right_scev, at
                    graphite-sese-to-poly.c:633
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: frag...@gmail.com


I'm using gcc 4.7.2 and when trying to compile Firefox 17 with the following
options:

-march=native -O3 -mno-avx -pipe -floop-interchange -floop-strip-mine
-floop-block

It results in the following:

make[5]: Entering directory
`/home/fraga/src/firefox/media/webrtc/trunk/src/modules/modules_iSACFix'
gcc -o audio_coding/codecs/iSAC/fix/source/fft.o -c
-I../../../../../../dist/system_wrappers -include
/home/fraga/src/mozilla/config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM
-D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DUSE_NSS=1 -DTOOLKIT_USES_GTK=1
-DGTK_DISABLE_SINGLE_INCLUDES=1 -D_ISOC99_SOURCE=1 -DENABLE_REMOTING=1
-DENABLE_P2P_APIS=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH
-DENABLE_NOTIFICATIONS -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1
-DENABLE_REGISTER_PROTOCOL_HANDLER=1 -DENABLE_WEB_INTENTS=1
-DENABLE_PLUGIN_INSTALLATION=1 -DWEBRTC_LINUX -DWEBRTC_THREAD_RR
-D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I.
-I/home/fraga/src/mozilla/media/webrtc/trunk/src/modules/..
-I/home/fraga/src/mozilla/media/webrtc/trunk/src/modules/../..
-I/home/fraga/src/mozilla/media/webrtc/trunk/src/modules/audio_coding/codecs/iSAC/fix/interface
-I/home/fraga/src/mozilla/media/webrtc/trunk/src/modules/../common_audio/signal_processing/include
 -fPIC  -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type
-Wtype-limits -Wempty-body -Wno-unused -Wno-overlength-strings -Wcast-align
-Wno-long-long -march=native -O3 -pipe -floop-interchange -floop-strip-mine
-floop-block -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread
-pipe -DNDEBUG -DTRIMMED -g -march=native -O3 -mno-avx -pipe -floop-interchange
-floop-strip-mine -floop-block -fomit-frame-pointer     -include
../../../../../../mozilla-config.h -DMOZILLA_CLIENT -MD -MF .deps/fft.o.pp
/home/fraga/src/mozilla/media/webrtc/trunk/src/modules/audio_coding/codecs/iSAC/fix/source/fft.c
/home/fraga/src/mozilla/media/webrtc/trunk/src/modules/audio_coding/codecs/iSAC/fix/source/fft.c:
In function ‘WebRtcIsacfix_FftRadix16Fastest’:
/home/fraga/src/mozilla/media/webrtc/trunk/src/modules/audio_coding/codecs/iSAC/fix/source/fft.c:71:15:
internal compiler error: in scan_tree_for_params_right_scev, at
graphite-sese-to-poly.c:633
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[5]: *** [audio_coding/codecs/iSAC/fix/source/fft.o] Error 1
make[5]: Leaving directory
`/home/fraga/src/firefox/media/webrtc/trunk/src/modules/modules_iSACFix'
make[4]: *** [src/modules/modules_iSACFix_libs] Error 2
make[4]: Leaving directory `/home/fraga/src/firefox/media/webrtc/trunk'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/home/fraga/src/firefox/media/webrtc'
make[2]: *** [libs_tier_platform] Error 2
make[2]: Leaving directory `/home/fraga/src/firefox'
make[1]: *** [tier_platform] Error 2
make[1]: Leaving directory `/home/fraga/src/firefox'
make: *** [default] Error 2

Here it's the ~/.mozconfig I use:

. /home/fraga/src/mozilla/browser/config/mozconfig
mk_add_options LDFLAGS="-L/usr/X11/lib64" 
mk_add_options CPPFLAGS="-I/usr/X11/include"
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=/home/fraga/src/firefox
ac_add_options --enable-optimize="-march=native -O3 -mno-avx -pipe
-floop-interchange -floop-strip-mine -floop-block"
ac_add_options --disable-debug 
ac_add_options --disable-tests
ac_add_options --enable-svg
ac_add_options --enable-safe-browsing
ac_add_options --enable-update-packaging
ac_add_options --x-libraries=/usr/X11/lib64
ac_add_options --disable-necko-wifi
ac_add_options --disable-crashreporter

Reply via email to