Please test gh832_has_mt

Reini Urban rurban at x-ray.at
Sun Sep 2 13:35:59 UTC 2012


Great, thanks!
I'm on the beach during labour day weekend, so I cannot test the rest
easily. But I'll fix it ASAP.
 On Sep 2, 2012 7:58 AM, "Gerhard R." <gerd.r.devel at googlemail.com> wrote:

> > Can you please also test gh823_has_mt if it can be merged?
>
> I tried a native Windows build using Strawberry Perl + MSVC instead of
> Cygwin, which failed:
>
> First, auto::va_ptr dies because of the invocation
>
>   cl  -D_CRT_SECURE_NO_DEPRECATE -DHASATTRIBUTE_DEPRECATED -wd4101
> -DHASATTRIBUTE_NORETURN -wd4101 -DVA_TYPE_REGISTER-I./include -c
> test_5836.c
>
> which can be worked around via
>
> diff --git a/lib/Parrot/Configure/Utils.pm b/lib/Parrot/Configure/Utils.pm
> index 96d4ecf..2e8ef74 100644
> --- a/lib/Parrot/Configure/Utils.pm
> +++ b/lib/Parrot/Configure/Utils.pm
> @@ -134,7 +134,7 @@ sub _build_compile_command {
>          if @incs;
>      }
>      else {
> -        $cc_args .= "-I./include -c";
> +        $cc_args .= " -I./include -c";
>      }
>      return "$cc $ccflags $cc_args test_$$.c";
>  }
>
> Once that's done, your detection of mt.exe appears to work
> (config_lib.pir contains an entry for has_mt), but I get the following
> linking failure
>
>   env.obj : error LNK2001: unresolved external symbol _environ
>
> Gerhard R.
> _______________________________________________
> http://lists.parrot.org/mailman/listinfo/parrot-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20120902/a902f1d5/attachment.html>


More information about the parrot-dev mailing list