This is the mail archive of the gcc-patches@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: Group static constructors and destructors in specific subsections, take 2


> On Wed, Nov 10, 2010 at 04:27:17PM +0100, Jan Hubicka wrote:
> > > 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'
> > 
> > Oops, can you, please, try again with the statement at line 1517:
> >  crtl->subsections.unlikely_text_section_name = NULL
> > removed?
> > I checked that this is last occurence of this and updated my local patch.
> > 
> > Thanks for testing it!
> > 
> > Honza
> 
> Honza,
>    With the line containing...
> 
> crtl->subsections.unlikely_text_section_name = NULL
> 
> in gcc/varasm.c removed. the failure now moved to...
> 
> if [ xinfo = xinfo ]; then \
> 		makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc-4.6-20101110/gcc/doc \
> 			-I ../../gcc-4.6-20101110/gcc/doc/include -o doc/gccint.info ../../gcc-4.6-20101110/gcc/doc/gccint.texi; \
> 	fi
> ../../gcc-4.6-20101110/gcc/doc//tm.texi:7318: No matching `@end deftypefn'.
> makeinfo: Removing output file `doc/gccint.info' due to errors; use --force to preserve.

Makefile now has this funny message of copying tm.texi.in into tm.texi.  It seems that you copied
doc/tm.texi.in into doc/tm.texi while you need to copy tm.texi.in from your build directory.

Honza


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