This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Group static constructors and destructors in specific subsections, take 2
- From: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, Richard Henderson <rth at redhat dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>, gcc-patches at gcc dot gnu dot org, rguenther at suse dot de, iains at gcc dot gnu dot org, tglek at mozilla dot com
- Date: Wed, 10 Nov 2010 09:58:39 -0500
- Subject: Re: Group static constructors and destructors in specific subsections, take 2
- References: <20101014203817.GB15487@kam.mff.cuni.cz> <Pine.LNX.4.64.1010142044200.2442@digraph.polyomino.org.uk> <4CB7716E.3000605@redhat.com> <20101110042452.GA2722@kam.mff.cuni.cz> <20101110141501.GA9662@bromo.med.uc.edu> <mcrzkthw7np.fsf@google.com>
On Wed, Nov 10, 2010 at 06:54:50AM -0800, Ian Lance Taylor wrote:
> Jack Howarth <howarth@bromo.med.uc.edu> writes:
>
> > This patch is causing a bootstrap failure on x86_64-apple-darwin10 with the error...
> >
> > makeinfo: Removing output file `doc/gccint.info' due to errors; use --force to preserve.
> > gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.6-20101110/gcc -I../../gcc-4.6-20101110/gcc/build -I../../gcc-4.6-20101110/gcc/../include -I../../gcc-4.6-20101110/gcc/../libcpp/include -I/sw/include -I/sw/include -I../../gcc-4.6-20101110/gcc/../libdecnumber -I../../gcc-4.6-20101110/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/include -I/sw/include -DCLOOG_PPL_BACKEND -I/sw/include \
> > -o build/gencodes.o ../../gcc-4.6-20101110/gcc/gencodes.c
> > make[3]: *** [doc/gccint.info] Error 1
> > make[3]: *** Waiting for unfinished jobs....
>
> That's not the error, that's just the part which says that there were
> errors. There should be more output from makeinfo earlier in the log
> which shows the real error.
>
> Ian
Ian,
Opps. Looks like the real error may be...
# make
[ -f stage_final ] || echo stage3 > stage_final
rm -f stage_current
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6-20101110/gcc -I../../gcc-4.6-20101110/gcc/. -I../../gcc-4.6-20101110/gcc/../include -I../../gcc-4.6-20101110/gcc/../libcpp/include -I/sw/include -I/sw/include -I../../gcc-4.6-20101110/gcc/../libdecnumber -I../../gcc-4.6-20101110/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/include -I/sw/include -DCLOOG_PPL_BACKEND -I/sw/include ../../gcc-4.6-20101110/gcc/varasm.c -o varasm.o
../../gcc-4.6-20101110/gcc/varasm.c: In function 'assemble_start_function':
../../gcc-4.6-20101110/gcc/varasm.c:1517: error: 'struct function_subsections' has no member named 'unlikely_text_section_name'
../../gcc-4.6-20101110/gcc/varasm.c: In function 'output_constructor_bitfield':
../../gcc-4.6-20101110/gcc/varasm.c:4832: warning: unknown conversion type character 'E' in format
../../gcc-4.6-20101110/gcc/varasm.c:4832: warning: too many arguments for format
../../gcc-4.6-20101110/gcc/varasm.c: In function 'finish_aliases_1':
../../gcc-4.6-20101110/gcc/varasm.c:5610: warning: unknown conversion type character 'E' in format
../../gcc-4.6-20101110/gcc/varasm.c:5610: warning: too many arguments for format
../../gcc-4.6-20101110/gcc/varasm.c:5624: warning: unknown conversion type character 'E' in format
../../gcc-4.6-20101110/gcc/varasm.c:5624: warning: too many arguments for format
make[3]: *** [varasm.o] Error 1
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2