GCC build failure, HEAD@158765 on native

regress regress@apple.com
Tue Apr 27 05:25:00 GMT 2010


With your recent patch, GCC HEAD revision 158765 had problems on:
native: build (about the same as the previous build)
Attached is build output for those targets.
The previous build was of revision 158761.

Log information for changes since the last build:
------------------------------------------------------------------------
r158762 | davek | 2010-04-26 19:22:40 -0700 (Mon, 26 Apr 2010) | 53 lines
Changed paths:
   M /trunk/ChangeLog
   M /trunk/configure.ac
   M /trunk/gcc/Makefile.in
   M /trunk/gcc/collect2.c
   M /trunk/gcc/config/i386/t-cygming
   M /trunk/gcc/config/i386/winnt.c
   M /trunk/gcc/config.gcc
   M /trunk/gcc/configure
   M /trunk/gcc/configure.ac
   M /trunk/gcc/lto/ChangeLog
   M /trunk/gcc/lto/Make-lang.in
   A /trunk/gcc/lto/lto-coff.c
   A /trunk/gcc/lto/lto-coff.h
   M /trunk/gcc/testsuite/ChangeLog
   M /trunk/gcc/testsuite/lib/lto.exp

ChangeLog:

	PR lto/42776
	* configure.ac (--enable-lto): Refactor handling so libelf tests
	are only performed inside then-clause of ACX_ELF_TARGET_IFELSE,
	and allow LTO to be explicitly enabled on non-ELF platforms that
	are known to support it inside else-clause.
	* configure: Regenerate.

gcc/ChangeLog:

	PR lto/42776
	* configure.ac (gcc_cv_as_section_has_align): Set if installed
	binutils supports extended .section directive needed by LTO, or
	warn if older binutils found.
	(LTO_BINARY_READER): New AC_SUBST'd variable.
	(LTO_USE_LIBELF): Likewise.
	* gcc/config.gcc (lto_binary_reader): New target-specific configure
	variable.
	* gcc/Makefile.in (LTO_BINARY_READER): Import AC_SUBST'd autoconf var.
	(LTO_USE_LIBELF): Likewise.
	* configure: Regenerate.

	* collect2.c (is_elf): Rename from this ...
	(is_elf_or_coff): ... to this, and recognize and allow i386 COFF
	 object files in addition to ELF-formatted ones.
	(scan_prog_file): Caller updated.  Also allow for LTO info marker
	symbol to be prefixed or not by an extra underscore.

	* config/i386/t-cygming (winnt.o): Also depend on LTO_STREAMER_H.
	* config/i386/winnt.c: Also #include lto-streamer.h
	(i386_pe_asm_named_section): Specify 1-byte section alignment for
	LTO named sections.
	(i386_pe_asm_output_aligned_decl_common): Add comment.
	(i386_pe_maybe_record_exported_symbol): Allow decl arg to be NULL.

gcc/lto/ChangeLog:

	PR lto/42776
	* Make-lang.in (LTO_OBJS): Use LTO_BINARY_READER instead of
	hardcoding 'lto-elf.o'.
	($(LTO_EXE)): Use LTO_USE_LIBELF instead of hardcoding '-lelf'.

	* lto-coff.h: New file.
	* lto-coff.c: Likewise.

gcc/testsuite/ChangeLog:

	PR lto/42776
	* lib/lto.exp (lto_prune_vis_warns): New function.
	(lto-link-and-maybe-run): Call it.


------------------------------------------------------------------------
r158763 | davek | 2010-04-26 19:23:56 -0700 (Mon, 26 Apr 2010) | 14 lines
Changed paths:
   M /trunk/configure

Missing file from last commit!

ChangeLog:

2010-04-27  Dave Korn  <dave.korn.cygwin@gmail.com>

	PR lto/42776
	* configure.ac (--enable-lto): Refactor handling so libelf tests
	are only performed inside then-clause of ACX_ELF_TARGET_IFELSE,
	and allow LTO to be explicitly enabled on non-ELF platforms that
	are known to support it inside else-clause.
	* configure: Regenerate.


------------------------------------------------------------------------
r158764 | davek | 2010-04-26 19:24:51 -0700 (Mon, 26 Apr 2010) | 44 lines
Changed paths:
   M /trunk/gcc/ChangeLog

Missing changelog from last commit!

ChangeLog:

2010-04-27  Dave Korn  <dave.korn.cygwin@gmail.com>

	PR lto/42776
	* configure.ac (--enable-lto): Refactor handling so libelf tests
	are only performed inside then-clause of ACX_ELF_TARGET_IFELSE,
	and allow LTO to be explicitly enabled on non-ELF platforms that
	are known to support it inside else-clause.
	* configure: Regenerate.

