-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross Compile Failed issues #10753
Comments
From jian_zhou@realsil.com.cnHello, I¡¯m trying to porting perl-5.10.1 interpreter into my mips-linux My host is i386-linux. I am following the instructions in perl-5.10.1/Cross/README: 1) You should be reading me (README) in perl-5.x.y/Cross 2) Make sure you are in the Cross directory. 3) Edit the file 'config' to contain your target platform information. 4) make patch ## This will patch the existing source-tree. 5) make perl ## Will make perl First I changed ¡®config¡¯ like this: ### Target Arch #ARCH = arm #ARCH = i386-pc #ARCH = sh4 ARCH = mips #ARCH = mipsel #ARCH = ppc ## Specific arm #CONFIG_TARGET_ARM_SA11X0 = 1 #CONFIG_TARGET_ARM_XSCALE = 1 ### Target OS OS = linux #OS = solaris2.8 Then enter the command: make patch, but it failed like this: ¡¡ patching file Makefile.SH Reversed (or previously applied) patch detected! Assume -R? [n] y Hunk #1 succeeded at 160 (offset 31 lines). Hunk #2 FAILED at 420. Hunk #3 FAILED at 432. Hunk #4 FAILED at 610. Hunk #5 FAILED at 618. Hunk #6 succeeded at 954 with fuzz 1 (offset 200 lines). Hunk #7 FAILED at 963. Hunk #8 FAILED at 1037. Hunk #9 FAILED at 1150. Hunk #10 FAILED at 1301. Hunk #11 FAILED at 1414. 9 out of 11 hunks FAILED -- saving rejects to file Makefile.SH.rej missing header for unified diff at line 3 of patch patching file installperl Hunk #1 FAILED at 3. Hunk #2 FAILED at 946. 2 out of 2 hunks FAILED -- saving rejects to file installperl.rej ¡¡¡ Is there anything wrong? JIan Zhou Thanks, |
From @jkeenanOn Fri Oct 22 01:18:11 2010, jian_zhou@realsil.com.cn wrote:
This seems more like an everyday failure in using 'patch'. Have you
List: This ticket was filed more than 2-1/2 years ago, but never Thank you very much. |
The RT System itself - Status changed from 'new' to 'open' |
From @dcollinsnFor what it's worth, make patch also (still?) fails for me when making the changes described by the OP. I do suspect this is a case of bitrot, as the patches no longer cleanly apply to the base files. I may look into this more later, when I'm not SSHing from my phone, but at minimum this is confirmed, and I intend to find or create a meta-ticket for cross compilation issues. -- |
Migrated from rt.perl.org#78524 (status was 'open')
Searchable as RT78524$
The text was updated successfully, but these errors were encountered: