gcc crashes when building Oxide again

Bug #1533101 reported by Chris Coulson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-5 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

See https://launchpadlibrarian.net/233850372/buildlog_ubuntu-xenial-armhf.oxide-qt_1.12.2-0ubuntu1_BUILDING.txt.gz and https://launchpadlibrarian.net/233830878/buildlog_ubuntu-xenial-armhf.oxide-qt_1.11.5-0ubuntu1_BUILDING.txt.gz.

FAILED: /usr/bin/arm-linux-gnueabihf-gcc -MMD -MF obj/third_party/chromium/src/third_party/libwebp/dsp/libwebp_dsp_neon.upsampling_neon.o.d -DOXIDE_BUILD_QT -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_OZONE=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_NSS_CERTS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../../../third_party/chromium/src/third_party/libwebp -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -g -Wno-unused-local-typedefs -mfpu=neon -Wno-format -Wno-unused-result -march=armv7-a -mtune=generic-armv7-a -mfpu=neon -mfloat-abi=hard -mthumb -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -c ../../../../third_party/chromium/src/third_party/libwebp/dsp/upsampling_neon.c -o obj/third_party/chromium/src/third_party/libwebp/dsp/libwebp_dsp_neon.upsampling_neon.o
In file included from ../../../../third_party/chromium/src/third_party/libwebp/dsp/upsampling_neon.c:20:0:
/usr/lib/gcc/arm-linux-gnueabihf/5/include/arm_neon.h: In function 'UpsampleRgbaLinePair':
/usr/lib/gcc/arm-linux-gnueabihf/5/include/arm_neon.h:6831:10: internal compiler error: Segmentation fault
   return (int32x4_t)__builtin_neon_vmlals_lanev4hi (__a, __b, __c, __d);
          ^
0x4102c3 crash_signal
 ../../src/gcc/toplev.c:383
0x26825b expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool)
 ../../src/gcc/expr.c:7998
0x5abd23 expand_expr
 ../../src/gcc/expr.h:254
0x5abd23 arm_expand_neon_args
 ../../src/gcc/config/arm/arm-builtins.c:2092
0x5abd23 arm_expand_neon_builtin
 ../../src/gcc/config/arm/arm-builtins.c:2303
0x5abd23 arm_expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
 ../../src/gcc/config/arm/arm-builtins.c:2341
0x1cd557 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
 ../../src/gcc/builtins.c:5980
0x267221 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool)
 ../../src/gcc/expr.c:10592
0x26ceb9 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, tree_node*)
 ../../src/gcc/expr.c:5382
0x26ddf5 expand_assignment(tree_node*, tree_node*, bool)
 ../../src/gcc/expr.c:5154
0x1dfd31 expand_call_stmt
 ../../src/gcc/cfgexpand.c:2406
0x1dfd31 expand_gimple_stmt_1
 ../../src/gcc/cfgexpand.c:3367
0x1dfd31 expand_gimple_stmt
 ../../src/gcc/cfgexpand.c:3531
0x1e26f3 expand_gimple_basic_block
 ../../src/gcc/cfgexpand.c:5543
0x1e3b01 execute
 ../../src/gcc/cfgexpand.c:6161
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
Preprocessed source stored into /tmp/cc8oG434.out file, please attach this to your bugreport.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

reduced test case:

typedef __simd64_int16_t int16x4_t;
typedef __simd128_int32_t int32x4_t;
int32x4_t a;
int16x4_t b;
int16x4_t c;
void WebRtcSpl_DownsampleFastNeon() {
  __builtin_neon_vmlals_lanev4hi(a, b, c, 0);
}

$ gcc-5 -c -g -O2 -march=armv7-a -mtune=generic-armv7-a -mfloat-abi=hard -mthumb downsample_fast_neon.i
downsample_fast_neon.i:1:9: error: unknown type name '__simd64_int16_t'
 typedef __simd64_int16_t int16x4_t;
         ^
downsample_fast_neon.i:2:9: error: unknown type name '__simd128_int32_t'
 typedef __simd128_int32_t int32x4_t;
         ^
downsample_fast_neon.i: In function 'WebRtcSpl_DownsampleFastNeon':
downsample_fast_neon.i:7:3: warning: implicit declaration of function '__builtin_neon_vmlals_lanev4hi' [-Wimplicit-function-declaration]
   __builtin_neon_vmlals_lanev4hi(a, b, c, 0);
   ^

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gcc-5 - 5.3.1-5ubuntu3

---------------
gcc-5 (5.3.1-5ubuntu3) xenial; urgency=medium

  * Update to SVN 20160112 (r232261, 5.3.1) from the gcc-5-branch.
  * Apply proposed patch for PR target/69187 (armhf). LP: #1533101.

 -- Matthias Klose <email address hidden> Tue, 12 Jan 2016 12:04:46 +0100

Changed in gcc-5 (Ubuntu):
status: New → Fix Released
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.