This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 6.4 Release Candidate available from gcc.gnu.org


On Thu, 29 Jun 2017, Anatoly Pugachev wrote:

> On Wed, Jun 28, 2017 at 1:44 PM, Richard Biener <rguenther@suse.de> wrote:
> >
> > A release candidate for GCC 6.4 is available from
> >
> >  ftp://gcc.gnu.org/pub/gcc/snapshots/6.4.0-RC-20170628/
> >
> > and shortly its mirrors.  It has been generated from SVN revision 249715.
> >
> > I have so far bootstrapped and tested the release candidate on
> > x86_64-unknown-linux-gnu.  Please test it and report any issues to
> > bugzilla.
> >
> > If all goes well I'd like to release 6.4 on Tuesday, July 4th.
> 
> 
> 3-stage bootstrap fails for me:
> 
> Linux sparc64 , debian sid/unstable.
> host installed gcc, glibc:
> 
> $ gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/sparc64-linux-gnu/6/lto-wrapper
> Target: sparc64-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Debian
> 6.3.0-20' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs
> --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++
> --prefix=/usr --program-suffix=-6 --program-prefix=sparc64-linux-gnu-
> --enable-shared --enable-linker-build-id --libexecdir=/usr/lib
> --without-included-gettext --enable-threads=posix --libdir=/usr/lib
> --enable-nls --with-sysroot=/ --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-libstdcxx-time=yes
> --with-default-libstdcxx-abi=new --enable-gnu-unique-object
> --disable-libquadmath --enable-plugin --enable-default-pie
> --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk
> --enable-gtk-cairo
> --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-sparc64/jre
> --enable-java-home
> --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-sparc64
> --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-sparc64
> --with-arch-directory=sparc64
> --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc=auto
> --enable-multiarch --enable-targets=all --with-cpu-32=ultrasparc
> --with-long-double-128 --enable-multilib --enable-checking=release
> --build=sparc64-linux-gnu --host=sparc64-linux-gnu
> --target=sparc64-linux-gnu
> Thread model: posix
> gcc version 6.3.0 20170628 (Debian 6.3.0-20)
> 
> # ldconfig -V
> ldconfig (Debian GLIBC 2.24-10) 2.24
> 
> gcc configure line:
> 
> mator@ttip:/1/mator/gcc6.4.0$ ../gcc-6.4.0-RC-20170628/configure
> --prefix=/home/mator/i && make -j44 && make -j44 -k check
> 
> mator@ttip:/1/mator/gcc6.4.0$ cat stage_current
> stage3
> 
> mator@ttip:/1/mator/gcc6.4.0$ make
> [ -f stage_final ] || echo stage3 > stage_final
> ...
> make[3]: Entering directory
> '/1/mator/gcc6.4.0/sparc64-unknown-linux-gnu/libsanitizer'
> Making all in sanitizer_common
> make[4]: Entering directory
> '/1/mator/gcc6.4.0/sparc64-unknown-linux-gnu/libsanitizer/sanitizer_common'
> /bin/bash ../libtool --tag=CXX   --mode=compile
> /1/mator/gcc6.4.0/./gcc/xgcc -shared-libgcc -B/1/mator/gcc6.4.0/./gcc
> -nostdinc++ -L/1/mator/gcc6.4.0/sparc64-unknown-linux-gnu/libstdc++-v3/src
> -L/1/mator/gcc6.4.0/sparc64-unknown-linux-gnu/libstdc++-v3/src/.libs
> -L/1/mator/gcc6.4.0/sparc64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
> -B/home/mator/i/sparc64-unknown-linux-gnu/bin/
> -B/home/mator/i/sparc64-unknown-linux-gnu/lib/ -isystem
> /home/mator/i/sparc64-unknown-linux-gnu/include -isystem
> /home/mator/i/sparc64-unknown-linux-gnu/sys-include    -D_GNU_SOURCE
> -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
> -D__STDC_LIMIT_MACROS  -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -I.
> -I../../../../gcc-6.4.0-RC-20170628/libsanitizer/sanitizer_common -I..
> -I ../../../../gcc-6.4.0-RC-20170628/libsanitizer/include -isystem
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/include/system  -Wall
> -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long
> -fPIC -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer
> -funwind-tables -fvisibility=hidden -Wno-variadic-macros
> -I../../libstdc++-v3/include
> -I../../libstdc++-v3/include/sparc64-unknown-linux-gnu
> -I../../../../gcc-6.4.0-RC-20170628/libsanitizer/../libstdc++-v3/libsupc++
> -std=gnu++11 -DSANITIZER_LIBBACKTRACE -DSANITIZER_CP_DEMANGLE -I
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/../libbacktrace -I
> ../libbacktrace -I
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/../include -include
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/libbacktrace/backtrace-rename.h
> -g -O2 -D_GNU_SOURCE -MT sanitizer_platform_limits_posix.lo -MD -MP
> -MF .deps/sanitizer_platform_limits_posix.Tpo -c -o
> sanitizer_platform_limits_posix.lo
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
> libtool: compile:  /1/mator/gcc6.4.0/./gcc/xgcc -shared-libgcc
> -B/1/mator/gcc6.4.0/./gcc -nostdinc++
> -L/1/mator/gcc6.4.0/sparc64-unknown-linux-gnu/libstdc++-v3/src
> -L/1/mator/gcc6.4.0/sparc64-unknown-linux-gnu/libstdc++-v3/src/.libs
> -L/1/mator/gcc6.4.0/sparc64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
> -B/home/mator/i/sparc64-unknown-linux-gnu/bin/
> -B/home/mator/i/sparc64-unknown-linux-gnu/lib/ -isystem
> /home/mator/i/sparc64-unknown-linux-gnu/include -isystem
> /home/mator/i/sparc64-unknown-linux-gnu/sys-include -D_GNU_SOURCE
> -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
> -D__STDC_LIMIT_MACROS -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -I.
> -I../../../../gcc-6.4.0-RC-20170628/libsanitizer/sanitizer_common -I..
> -I ../../../../gcc-6.4.0-RC-20170628/libsanitizer/include -isystem
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/include/system -Wall -W
> -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC
> -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer
> -funwind-tables -fvisibility=hidden -Wno-variadic-macros
> -I../../libstdc++-v3/include
> -I../../libstdc++-v3/include/sparc64-unknown-linux-gnu
> -I../../../../gcc-6.4.0-RC-20170628/libsanitizer/../libstdc++-v3/libsupc++
> -std=gnu++11 -DSANITIZER_LIBBACKTRACE -DSANITIZER_CP_DEMANGLE -I
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/../libbacktrace -I
> ../libbacktrace -I
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/../include -include
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/libbacktrace/backtrace-rename.h
> -g -O2 -D_GNU_SOURCE -MT sanitizer_platform_limits_posix.lo -MD -MP
> -MF .deps/sanitizer_platform_limits_posix.Tpo -c
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
>  -fPIC -DPIC -o .libs/sanitizer_platform_limits_posix.o
> In file included from
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:187:0:
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:254:72:
> error: size of array ‘assertion_failed__1047’ is negative
>      typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
>                                                                         ^
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:248:30:
> note: in expansion of macro ‘IMPL_COMPILER_ASSERT’
>  #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
>                               ^~~~~~~~~~~~~~~~~~~~
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h:1418:3:
> note: in expansion of macro ‘COMPILER_CHECK’
>    COMPILER_CHECK(sizeof(((struct __sanitizer_##CLASS *) NULL)->MEMBER) == \
>    ^~~~~~~~~~~~~~
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:1047:1:
> note: in expansion of macro ‘CHECK_STRUCT_SIZE_AND_OFFSET’
>  CHECK_STRUCT_SIZE_AND_OFFSET(sigaction, sa_flags);
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:254:72:
> error: size of array ‘assertion_failed__1047’ is negative
>      typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
>                                                                         ^
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:248:30:
> note: in expansion of macro ‘IMPL_COMPILER_ASSERT’
>  #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
>                               ^~~~~~~~~~~~~~~~~~~~
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h:1420:3:
> note: in expansion of macro ‘COMPILER_CHECK’
>    COMPILER_CHECK(offsetof(struct __sanitizer_##CLASS, MEMBER) ==          \
>    ^~~~~~~~~~~~~~
> ../../../../gcc-6.4.0-RC-20170628/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:1047:1:
> note: in expansion of macro ‘CHECK_STRUCT_SIZE_AND_OFFSET’
>  CHECK_STRUCT_SIZE_AND_OFFSET(sigaction, sa_flags);
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Makefile:477: recipe for target 'sanitizer_platform_limits_posix.lo' failed
> make[4]: *** [sanitizer_platform_limits_posix.lo] Error 1
> make[4]: Leaving directory
> '/1/mator/gcc6.4.0/sparc64-unknown-linux-gnu/libsanitizer/sanitizer_common'
> Makefile:466: recipe for target 'all-recursive' failed
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> '/1/mator/gcc6.4.0/sparc64-unknown-linux-gnu/libsanitizer'
> Makefile:336: recipe for target 'all' failed
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> '/1/mator/gcc6.4.0/sparc64-unknown-linux-gnu/libsanitizer'
> Makefile:14281: recipe for target 'all-target-libsanitizer' failed
> make[1]: *** [all-target-libsanitizer] Error 2
> make[1]: Leaving directory '/1/mator/gcc6.4.0'
> Makefile:910: recipe for target 'all' failed
> make: *** [all] Error 2
> mator@ttip:/1/mator/gcc6.4.0$

Iff 6.3.0 worked then it must be caused by

r245546 | andreast | 2017-02-17 20:21:39 +0100 (Fri, 17 Feb 2017) | 9 
lines

2017-02-17  Andreas Tobler  <andreast@gcc.gnu.org>

    Backported from mainline
    2017-02-16  Andreas Tobler  <andreast@gcc.gnu.org>

    PR sanitizer/79562
    * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
    upstream r294806.


this was also pushed to the GCC 5 branch.

Anatoly, can you open a bugreport and attach preprocessed source?
Can you verify reverting r245546 makes it build again on sparc?

I notice the code in this file is unchanged on the GCC 7 branch as well.

Unless sparc-sun-solaris2.10 is also affected this won't block the
release and I'm relying on you and the target maintainers to sort
things out (confirming the above change is the culprit would be nice,
even though it doesn't sound likely).

Thanks,
Richard.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]