There is the following line in configure script:

eval `${CC-cc} -E conftest.c | grep host_address=`

Since I have GREP_OPTIONS variable in my environment which looks like
"GREP_OPTIONS=--color=always", some color codes are generated in grep's output.
The issue is the "eval ..." does not work properly in this case and the
host_address variable is empty.

I have repaired the build by replacing the line with the following:

eval `${CC-cc} -E conftest.c | grep --color=auto host_address=`


-- 
           Summary: GCC build fails due to host_address variable is empty
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: roman dot marchenko at mail dot ru
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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

Reply via email to