Discussion:
Inline::CPP now on GitHub
David Oswald
2012-01-04 08:44:21 UTC
Permalink
Just an FYI to the Inline list:

Inline::CPP now has a GitHub repository, here:

https://github.com/daoswald/Inline-CPP

Currently I've got version 0.33 on there. I'll be AFK from three
days, but when I return I'll create a dev branch with 0.33_001, _002,
and _003 on it. That way once we're satisfied with the stability of
the dev branch it can be merged back to the main branch culminating in
the next stable release (0.34).

Feel free to fork, explore, commit. :)

Dave
--
David Oswald
daoswald-***@public.gmane.org
David Moore
2012-01-18 00:31:40 UTC
Permalink
I've been having trouble building on cygwin, and finally just decided to
uninstall and reinstall perl. Using the cygwin default perl 5.10 & gcc
454, Inline::C gets into an infinite test loop on taint. Am I the only
person using Inline with cygwin?

t/00init.t .............. ok
t/01syntax.t ............ ok
t/02config.t ............ ok
t/03typemap.t ........... ok
t/04perlapi.t ........... ok
t/05xsmode.t ............ ok
t/06parseregexp.t ....... ok
t/07typemap_multi.t ..... ok
t/08taint.t ............. 2/10 3 [main] perl 4640
C:\cygwin\bin\perl.exe: *** fatal error - unable to remap
\\?\C:\cygwin-prev\home\davidm2\.cpan\build\Inline-0.49-Qj8CRi\C\_Inline_test\lib\auto\_08taint_1_p_0965\_08taint_1_p_0965.dll
to same address as parent: 0x2680000 != 0x6FFC0000
Stack trace:
Frame Function Args
0082B668 6102796B (0082B668, 00000000, 00000000, 00000000)
0082B958 6102796B (6117EC60, 00008000, 00000000, 61180977)
0082C988 61004F1B (611A7FAC, 61249A2C, 02680000, 6FFC0000)
End of stack trace
3 [main] perl 9284 fork: child 4640 - died waiting for dll
loading, errno 11
5087654 [main] perl 8540 C:\cygwin\bin\perl.exe: *** fatal error -
unable to remap
\\?\C:\cygwin-prev\home\davidm2\.cpan\build\Inline-0.49-Qj8CRi\C\_Inline_test\lib\auto\_08taint_1_p_0965\_08taint_1_p_0965.dll
to same address as parent: 0x2680000 != 0x6FFC0000
Stack trace:
Frame Function Args
0082B668 6102796B (0082B668, 00000000, 00000000, 00000000)
0082B958 6102796B (6117EC60, 00008000, 00000000, 61180977)
0082C988 61004F1B (611A7FAC, 61249A2C, 02680000, 6FFC0000)
End of stack trace
5095032 [main] perl 9284 fork: child 8540 - died waiting for dll
loading, errno 11
...
chm
2012-01-18 03:33:11 UTC
Permalink
You're probably suffering from the DLL base problem
which causes DLLs loaded multiple times to get
assigned to different memory addresses. rebaseall
is the work-around for a single build but I don't
know how one would apply that to an Inline build.

--Chris
Post by David Moore
I've been having trouble building on cygwin, and finally just decided to
uninstall and reinstall perl. Using the cygwin default perl 5.10 & gcc
454, Inline::C gets into an infinite test loop on taint. Am I the only
person using Inline with cygwin?
t/00init.t .............. ok
t/01syntax.t ............ ok
t/02config.t ............ ok
t/03typemap.t ........... ok
t/04perlapi.t ........... ok
t/05xsmode.t ............ ok
t/06parseregexp.t ....... ok
t/07typemap_multi.t ..... ok
t/08taint.t ............. 2/10 3 [main] perl 4640
C:\cygwin\bin\perl.exe: *** fatal error - unable to remap
\\?\C:\cygwin-prev\home\davidm2\.cpan\build\Inline-0.49-Qj8CRi\C\_Inline_test\lib\auto\_08taint_1_p_0965\_08taint_1_p_0965.dll
to same address as parent: 0x2680000 != 0x6FFC0000
Frame Function Args
0082B668 6102796B (0082B668, 00000000, 00000000, 00000000)
0082B958 6102796B (6117EC60, 00008000, 00000000, 61180977)
0082C988 61004F1B (611A7FAC, 61249A2C, 02680000, 6FFC0000)
End of stack trace
3 [main] perl 9284 fork: child 4640 - died waiting for dll loading,
errno 11
5087654 [main] perl 8540 C:\cygwin\bin\perl.exe: *** fatal error -
unable to remap
\\?\C:\cygwin-prev\home\davidm2\.cpan\build\Inline-0.49-Qj8CRi\C\_Inline_test\lib\auto\_08taint_1_p_0965\_08taint_1_p_0965.dll
to same address as parent: 0x2680000 != 0x6FFC0000
Frame Function Args
0082B668 6102796B (0082B668, 00000000, 00000000, 00000000)
0082B958 6102796B (6117EC60, 00008000, 00000000, 61180977)
0082C988 61004F1B (611A7FAC, 61249A2C, 02680000, 6FFC0000)
End of stack trace
5095032 [main] perl 9284 fork: child 8540 - died waiting for dll
loading, errno 11
...
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1416 / Virus Database: 2109/4149 - Release Date: 01/17/12
Sisyphus
2012-01-18 08:51:40 UTC
Permalink
----- Original Message -----
From: "David Moore" <dmoore-+LH5+***@public.gmane.org>
To: <inline-***@public.gmane.org>
Sent: Wednesday, January 18, 2012 11:31 AM
Subject: building Inline:: on cygwin
Post by David Moore
I've been having trouble building on cygwin, and finally just decided to
uninstall and reinstall perl. Using the cygwin default perl 5.10 & gcc
454, Inline::C gets into an infinite test loop on taint. Am I the only
person using Inline with cygwin?
t/00init.t .............. ok
t/01syntax.t ............ ok
t/02config.t ............ ok
t/03typemap.t ........... ok
t/04perlapi.t ........... ok
t/05xsmode.t ............ ok
t/06parseregexp.t ....... ok
t/07typemap_multi.t ..... ok
t/08taint.t ............. 2/10 3 [main] perl 4640
C:\cygwin\bin\perl.exe: *** fatal error - unable to remap
\\?\C:\cygwin-prev\home\davidm2\.cpan\build\Inline-0.49-Qj8CRi\C\_Inline_test\lib\auto\_08taint_1_p_0965\_08taint_1_p_0965.dll
to same address as parent: 0x2680000 != 0x6FFC0000
Frame Function Args
0082B668 6102796B (0082B668, 00000000, 00000000, 00000000)
0082B958 6102796B (6117EC60, 00008000, 00000000, 61180977)
0082C988 61004F1B (611A7FAC, 61249A2C, 02680000, 6FFC0000)
End of stack trace
3 [main] perl 9284 fork: child 4640 - died waiting for dll loading,
errno 11
5087654 [main] perl 8540 C:\cygwin\bin\perl.exe: *** fatal error - unable
to remap
\\?\C:\cygwin-prev\home\davidm2\.cpan\build\Inline-0.49-Qj8CRi\C\_Inline_test\lib\auto\_08taint_1_p_0965\_08taint_1_p_0965.dll
to same address as parent: 0x2680000 != 0x6FFC0000
Frame Function Args
0082B668 6102796B (0082B668, 00000000, 00000000, 00000000)
0082B958 6102796B (6117EC60, 00008000, 00000000, 61180977)
0082C988 61004F1B (611A7FAC, 61249A2C, 02680000, 6FFC0000)
End of stack trace
5095032 [main] perl 9284 fork: child 8540 - died waiting for dll loading,
errno 11
...
If you don't get any satisfactory help here, I think it would be worth your
while asking on the cygwin mailing list.

