Incompatibility of gcc-4.1.1 build with Make-3.81

Greg Schafer diy-linux-dev@diy-linux.org
Fri, 15 Dec 2006 11:21:41 +1100


On Mon, Dec 11, 2006 at 04:45:48PM +0500, Alexander E. Patrakov wrote:

> Archaic turned my attention to the following piece of GCC Chapter 6 
> build log in LFS SVN (also present in the LiveCD trunk logs):
> 
> echo | /lfs-livecd/packages/gcc/gcc-build/./gcc/xgcc 
> -B/lfs-livecd/packages/gcc/gcc-build/./gcc/ 
> -B/usr/i486-pc-linux-gnu/bin/ -B/usr/i486-pc-linux-gnu/lib/ -isystem 
> /usr/i486-pc-linux-gnu/include -isystem 
> /usr/i486-pc-linux-gnu/sys-include -E -dM - | \
>          sed -n 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p ; \
>                s/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
>          sort -u > tmp-macro_list
> sed: -e expression #1, char 88: unterminated address regex
> 
> This bug goes away if I downgrade Make to 3.80. Alternatively, the 
> attached patch (backported from gcc-4_2-branch) has to be applied.

Thanks for the report. But please note the bug is completely harmless from
our POV so I will not be fixing it.

This bit of Makefile affects creation of the file `macro_list' which is used
in the fixincludes process. And seeing as we disable fixincludes.. there is
nil effect on the installed compiler.

Regards
Greg