Closed p5pRT closed 11 years ago
The toolchain is not installed on the target when cross-compiling. So\, this test must be skipped\, see patch below.
(info for dual life modules with same issue : - ExtUtils-MakeMaker : see https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/69, merged and shipped with 6.77_02 - Module-Builder : see https://github.com/Perl-Toolchain-Gang/Module-Build/pull/30 - ExtUtils-Constant : see https://rt.cpan.org/Ticket/Display.html?id=88645 - ExtUtils-Install : see https://rt.cpan.org/Ticket/Display.html?id=88644 )
On Fri Sep 13 00:35:36 2013\, fperrad wrote:
The toolchain is not installed on the target when cross-compiling. So\, this test must be skipped\, see patch below.
Thanks\, applied as 21869cac5ad982d653d92969f57df591682e8998.
Tony
The RT System itself - Status changed from 'new' to 'open'
@tonycoz - Status changed from 'open' to 'resolved'
On Fri\, Sep 13\, 2013 at 4:35 AM\, Francois PERRAD \perlbug\-followup@​perl\.orgwrote:
# New Ticket Created by Francois PERRAD # Please include the string: [perl #119769] # in the subject line of all future correspondence about this issue. # \<URL: https://rt-archive.perl.org/perl5/Ticket/Display.html?id=119769 >
This is a bug report for perl from francois.perrad@gadz.org\, generated with the help of perlbug 1.39 running under perl 5.18.1.
----------------------------------------------------------------- [Please describe your issue here]
The toolchain is not installed on the target when cross-compiling. So\, this test must be skipped\, see patch below.
(info for dual life modules with same issue : - ExtUtils-MakeMaker : see https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/69, merged and shipped with 6.77_02 - Module-Builder : see https://github.com/Perl-Toolchain-Gang/Module-Build/pull/30 - ExtUtils-Constant : see https://rt.cpan.org/Ticket/Display.html?id=88645 - ExtUtils-Install : see https://rt.cpan.org/Ticket/Display.html?id=88644 )
diff --git a/lib/ExtUtils/t/Embed.t b/lib/ExtUtils/t/Embed.t index 7a83c98..380ae93 100644 --- a/lib/ExtUtils/t/Embed.t +++ b/lib/ExtUtils/t/Embed.t @@ -12\,6 +12\,10 @@ use ExtUtils::Embed; use File::Spec;
+if ( $Config{'usecrosscompile'} ) { + print "1..0 # SKIP no toolchain installed when cross-compiling\n"; + exit 0; +} open(my $fh\,">embed_test.c") || die "Cannot open embed_test.c:$!"; print $fh \; close($fh); -- 1.7.9.5
Pardons\, dropped the ball on this one. I meant to reply before it got applied\, but oh well.
It's not necessarily true that the toolchain is not installed when cross-compiling. Particularly\, with castaway's branch\, it is installed\, but generally useless *unless* the target OS does a bit of extra legwork to have all the proper binaries with the correct names in place. That might seem like a stretch\, but I bet that a bunch of people on the list have a device that does exactly that: the Raspberry Pi. You cross-compile using arm-linux-gnueabihf-gcc\, and the raspi itself provides a arm-linux-gnueabihf-gcc\, which is a symlink to gcc.
The applied patch isn't intrusive and does help the current cross-compilation situation\, so no need to revert it or anything\, but whenever castaway's branch is merged we can deal with this better\, perhaps doing something like this: https://github.com/Hugmeir/utf8mess/commit/e4c8127787478ea81e5de0e6d358146940908433
On Mon\, Sep 16\, 2013 at 09:40:54PM -0300\, Brian Fraser wrote:
The applied patch isn't intrusive and does help the current cross-compilation situation\, so no need to revert it or anything\, but whenever castaway's branch is merged we can deal with this better\, perhaps doing something like this: https://github.com/Hugmeir/utf8mess/commit/e4c8127787478ea81e5de0e6d358146940908433
What's the chance of at least part of castaway's branch landing?
I suspect having it land as one huge chunk is going to be painful.
Tony
On Mon\, Sep 16\, 2013 at 9:48 PM\, Tony Cook \tony@​develop\-help\.com wrote:
On Mon\, Sep 16\, 2013 at 09:40:54PM -0300\, Brian Fraser wrote:
The applied patch isn't intrusive and does help the current cross-compilation situation\, so no need to revert it or anything\, but whenever castaway's branch is merged we can deal with this better\, perhaps doing something like this:
https://github.com/Hugmeir/utf8mess/commit/e4c8127787478ea81e5de0e6d358146940908433
What's the chance of at least part of castaway's branch landing?
I suspect having it land as one huge chunk is going to be painful.
From a quick look\, if the ~20 not-android-related commits that change Configure land\, everything else is pretty self-contained and should be easy to feed incrementally. Tux said those needed to be okay'd by Nicholas and rjbs beforehand\, though. With just the Configure-specific bits\, you could get a full(?) perl on the raspi\, and a half-working perl in android that's closer to miniperl than anything else\, but a perl nonetheless. Tests for both would only go as far as porting/. A roadblock is that it'll break WinCE again\, because those Makefiles need to be updated manually.
On Mon\, 16 Sep 2013 22:06:08 -0300\, Brian Fraser \fraserbn@​gmail\.com wrote:
On Mon\, Sep 16\, 2013 at 9:48 PM\, Tony Cook \tony@​develop\-help\.com wrote:
On Mon\, Sep 16\, 2013 at 09:40:54PM -0300\, Brian Fraser wrote:
The applied patch isn't intrusive and does help the current cross-compilation situation\, so no need to revert it or anything\, but whenever castaway's branch is merged we can deal with this better\, perhaps doing something like this:
https://github.com/Hugmeir/utf8mess/commit/e4c8127787478ea81e5de0e6d358146940908433
What's the chance of at least part of castaway's branch landing?
I suspect having it land as one huge chunk is going to be painful.
From a quick look\, if the ~20 not-android-related commits that change Configure land\, everything else is pretty self-contained and should be easy to feed incrementally. Tux said those needed to be okay'd by Nicholas and rjbs beforehand\, though. With just the Configure-specific bits\, you could get a full(?) perl on the raspi\, and a half-working perl in android that's closer to miniperl than anything else\, but a perl nonetheless. Tests for both would only go as far as porting/. A roadblock is that it'll break WinCE again\, because those Makefiles need to be updated manually.
I need signals well in advance please\, so I can start the work. If I integrate this branch\, I will have to break down all the Configure changes into separate diff's for meta\, and I will regenerate Configure into one single blead commit\, unless higher powers want to see each commit back in Configure changes like cherry-picks (which they are not)
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.19 porting perl5 on HP-UX\, AIX\, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
2013/9/17 Brian Fraser \fraserbn@​gmail\.com:
On Fri\, Sep 13\, 2013 at 4:35 AM\, Francois PERRAD \perlbug\-followup@​perl\.org wrote:
# New Ticket Created by Francois PERRAD # Please include the string: [perl #119769] # in the subject line of all future correspondence about this issue. # \<URL: https://rt-archive.perl.org/perl5/Ticket/Display.html?id=119769 >
This is a bug report for perl from francois.perrad@gadz.org\, generated with the help of perlbug 1.39 running under perl 5.18.1.
----------------------------------------------------------------- [Please describe your issue here]
The toolchain is not installed on the target when cross-compiling. So\, this test must be skipped\, see patch below.
(info for dual life modules with same issue : - ExtUtils-MakeMaker : see https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/69, merged and shipped with 6.77_02 - Module-Builder : see https://github.com/Perl-Toolchain-Gang/Module-Build/pull/30 - ExtUtils-Constant : see https://rt.cpan.org/Ticket/Display.html?id=88645 - ExtUtils-Install : see https://rt.cpan.org/Ticket/Display.html?id=88644 )
diff --git a/lib/ExtUtils/t/Embed.t b/lib/ExtUtils/t/Embed.t index 7a83c98..380ae93 100644 --- a/lib/ExtUtils/t/Embed.t +++ b/lib/ExtUtils/t/Embed.t @@ -12\,6 +12\,10 @@ use ExtUtils::Embed; use File::Spec;
+if ( $Config{'usecrosscompile'} ) { + print "1..0 # SKIP no toolchain installed when cross-compiling\n"; + exit 0; +} open(my $fh\,">embed_test.c") || die "Cannot open embed_test.c:$!"; print $fh \; close($fh); -- 1.7.9.5
Pardons\, dropped the ball on this one. I meant to reply before it got applied\, but oh well.
It's not necessarily true that the toolchain is not installed when cross-compiling. Particularly\, with castaway's branch\, it is installed\, but generally useless *unless* the target OS does a bit of extra legwork to have all the proper binaries with the correct names in place. That might seem like a stretch\, but I bet that a bunch of people on the list have a device that does exactly that: the Raspberry Pi. You cross-compile using arm-linux-gnueabihf-gcc\, and the raspi itself provides a arm-linux-gnueabihf-gcc\, which is a symlink to gcc.
The applied patch isn't intrusive and does help the current cross-compilation situation\, so no need to revert it or anything\, but whenever castaway's branch is merged we can deal with this better\, perhaps doing something like this: https://github.com/Hugmeir/utf8mess/commit/e4c8127787478ea81e5de0e6d358146940908433
well\, looks better than my initial patch.
so\, I improve my work with a new patch.
François
Migrated from rt.perl.org#119769 (status was 'resolved')
Searchable as RT119769$