inclhacks vs. latest autogen?
Ismail Dönmez
ismail@pardus.org.tr
Sun Jan 27 21:16:00 GMT 2008
Hi,
Sunday 27 January 2008 16:37:37 tarihinde Dave Korn şunları yazmıştı:
> I'm using the very latest autogen:
>
> /gnu/gcc/obj $ autogen --version
> autogen (GNU AutoGen) - The Automated Program Generator - Ver. 5.9.4
>
> It doesn't seem to like our syntax in inclhacks.def any more:
>
> checking whether to enable maintainer-specific portions of Makefiles... yes
> configure: creating ./config.status
> /bin/sh ./config.status Makefile
> config.status: creating Makefile
> make[3]: Leaving directory
> `/win/i/FSF-Gcc/obj/build-i686-pc-cygwin/fixincludes'
> make[3]: Entering directory
> `/win/i/FSF-Gcc/obj/build-i686-pc-cygwin/fixincludes'
> cd /gnu/gcc/gcc/fixincludes ; /bin/sh ./genfixes
> AutoGen-ing fixincl.x
> autogen Error: Invalid input char '*' in inclhack.def on line 1088
> Makefile:128: *** [/gnu/gcc/gcc/fixincludes/fixincl.x] Error 1
>
> #0 /gnu/gcc/gcc/fixincludes/fixincl.x at
> /win/i/FSF-Gcc/obj/build-i686-pc-cygwin/fixincludes/Makefile:128
> #1 fixincl.o at
> /win/i/FSF-Gcc/obj/build-i686-pc-cygwin/fixincludes/Makefile:116
> #2 full-stamp at
> /win/i/FSF-Gcc/obj/build-i686-pc-cygwin/fixincludes/Makefile:105
> #3 oneprocess at
> /win/i/FSF-Gcc/obj/build-i686-pc-cygwin/fixincludes/Makefile:102
> #4 all at ??
> make[3]: Leaving directory
> `/win/i/FSF-Gcc/obj/build-i686-pc-cygwin/fixincludes'
> Command-line arguments:
> "all"
> Makefile:2784: *** [all-build-fixincludes] Error 2
>
> It's pointing at some globs in shell syntax:
>
> /gnu/gcc/obj $ cat -n /gnu/gcc/gcc/fixincludes/inclhack.def | grep -C3 1088
> 1085 */
> 1086 fix = {
> 1087 hackname = bsd_stdio_attrs_conflict;
> 1088 mach = *-*-*bsd*;
> 1089 mach = *-*-*darwin*;
> 1090 files = stdio.h;
> 1091 select = "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
> /gnu/gcc/obj $
>
>
> This isn't a recent change, so I'm assuming autogen has changed. What
> versions are other people running?
I use the attached patch successfully, I didn't submit it yet because I
couldn't test it with older autogen. Testing is appreciated.
Regards,
ismail
--
Never learn by your mistakes, if you do you may never dare to try again.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: includehack.patch
Type: text/x-diff
Size: 2158 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20080127/4866ba52/attachment.bin>
More information about the Gcc
mailing list