[Bug target/37137] [4.4 Regression] unrecognized command line option "-minterlink-mips16"

2009-05-11 Thread aoliva at gcc dot gnu dot org


--- Comment #7 from aoliva at gcc dot gnu dot org  2009-05-12 05:49 ---
Subject: Bug 37137

Author: aoliva
Date: Tue May 12 05:49:28 2009
New Revision: 147415

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147415
Log:
ChangeLog:
PR target/37137
* Makefile.def (flags_to_pass): Remove redundant and incomplete
STAGE1_CFLAGS, STAGE2_CFLAGS, STAGE3_CFLAGS, and STAGE4_CFLAGS.
Add FLAGS_FOR_TARGET and BUILD_CONFIG.
(bootstrap_stage): Remove bootstrap-debug custom stages.  Turn
stage_configureflags, stage_cflags and stage_libcflags into
explicit Makefile macros.
* Makefile.tpl (HOST_EXPORTS, EXTRA_HOST_FLAGS): Pass GCJ and
GFORTRAN.
(POSTSTAGE1_HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET and TFLAGS to
CC.  Set CC_FOR_BUILD from CC.
(BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS,
NORMAL_TARGET_EXPORTS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS and CXXFLAGS to
XGCC_FLAGS_FOR_TARGET.  Add it along with TFLAGS to CC, CXX, GCJ,
and GFORTRAN.
(TFLAGS, STAGE_CFLAGS, STAGE_TFLAGS, STAGE_CONFIGURE_FLAGS): New.
(_LIBCFLAGS): Renamed to _TFLAGS.
(do-compare-debug, do-compare3-debug): Drop.
(CC, GCC_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET,
GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET): Remove FLAGS_FOR_TARGET.
(FLAGS_FOR_TARGET, SYSROOT_CFLAGS_FOR_TARGET,
DEBUG_PREFIX_CFLAGS_FOR_TARGET): Move down.
(XGCC_FLAGS_FOR_TARGET): New.
(BASE_FLAGS_TO_PASS): Pass STAGEid_CFLAGS, STAGEid_TFLAGS and TFLAGS.
(EXTRA_HOST_FLAGS): Pass GCJ and GFORTRAN.
(POSTSTAGE1_FLAGS_TO_PASS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS, CXXFLAGS, LIBCFLAGS,
LIBCXXFLAGS to XGCC_FLAGS_FOR_TARGET.Add it along with TFLAGS
to CC, CXX, GCJ, and GFORTRAN.  Pass XGCC_FLAGS_FOR_TARGET and
TFLAGS.
(BUILD_CONFIG): Include if requested.
(all): Set TFLAGS on bootstrap.
(configure-stageid-prefixmodule): Pass TFLAGS, adjust FLAGS.
(all-stageid-prefixmodule): Likewise.
(do-clean, distclean-stageid): Set TFLAGS.
(restrap): Fix whitespace.
* Makefile.in: Rebuilt.
config/ChangeLog:
* multi.m4: Save CXX, GFORTRAN and GCJ in config.status.
* mt-gnu (CXXFLAGS_FOR_TARGET): Adjust.
* bootstrap-O1.mk: New.
* bootstrap-O3.mk: New.
* bootstrap-debug.mk: New.
gcc/ChangeLog:
PR target/37137
* doc/install.texi (STAGE1_TFLAGS, BUILD_CONFIG): Document.
gcc/java/ChangeLog:
* Make-lang.in (GCJ): Renamed to...
(XGCJ): ... this.
libjava/ChangeLog:
* configure.ac: Insert libgcjdir in the GCJ passed in the
environment, rather than overriding completely.
* configure: Rebuilt.

Added:
trunk/config/bootstrap-O1.mk
trunk/config/bootstrap-O3.mk
trunk/config/bootstrap-debug.mk
Modified:
trunk/ChangeLog
trunk/Makefile.def
trunk/Makefile.in
trunk/Makefile.tpl
trunk/config/ChangeLog
trunk/config/mt-gnu
trunk/config/multi.m4
trunk/gcc/ChangeLog
trunk/gcc/doc/install.texi
trunk/gcc/java/ChangeLog
trunk/gcc/java/Make-lang.in
trunk/libjava/ChangeLog
trunk/libjava/configure
trunk/libjava/configure.ac


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37137



[Bug target/37137] [4.4 Regression] unrecognized command line option "-minterlink-mips16"

2008-10-15 Thread bonzini at gnu dot org


--- Comment #6 from bonzini at gnu dot org  2008-10-15 12:42 ---
fixed in r141135


-- 

bonzini at gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37137



[Bug target/37137] [4.4 Regression] unrecognized command line option "-minterlink-mips16"

2008-09-23 Thread nemet at gcc dot gnu dot org


--- Comment #5 from nemet at gcc dot gnu dot org  2008-09-24 02:09 ---
I am seeing this too with a 4.1 system compiler.

It seems that CFLAGS_FOR_TARGET is incorrectly (?) used for building libiberty
in stage1 (all-stage1-libiberty).  This is not a target library but a sort of
build library built with the system compiler.  I think this happens because
STAGE1_LIBCFLAGS is incorrectly set to CFLAGS_FOR_TARGET.

For example, I can build all-stage1-libiberty if I run make with
STAGE1_LIBCFALGS=.


-- 

nemet at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||nemet at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37137



[Bug target/37137] [4.4 Regression] unrecognized command line option "-minterlink-mips16"

2008-08-28 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||build
Summary|unrecognized command line   |[4.4 Regression]
   |option "-minterlink-mips16" |unrecognized command line
   ||option "-minterlink-mips16"
   Target Milestone|--- |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37137