delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4EFCE839.4070904@cpan.org> |
Date: | Thu, 29 Dec 2011 17:22:49 -0500 |
From: | Rafael Kitover <rkitover AT cpan DOT org> |
Reply-To: | rkitover AT cpan DOT org |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
MIME-Version: | 1.0 |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Subject: | broke my perlbrewed perl with rebase |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
I made a perl to test some stuff with perlbrew, a 5.12.0. I installed some CPAN modules into it, then I needed to rebase because of mapping errors. I made a copy of perlrebase and modified it thusly: #!/bin/sh baseaddr=0x57000000 perl=`which perl` dll=$(ldd $perl | $perl -anle 'print $F[2] if /cygperl/') echo $dll >> rebase.lst /usr/bin/find ~/perl5 -name \*.dll >> rebase.lst /usr/bin/cat rebase.lst | /usr/bin/xargs chmod ug+w [ -e /usr/bin/peflags.exe ] && /usr/bin/peflags -t $perl /usr/bin/rebase -v -b $baseaddr -T rebase.lst [ -e /usr/bin/peflags.exe ] && /usr/bin/grep \.dll rebase.lst \ | /usr/bin/peflags -d0 -T - >/dev/null perlbrew puts its stuff into ~/perl5/perlbrew I ran this script, and now my perlbrewed perl no longer works at all. It exits immediately when I run it, not even perl -v works. This is what I see in gdb `which perl` after doing a run: Starting program: /c/Users/rkitover/perl5/perlbrew/perls/perl-5.12.0/bin/perl [New Thread 8156.0x9ec] [Inferior 1 (process 8156) exited with code 030000000005] The perlbrew command I used was: perlbrew install -n -j 3 perl-5.12.0 -D DEBUGGING -D optimize="-ggdb3" -D usethreads Did I do something wrong with rebase here? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |