segmentation fault when compiling libvpx

Bug #1358655 reported by sebastian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Incomplete
Undecided
Charles Baylis

Bug Description

When compiling libvpx, I get the following compile error:

    [CC] vp9/encoder/vp9_speed_features.c.o
vp9/encoder/vp9_speed_features.c: In function ‘vp9_set_speed_features’:
vp9/encoder/vp9_speed_features.c:327:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.launchpad.net/gcc-linaro> for instructions.
make[1]: *** [vp9/encoder/vp9_speed_features.c.o] Error 1
make: *** [.DEFAULT] Error 2

I read a similar looking bug report and added the following to .config params: --extra-cflags="-fno-schedule-insns -fno-schedule-insns" but it still failed

Please advise

Thanks

Revision history for this message
sebastian (sebastiano1) wrote :

More details :

version of linaro used : gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux

compile config for libvpx:

CROSS=arm-linux-gnueabihf- ./configure --target=armv7-linux-gcc --enable-vp9 --enable-vp8 --enable-webm-io --enable-runtime-cpu-detect --extra-cflags="-fno-schedule-insns -fno-schedule-insns2"

Linux distro used : Ubuntu 12.04

Objective: Get FFMPEG to support vp9 playback

Changed in gcc-linaro:
assignee: nobody → Charles Baylis (cbaylis)
Revision history for this message
Charles Baylis (cbaylis) wrote :

I cannot reproduce this.

Please run the failing command line with -save-temps, and send the preprocessed source (the .i or .ii file), along with the command line used to reproduce the crash

Changed in gcc-linaro:
status: New → Incomplete
Revision history for this message
sebastian (sebastiano1) wrote :

Hi Charles,

The following is what I ran :

arm-linux-gnueabihf-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -DNDEBUG -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-schedule-insns -fno-schedule-insns2 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -Wunused-but-set-variable -Wno-unused-function -I. -I"/home/seb/libvpx" -save-temps -c -o vp9/encoder/vp9_speed_features.c.o vp9/encoder/vp9_speed_features.c
vp9/encoder/vp9_speed_features.c: In function ‘vp9_set_speed_features’:
vp9/encoder/vp9_speed_features.c:327:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.launchpad.net/gcc-linaro> for instructions.

Attached is the .i file

Thanks

Revision history for this message
Charles Baylis (cbaylis) wrote :

Now being tracked in Linaro bugzilla: https://bugs.linaro.org/show_bug.cgi?id=597

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.