[Bug bootstrap/32161] stage1 libgcc is being built unoptimized
--- Comment #7 from bonzini at gnu dot org 2008-04-05 08:53 --- this was fixed -- bonzini at gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32161
[Bug bootstrap/32161] stage1 libgcc is being built unoptimized
--- Comment #6 from bonzini at gnu dot org 2008-02-20 14:11 --- Subject: Bug 32161 Author: bonzini Date: Wed Feb 20 14:10:40 2008 New Revision: 132479 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132479 Log: 2008-02-20 Paolo Bonzini <[EMAIL PROTECTED]> PR bootstrap/32009 PR bootstrap/32161 * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here. * configure: Regenerate. * Makefile.def: Define stage_libcflags for all bootstrap stages. * Makefile.tpl (STAGE1_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS, STAGE4_LIBCFLAGS): New. (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET). (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS. (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS. (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags for target modules. Don't export LIBCFLAGS. (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET. (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS). * Makefile.in: Regenerate. 2008-02-20 Paolo Bonzini <[EMAIL PROTECTED]> PR bootstrap/32009 * mh-ppc-darwin (BOOT_CFLAGS): Reenable. 2008-02-20 Paolo Bonzini <[EMAIL PROTECTED]> * doc/install.texi: Correct references to CFLAGS, replacing them with BOOT_CFLAGS. Document flags used during bootstrap for target libraries. Modified: trunk/ChangeLog trunk/Makefile.def trunk/Makefile.in trunk/Makefile.tpl trunk/config/ChangeLog trunk/config/mh-ppc-darwin trunk/configure trunk/configure.ac trunk/gcc/ChangeLog trunk/gcc/doc/install.texi -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32161
[Bug bootstrap/32161] stage1 libgcc is being built unoptimized
-- bonzini at gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bonzini at gnu dot org |dot org | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2008-02-20 07:56:10 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32161
[Bug bootstrap/32161] stage1 libgcc is being built unoptimized
--- Comment #5 from bonzini at gnu dot org 2008-02-20 07:55 --- actually it is not a dup. but I do have a patch that will solve both. -- bonzini at gnu dot org changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|DUPLICATE | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32161
[Bug bootstrap/32161] stage1 libgcc is being built unoptimized
--- Comment #4 from bonzini at gnu dot org 2007-09-02 11:29 --- *** This bug has been marked as a duplicate of 32009 *** -- bonzini at gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32161
[Bug bootstrap/32161] stage1 libgcc is being built unoptimized
--- Comment #3 from zadeck at naturalbridge dot com 2007-08-31 21:34 --- At least on the x86-32, libgcc is currently being built optimized, but the options are slightly different. the stage1 build does not do -fomit-frame-pointer. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32161
[Bug bootstrap/32161] stage1 libgcc is being built unoptimized
--- Comment #2 from bonzini at gnu dot org 2007-05-31 06:06 --- I'm not sure we actually want to build libgcc stage1 optimized. But yes, fixing 32009 will provide a way to fix this. -- bonzini at gnu dot org changed: What|Removed |Added BugsThisDependsOn||32009 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32161
[Bug bootstrap/32161] stage1 libgcc is being built unoptimized
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-05-31 01:50 --- > Comparing stages 2 and 3 > warning: ./cc1-checksum.o differs > warning: ./cc1obj-checksum.o differs > warning: ./cc1plus-checksum.o differs This has been happening for me before the branch of 4.2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32161