------- 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