forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Latest toolchain patch errors...

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development
View previous topic :: View next topic  
Author Message
TommyBear



Joined: 24 Jun 2005
Posts: 50

PostPosted: Sat Jun 09, 2007 3:27 pm    Post subject: Latest toolchain patch errors... Reply with quote

Do you guys know what I may have broken?

While binutils is being patched I get this:

Hunk #1 FAILED at 1.
Hunk #2 FAILED at 17.
2 out of 2 hunks FAILED -- saving rejects to file ld/testsuite/ld-pe/pe.exp.rej
patching file ld/testsuite/ld-pe/secrel.d
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-pe/secrel.d.rej

This is with the latest PS3Toolchain out of svn, I'm also running the shell script to perform the installation.

This is the contents of pe.exp.rej:

Code:


***************
*** 1,5 ****
  # Expect script for export table in executables tests
- #   Copyright 2004
  #   Free Software Foundation, Inc.
  #
  # This file is free software; you can redistribute it and/or modify
--- 1,5 ----
  # Expect script for export table in executables tests
+ #   Copyright 2004, 2006
  #   Free Software Foundation, Inc.
  #
  # This file is free software; you can redistribute it and/or modify
***************
*** 17,25 ****
  # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
  #
   
- # This test can only be run on i386 PE/COFF platforms.
- if { ![istarget i*86-*-cygwin*] && ![istarget i*86-*-pe]
-      && ![istarget i*86-*-mingw*] } {
      return
  }
 
--- 17,28 ----
  # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
  #
   
+ # This test can only be run on PE/COFF platforms that support .secrel32.
+ if {    ![istarget i*86-*-cygwin*]
+      && ![istarget i*86-*-pe]
+      && ![istarget i*86-*-mingw*]
+      && ![istarget x86_64-*-mingw*]
+      && ![istarget arm-wince-pe] } {
      return
  }
 


and this is the contents of secrel.d.rej:

Code:

***************
*** 1,27 ****
 
- tmpdir/secrel\.x:     file format pei-i386
 
  Contents of section \.text:
-  401000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c  >>>><<<<>>>>><<<
-  401010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c  >>>>>><<>>>>>>><
-  401020 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c  >>>><<<<>>>>><<<
-  401030 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c  >>>>>><<>>>>>>><
-  401040 ........ ........ ........ ........  ................
  Contents of section \.data:
-  402000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c  >>>><<<<>>>>><<<
-  402010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c  >>>>>><<>>>>>>><
-  402020 3e3e3e3e 04000000 110d0000 00111600  >>>>............
-  402030 0000111f 00000011 3c3c3c3c 3c3c3c3c  ........<<<<<<<<
-  402040 3e3e3e3e 04000000 110d0000 00111600  >>>>............
-  402050 0000111f 00000011 3c3c3c3c 3c3c3c3c  ........<<<<<<<<
-  402060 3e3e3e3e 04000000 110d0000 00111600  >>>>............
-  402070 0000111f 00000011 3c3c3c3c 3c3c3c3c  ........<<<<<<<<
-  402080 3e3e3e3e 24000000 112d0000 00113600  >>>>\$....-....6.
-  402090 0000113f 00000011 3c3c3c3c 3c3c3c3c  ...\?....<<<<<<<<
  Contents of section \.rdata:
-  403000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c  >>>><<<<>>>>><<<
-  403010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c  >>>>>><<>>>>>>><
-  403020 3e3e3e3e 00000000 00000000 00000000  >>>>............
  Contents of section \.idata:
-  404000 00000000 00000000 00000000 00000000  ................
-  404010 00000000                             ....           
--- 1,27 ----
 
+ tmpdir/secrel\.x: +file format pei-.*
 
  Contents of section \.text:
+  .*1000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c  >>>><<<<>>>>><<<
+  .*1010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c  >>>>>><<>>>>>>><
+  .*1020 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c  >>>><<<<>>>>><<<
+  .*1030 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c  >>>>>><<>>>>>>><
+  .*1040 ........ ........ ........ ........  ................
  Contents of section \.data:
+  .*2000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c  >>>><<<<>>>>><<<
+  .*2010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c  >>>>>><<>>>>>>><
+  .*2020 3e3e3e3e 04000000 110d0000 00111600  >>>>............
+  .*2030 0000111f 00000011 3c3c3c3c 3c3c3c3c  ........<<<<<<<<
+  .*2040 3e3e3e3e 04000000 110d0000 00111600  >>>>............
+  .*2050 0000111f 00000011 3c3c3c3c 3c3c3c3c  ........<<<<<<<<
+  .*2060 3e3e3e3e 04000000 110d0000 00111600  >>>>............
+  .*2070 0000111f 00000011 3c3c3c3c 3c3c3c3c  ........<<<<<<<<
+  .*2080 3e3e3e3e 24000000 112d0000 00113600  >>>>\$....-....6.
+  .*2090 0000113f 00000011 3c3c3c3c 3c3c3c3c  ...\?....<<<<<<<<
  Contents of section \.rdata:
+  .*3000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c  >>>><<<<>>>>><<<
+  .*3010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c  >>>>>><<>>>>>>><
+  .*3020 3e3e3e3e 00000000 00000000 00000000  >>>>............
  Contents of section \.idata:
+  .*4000 00000000 00000000 00000000 00000000  ................
+  .*4010 00000000                             ....           


Thanks guys.
Back to top
View user's profile Send private message Send e-mail
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sun Jun 10, 2007 5:46 am    Post subject: Reply with quote

I've just tested the version in the repository - the patch applies cleanly to binutils-2.17 for me.

Be advised that the ps3toolchain isn't close to being finished yet, btw.
Back to top
View user's profile Send private message Visit poster's website
TommyBear



Joined: 24 Jun 2005
Posts: 50

PostPosted: Sun Jun 10, 2007 10:03 pm    Post subject: Reply with quote

That's fine... I'm just trying to get things compiling on my machine. It just worries me that it's not patching. :(
Back to top
View user's profile Send private message Send e-mail
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Jun 11, 2007 9:59 am    Post subject: Reply with quote

If you really want to do ps3 development at the moment, install linux on your PS3 and use the compilers it comes with.

The ps3toolchain really isn't anywhere near useful at the moment.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group