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: Mainline bootstrap broken by Zdenek Dvorak


Hello,

> 2004-06-14  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
> 
>         * Makefile.in (FLAGS_H): New.
>         (flags.h): Replace by FLAGS_H.
>         * c.opt: Document Var, VarExists, Init and Report attributes.
>         * common.opt: Fill the values of the attributes.
>         * diagnostic.c (flag_fatal_errors): Do not define.
>         * except.c (flag_non_call_exceptions): Do not define.
>         * flags.h: Include options.h.  Remove declarations conflicting with
>         the automatically defined ones.
>         * opts.c: Remove automatically defined variables.
>         (handle_option): Perform default initialization.
>         (common_handle_option): Do not handle options covered by the
>         default initialization.
>         * opts.h (struct cl_option): Add flag_var, has_set_value and set_value
>         fields.
>         (CL_REPORT): New.
>         * opts.sh: Generate variable declarations, handle CL_REPORT.
>         * toplev.c: Remove automatically defined variables.
>         (f_options): Removed.
>         (print_switch_values): Use cl_options instead of f_options.
>         * toplev.h (version_flag): Declaration removed.
> 
> leads to this failure
> 
> gmake[2]: Entering directory `/usr/home/sgk/obj/gcc'
> AWK=nawk /bin/sh ../../gcc/gcc/opts.sh \
>                '/bin/sh ../../gcc/gcc/../move-if-change' \
>                options.c options.h ../../gcc/gcc/fortran/lang.opt ../../gcc/gcc/c.opt ../../gcc/gcc/common.opt
> nawk: illegal primary in regular expression ).* at .*
>  source line number 29
>  context is
>                 sub(").*", "", >>>  flags) <<< ;
> mv: rename tmp-options.h to options.h: No such file or directory
> mv: rename tmp-options.c to options.c: No such file or directory
> gmake[2]: *** [s-options] Error 1
> gmake[2]: Leaving directory `/usr/home/sgk/obj/gcc'
> gmake[1]: *** [stage1_build] Error 2
> gmake[1]: Leaving directory `/usr/home/sgk/obj/gcc'
> gmake: *** [bootstrap] Error 2

fixed already.

Zdenek


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