This is the mail archive of the gcc-bugs@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]

[Bug bootstrap/39616] New: Stage 2 Werror - trunk revision 145459 - libcpp/identifiers.c:113: error: variably modified 'proxy_assertion_broken' at file scope


The build is blocked by a Stage 2 Werror (we reject our own code). 
I can continue with an exclusion. Workaround is to compile single
file without "-Werror".


# cat stage_current
stage2

# uname -a
OpenBSD openbsd.localdomain 4.5 GENERIC#19 i386

# prev-gcc/xgcc -v
Using built-in specs.
Target: i386-unknown-openbsd4.5
Configured with: /home/user/gcc_trunk/configure --prefix=/usr/obj/gcc_installed
--enable-languages=c,c++,fortran,java,objc,obj-c++ --with-as=/usr/bin/as
--with-ld=/usr/bin/ld --with-gnu-as --with-gnu-ld --enable-sjlj-exceptions
--enable-shared --sysconfdir=/etc --mandir=/usr/local/man
--infodir=/usr/local/man --enable-multilib --disable-stage1-checking
--enable-checking=release --with-system-zlib --with-gmp=/usr/local
--with-mpfr=/usr/local
Thread model: single
gcc version 4.5.0 20090402 (experimental) [trunk revision 145459] (GCC)

/usr/gcc_build/./prev-gcc/xgcc -B/usr/gcc_build/./prev-gcc/
-B/usr/obj/gcc_installed/i386-unknown-openbsd4.5/bin/ 
-I/home/user/gcc_trunk/libcpp -I. -I/home/user/gcc_trunk/libcpp/../include
-I./../intl -I/home/user/gcc_trunk/libcpp/include  -g -O2 -fomit-frame-pointer
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long
-Werror -I/home/user/gcc_trunk/libcpp -I.
-I/home/user/gcc_trunk/libcpp/../include -I./../intl
-I/home/user/gcc_trunk/libcpp/include  -c -o identifiers.o -MT identifiers.o
-MMD -MP -MF .deps/identifiers.Tpo /home/user/gcc_trunk/libcpp/identifiers.c
cc1: warnings being treated as errors
/home/user/gcc_trunk/libcpp/identifiers.c:113: error: variably modified
'proxy_assertion_broken' at file scope
/home/user/gcc_trunk/libcpp/identifiers.c:113: error: ISO C90 forbids array
'proxy_assertion_broken' whose size can't be evaluated
gmake[3]: *** [identifiers.o] Error 1
gmake[3]: Leaving directory `/usr/gcc_build/libcpp'
gmake[2]: *** [all-stage2-libcpp] Error 2
gmake[2]: Leaving directory `/usr/gcc_build'
gmake[1]: *** [stage2-bubble] Error 2
gmake[1]: Leaving directory `/usr/gcc_build'
gmake: *** [all] Error 2

Thanks,
Rob


-- 
           Summary: Stage 2 Werror - trunk revision 145459 -
                    libcpp/identifiers.c:113: error: variably modified
                    'proxy_assertion_broken' at file scope
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: *
  GCC host triplet: *
GCC target triplet: *


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39616


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