I have:
CYGWIN_NT-6.0-WOW64 desktop2 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin

and Inline-0.49 builds and tests fine for me (perl-5.10.1, gcc-4.3.4) - so
there's probably a strong "Cygwin" element to the problem you face.

I'm not saying your question is off-topic here - there's quite possibly an
"Inline" element to the problem, too ;-)

Cheers,
Rob
sam
2012-07-19 08:23:41 UTC
Permalink
Post by David Moore
I've been having trouble building on cygwin, and finally just decided to
uninstall and reinstall perl. Using the cygwin default perl 5.10 & gcc
454, Inline::C gets into an infinite test loop on taint. Am I the only
person using Inline with cygwin?
t/00init.t .............. ok
t/01syntax.t ............ ok
t/02config.t ............ ok
3 [main] perl 9284 fork: child 4640 - died waiting for dll
loading, errno 11
5087654 [main] perl 8540 C:\cygwin\bin\perl.exe: *** fatal error -
unable to remap
David, I don't know whether you managed to solve the issue above. I have
exactly the same problem and I couldn't solve it. I've tried to rebaseall and
peflagsall as suggested in several forums but I had no luck.
Sisyphus
2012-07-19 10:20:26 UTC
Permalink
----- Original Message -----
From: "sam"
Post by sam
Post by David Moore
I've been having trouble building on cygwin, and finally just decided to
uninstall and reinstall perl. Using the cygwin default perl 5.10 & gcc
454, Inline::C gets into an infinite test loop on taint. Am I the only
person using Inline with cygwin?
t/00init.t .............. ok
t/01syntax.t ............ ok
t/02config.t ............ ok
3 [main] perl 9284 fork: child 4640 - died waiting for dll
loading, errno 11
5087654 [main] perl 8540 C:\cygwin\bin\perl.exe: *** fatal error -
unable to remap
David, I don't know whether you managed to solve the issue above. I have
exactly the same problem and I couldn't solve it. I've tried to rebaseall and
peflagsall as suggested in several forums but I had no luck.
This is an error that's specific to Cygwin. I don't know of anything (short
of removing the taint.t file from the source distro) that Inline can do to
alleviate the problem.
Now, that doesn't mean that there *isn't* anything that Inline could do ...
it just literally means that "I don't *know* of anything" it could do.

Does the above error kill the entire build process ? ... or does it merely
cause a test failure ?
If it just causes a test failure, you could install by using force (with
CPAN).

But if it kills the entire build process, then I would:

1) Download and extract the Inline source;
2) Remove t/taint.t from the extracted source;
3)'cd' to the top level Inline source folder and build Inline manually (ie
run 'perl Makefile.PL' and 'make test');
4)Then run 'make install' if I was happy with the output of the previous
commands.

Obviously, Inline's taint capabilities have not been tested by the above
build method - and they probably don't work. As long as you don't want to
utilise those capabilities, all should be fine.
It has been suggested to me that you'd need rocks in your head to use
Inline's taint capabilities, anyway. I don't know whether that's a fair
appraisal or not - I do know that Inline cautions you when you turn tainting
on, and I do know that *I* wouldn't make use of those capabilities.

Cheers,
Rob

Loading...