Package: gcc-6
Version: 6.2.0-7
Severity: serious

gcc-6 version 6.2.0-7 is not able to build the C++ part of the glibc
testsuite anymore, while version 6.2.0-6. was able to build it fine:

| In file included from ../include/gconv.h:1:0,
|                  from ../sysdeps/unix/sysv/linux/_G_config.h:32,
|                  from ../libio/libio.h:31,
|                  from ../include/libio.h:4,
|                  from ../libio/stdio.h:74,
|                  from ../include/stdio.h:5,
|                  from test-math-isinff.cc:22:
| ../iconv/gconv.h:142:50: error: flexible array member '__gconv_info::__data' 
not at end of 'struct _IO_codecvt'
|    __extension__ struct __gconv_step_data __data __flexarr;
|                                                   ^
| In file included from ../include/libio.h:4:0,
|                  from ../libio/stdio.h:74,
|                  from ../include/stdio.h:5,
|                  from test-math-isinff.cc:22:
| ../libio/libio.h:211:14: note: next member '_G_iconv_t _IO_codecvt::__cd_out' 
declared here
|    _IO_iconv_t __cd_out;
|               ^~~~~~~~
| ../libio/libio.h:187:8: note: in the definition of 'struct _IO_codecvt'
|  struct _IO_codecvt
|         ^~~~~~~~~~~
| In file included from ../include/gconv.h:1:0,
|                  from ../sysdeps/unix/sysv/linux/_G_config.h:32,
|                  from ../libio/libio.h:31,
|                  from ../include/libio.h:4,
|                  from ../libio/stdio.h:74,
|                  from ../include/stdio.h:5,
|                  from test-math-isinff.cc:22:
| ../iconv/gconv.h:142:50: error: flexible array member '__gconv_info::__data' 
not at end of 'struct _IO_wide_data'
|    __extension__ struct __gconv_step_data __data __flexarr;
|                                                   ^
| In file included from ../include/libio.h:4:0,
|                  from ../libio/stdio.h:74,
|                  from ../include/stdio.h:5,
|                  from test-math-isinff.cc:22:
| ../libio/libio.h:211:14: note: next member '_G_iconv_t _IO_codecvt::__cd_out' 
declared here
|    _IO_iconv_t __cd_out;
|               ^~~~~~~~
| ../libio/libio.h:215:8: note: in the definition of 'struct _IO_wide_data'
|  struct _IO_wide_data
|         ^~~~~~~~~~~~~

Full build logs available there:
https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=kfreebsd-amd64&ver=2.24-5&stamp=1476834913
https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=powerpc&ver=2.24-5&stamp=1476834176
https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=x32&ver=2.24-5&stamp=1476845693

This seems related to the PR c++/71912 fix that went in this version.

I have attached an i386 preprocessed source file to demonstrate the
issue.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Attachment: test-math-isinff.ii.gz
Description: application/gzip

Reply via email to