[LLVMdev] More llvm-gcc build breakage

Bill Wendling wendling at apple.com
Tue Aug 12 00:39:01 PDT 2008


On Aug 11, 2008, at 6:31 PM, Julien Lerouge wrote:

> It took me a while... sorry.
>
> Rev 54193 seems to cause that failure doing a non bootstrap build on
> MingW.
>
>
>
> $ svn diff -r 54192:54193 libgcc2.c
> Index: libgcc2.c
> ===================================================================
> --- libgcc2.c   (revision 54192)
> +++ libgcc2.c   (revision 54193)
> @@ -2091,6 +2091,10 @@
> #endif
> }
>
> +#ifdef __i386__
> +extern int VirtualProtect (char *, int, int, int *)  
> __attribute__((stdcall));
> +#endif
> +
> int
> mprotect (char *addr, int len, int prot)
> {
>
>
>
> The attached patch fixes it for me, it just checks that winbase has  
> not
> already been included.
>
Applied. Thanks!

-bw




More information about the llvm-dev mailing list