gcc/ChangeLog


2010-04-27  Dave Korn  <dave.korn.cygwin@gmail.com>

	PR lto/42776
	* configure.ac (gcc_cv_as_section_has_align): Set if installed
	binutils supports extended .section directive needed by LTO, or
	warn if older binutils found.
	(LTO_BINARY_READER): New AC_SUBST'd variable.
	(LTO_USE_LIBELF): Likewise.
	* gcc/config.gcc (lto_binary_reader): New target-specific configure
	variable.
	* gcc/Makefile.in (LTO_BINARY_READER): Import AC_SUBST'd autoconf var.
	(LTO_USE_LIBELF): Likewise.
	* configure: Regenerate.

	* collect2.c (is_elf): Rename from this ...
	(is_elf_or_coff): ... to this, and recognize and allow i386 COFF
	 object files in addition to ELF-formatted ones.
	(scan_prog_file): Caller updated.  Also allow for LTO info marker
	symbol to be prefixed or not by an extra underscore.

	* config/i386/t-cygming (winnt.o): Also depend on LTO_STREAMER_H.
	* config/i386/winnt.c: Also #include lto-streamer.h
	(i386_pe_asm_named_section): Specify 1-byte section alignment for
	LTO named sections.
	(i386_pe_asm_output_aligned_decl_common): Add comment.
	(i386_pe_maybe_record_exported_symbol): Allow decl arg to be NULL.


------------------------------------------------------------------------
r158765 | pzhao | 2010-04-26 19:40:19 -0700 (Mon, 26 Apr 2010) | 18 lines
Changed paths:
   M /trunk/gcc/ChangeLog
   M /trunk/gcc/c-typeck.c
   M /trunk/gcc/testsuite/ChangeLog
   M /trunk/gcc/testsuite/gcc.dg/Walways-true-1.c
   M /trunk/gcc/testsuite/gcc.dg/Walways-true-2.c
   M /trunk/gcc/testsuite/gcc.dg/misc-column.c
   A /trunk/gcc/testsuite/gcc.dg/pr32207.c
   M /trunk/gcc/testsuite/gcc.dg/warn-addr-cmp.c

gcc/
2010-04-27  Shujing Zhao  <pearly.zhao@oracle.com>

        PR c/32207
        * c-typeck.c (build_binary_op): Move forward check for comparison
        pointer with null pointer constant and adjust the diagnostic message.

gcc/testsuite/
2010-04-27  Shujing Zhao  <pearly.zhao@oracle.com>

        PR c/32207
        * gcc.dg/pr32207.c: New test.
        * gcc.dg/misc-column.c: Adjust expected warning.
        * gcc.dg/Walways-true-1.c: Likewise.
        * gcc.dg/Walways-true-2.c: Likewise.
        * gcc.dg/warn-addr-cmp.c: Likewise.


------------------------------------------------------------------------

For more information, see <http://gcc.gnu.org/regtest/HEAD/>.

-------------- next part --------------
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
checking for powerpc-apple-darwin9.8.0-ar... ar
checking for powerpc-apple-darwin9.8.0-lipo... lipo
checking for powerpc-apple-darwin9.8.0-nm... /Users/regress/tbox/native/build/./gcc/nm
checking for powerpc-apple-darwin9.8.0-ranlib... ranlib -c
checking for powerpc-apple-darwin9.8.0-strip... strip
checking whether ln -s works... yes
checking for powerpc-apple-darwin9.8.0-gcc... /Users/regress/tbox/native/build/./gcc/xgcc -B/Users/regress/tbox/native/build/./gcc/ -B/Users/regress/tbox/objs/powerpc-apple-darwin9.8.0/bin/ -B/Users/regress/tbox/objs/powerpc-apple-darwin9.8.0/lib/ -isystem /Users/regress/tbox/objs/powerpc-apple-darwin9.8.0/include -isystem /Users/regress/tbox/objs/powerpc-apple-darwin9.8.0/sys-include   
checking for suffix of object files... configure: error: in `/Users/regress/tbox/native/build/powerpc-apple-darwin9.8.0/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage2-target-libgcc] Error 1
make[1]: *** [stage2-bubble] Error 2
make: *** [bootstrap] Error 2
+ '[' -s .bad_compare ']'
+ exit 1
-------------- next part --------------

-- 
Geoffrey Keating <geoffk@apple.com> 
(via an automated GCC regression-testing script.)


More information about the Gcc-regression mailing list