The addition of AM_MAKEFLAGS to libgfortran Makefile to fix a cross-compiler
problem significantly increases the size of the process environment to the point
that the arg list plus the environment is greater than MAX_ARG on AIX.

AM_MAKEFLAGS appears to be completely redundant and unnecessary in any target
library, except for specific options that should be passed using flags_to_pass.

AM_MAKEFLAGS is present in all target library makefiles.  It performs an
additional variable expansion and substitution that fixes a bad substitution of
CC_FOR_TARGET into CC when cross-compiling that does not occur when building
native.  The cause of the different behavior has not been determined.

-- 
           Summary: libgfortran AM_MAKEFLAGS arg list + environment too
                    large
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: critical
          Priority: P1
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dje at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-ibm-aix5.2.0.0
  GCC host triplet: powerpc-ibm-aix5.2.0.0
GCC target triplet: powerpc-ibm-aix5.2.0.0


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

Reply via email to