public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/40046]  New: GCC build fails due to host_address variable is empty
@ 2009-05-06 14:08 roman dot marchenko at mail dot ru
  0 siblings, 0 replies; only message in thread
From: roman dot marchenko at mail dot ru @ 2009-05-06 14:08 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-06 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-06 14:08 [Bug other/40046] New: GCC build fails due to host_address variable is empty roman dot marchenko at mail dot ru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).