[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#808432: gcc-6: internal compile error building mplayer pngdec.c



Package: gcc-6
Version: 6-20151211-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Attempting to build mplayer source from:

svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

with ./configure --cc=gcc-6 --host-cc=gcc-6

CC      libavcodec/pngdec.o
libavcodec/pngdec.c: In function 'decode_frame_common.isra.7':
libavcodec/pngdec.c:1021:43: warning: 'background_alpha' may be used uninitialized in this function [-Wmaybe-uninitialized]
                 uint8_t foreground_alpha, background_alpha, output_alpha;
                                           ^~~~~~~~~~~~~~~~

libavcodec/pngdec.c:1060:30: warning: 'foreground_alpha' may be used uninitialized in this function [-Wmaybe-uninitialized]
 
libavcodec/pngdec.c:1086:12: internal compiler error: in contains_point, at diagnostic-show-locus.c:340
 static int decode_frame_common(AVCodecContext *avctx, PNGDecContext *s,
            ^~~~~~~~~~~~~~~~~~~

0x102bf6f contains_point
        ../../src/gcc/diagnostic-show-locus.c:340
0x102bf6f get_state_at_point
        ../../src/gcc/diagnostic-show-locus.c:684
0x102c518 print_source_line
        ../../src/gcc/diagnostic-show-locus.c:538
0x102c518 diagnostic_show_locus(diagnostic_context*, diagnostic_info const*)
        ../../src/gcc/diagnostic-show-locus.c:803
0x63e6d0 c_diagnostic_finalizer
        ../../src/gcc/c-family/c-opts.c:167
0x102a248 diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
        ../../src/gcc/diagnostic.c:800
0x102b2f0 warning_at(unsigned int, int, char const*, ...)
        ../../src/gcc/diagnostic.c:1029
0xb3cfd1 warn_uninit
        ../../src/gcc/tree-ssa-uninit.c:157
0xb42446 warn_uninitialized_phi
        ../../src/gcc/tree-ssa-uninit.c:2366
0xb42446 execute
        ../../src/gcc/tree-ssa-uninit.c:2459


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

If building ffmpeg only, pngdec.c would compile fine.

If using gcc-5, pngdec.c would compile fine.

Attempted to obtain later snapshot of gcc-6 from Debian mirrors but it
was unavailable.

   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-rc5+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages gcc-6 depends on:
ii  binutils      2.25.90.20151209-1
ii  cpp-6         6-20151211-1
ii  gcc-6-base    6-20151211-1
ii  libc6         2.21-4
ii  libcc1-0      6-20151211-1
ii  libgcc-6-dev  6-20151211-1
ii  libgcc1       1:6-20151211-1
ii  libgmp10      2:6.1.0+dfsg-2
ii  libisl15      0.15-3
ii  libmpc3       1.0.3-1
ii  libmpfr4      3.1.3-2
ii  libstdc++6    5.3.1-4
ii  zlib1g        1:1.2.8.dfsg-2+b1

Versions of packages gcc-6 recommends:
ii  libc6-dev  2.21-4

Versions of packages gcc-6 suggests:
pn  gcc-6-doc         <none>
pn  gcc-6-locales     <none>
pn  gcc-6-multilib    <none>
pn  libasan3-dbg      <none>
pn  libatomic1-dbg    <none>
pn  libcilkrts5-dbg   <none>
ii  libgcc1-dbg       1:6-20151211-1
pn  libgomp1-dbg      <none>
pn  libitm1-dbg       <none>
pn  liblsan0-dbg      <none>
pn  libmpx0-dbg       <none>
pn  libquadmath0-dbg  <none>
pn  libtsan0-dbg      <none>
pn  libubsan0-dbg     <none>

-- no debconf information

-- debsums errors found:
prelink: /usr/lib/gcc/x86_64-linux-gnu/6/lto1: prelinked file was modified
debsums: changed file /usr/lib/gcc/x86_64-linux-gnu/6/lto1 (from gcc-6 package)


Reply to: