Assembler problems installing

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
UsefulIdiot
Posts: 13
Joined: Tue Jan 17, 2006 4:44 pm

Assembler problems installing

Post by UsefulIdiot »

I found a spare box today to do my psp dev'ing on and installed ubuntu on it(dont like messing with cygwin). I installed all the required packages and the sdk seems to compile fine until (i think) its linking sceGumLoadIdentity.o

The assembler outputs the error:


/tmp/ccapdkp6.s: Assembler error:

/tmp/ccapdkp6.s:25: Illegal operands 'vmidt.q M300'

and then quits. Any ideas leading to a fix? I wasnt able to find any leads in the forums after browsing for an hour or so.
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

You need to update your toolchain (specifically binutils) to make use of vfpu opcodes.
UsefulIdiot
Posts: 13
Joined: Tue Jan 17, 2006 4:44 pm

Post by UsefulIdiot »

to what version specifically? apt says i have latest version of binutils and I would think the script would get the latest version it needs also
chp
Posts: 313
Joined: Wed Jun 23, 2004 7:16 am

Post by chp »

This is binutils for PSP we're talking about. Grab the latest toolchain-setup from [url]svn://svn.pspdev.org/psp/trunk/psptoolchain/[/url], rinse, repeat.
GE Dominator
Panajev2001a
Posts: 100
Joined: Sat Aug 20, 2005 3:25 am

Post by Panajev2001a »

When will this be integrated in the standard oopo's psptoolchain script ?

Am I wrong or the current psptoolchain-20060110.tgz package when unpacked and run (./toolchain.sh) will not update binutils to the VFPU patched version ?
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

If you read the included readme, you would have noticed the part where it tells you how to update to the very latest version of everything in the subversion repository.

I was waiting until the recent additions settled down before updating it on my site.
User avatar
groepaz
Posts: 305
Joined: Thu Sep 01, 2005 7:44 am
Contact:

Post by groepaz »

maybe another little script that first updates the toolchain script from svn, and then runs the toolchain script itself could be added....would be very useful (and avoid lots of simelar questions/problems) imho.
Panajev2001a
Posts: 100
Joined: Sat Aug 20, 2005 3:25 am

Post by Panajev2001a »

ooPo wrote:If you read the included readme, you would have noticed the part where it tells you how to update to the very latest version of everything in the subversion repository.

I was waiting until the recent additions settled down before updating it on my site.
ooPo, I can assure you I have learned the RTFM rule a LONG time ago :).

I am just wary of installing ANYTHING that is still in SVN trunk/daily snapshot that the maintainer has not deemed to put in the official/stable release changing the previous official/stable release in this case the psp toolchain script dated 2006-01-10.
I was waiting until the recent additions settled down before updating it on my site.
;).

I think I'll wait with you then: I trust your judgement :).
Last edited by Panajev2001a on Wed Jan 18, 2006 3:16 am, edited 1 time in total.
Panajev2001a
Posts: 100
Joined: Sat Aug 20, 2005 3:25 am

Post by Panajev2001a »

groepaz wrote:maybe another little script that first updates the toolchain script from svn, and then runs the toolchain script itself could be added....would be very useful (and avoid lots of simelar questions/problems) imho.
I guess it could help some, but my problem was not "how do I get the version currently in the SVN repository ?".
I phrased my post badly I think: a better question would have been "when will ooPo's release a new toolchain script and when will the new additions be moved out of the trunk and made available with simple execution of the toolchain script ?".
johnxmcmanus
Posts: 1
Joined: Thu Jan 19, 2006 7:28 am
Contact:

You need to update your toolchain (specifically binutils) to

Post by johnxmcmanus »

I think if you run "svn update" and hit enter from psptoolchain directory.

got this info from update article:
http://www.scriptscribbler.com/psp/tuto ... sson01.htm
JohnnieMac
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

groepaz wrote:maybe another little script that first updates the toolchain script from svn, and then runs the toolchain script itself could be added....would be very useful (and avoid lots of simelar questions/problems) imho.
This is why, as I've stated many times, the readme.txt mentions that you can just type 'svn update' to get the latest version automatically. There's no need for a wrapper script or other magery... a very simple command does it all.

Anyway, its moot now as I've modified the script (in the 20060120 release) to use 'svn cat' to grab the latest version of the patches each and every time it is run.

Perhaps someday when it all settles down I'll make it grab only a specific, known-stable revision number. I don't imagine that day will be anytime in the near future, however.

Enjoy.
Post Reply