Bug 467056 - Unable to build any spu binary with spu-binutils
Summary: Unable to build any spu binary with spu-binutils
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: spu-binutils
Version: 10
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Jochen Roth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-15 14:21 UTC by Jochen Roth
Modified: 2009-02-10 18:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-10 18:14:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to include binutils needed by spu-gcc (2.22 KB, patch)
2008-10-16 10:56 UTC, Jochen Roth
no flags Details | Diff

Description Jochen Roth 2008-10-15 14:21:25 UTC
Description of problem:

After installation of spu-binutils-2.18.50.0.9-6 the following messages appear while trying to build a spu binary:


/tmp/ccRJ9Qgb.s:370: Error: Unrecognized opcode: `lqd'

/tmp/ccRJ9Qgb.s:371: Error: Unrecognized opcode: `lqd'

/tmp/ccRJ9Qgb.s:373: Error: Unrecognized opcode: `bi'

/tmp/ccRJ9Qgb.s:379: Error: Unrecognized opcode: `ila'

/tmp/ccRJ9Qgb.s:380: Error: Unrecognized opcode: `stqd'

/tmp/ccRJ9Qgb.s:381: Error: Unrecognized opcode: `hbrr'

/tmp/ccRJ9Qgb.s:382: Error: Unrecognized opcode: `stqd'

/tmp/ccRJ9Qgb.s:383: Error: Unrecognized opcode: `stqd'

/tmp/ccRJ9Qgb.s:384: Error: Unrecognized opcode: `ai'

/tmp/ccRJ9Qgb.s:385: Error: Unrecognized opcode: `lqd'

/tmp/ccRJ9Qgb.s:386: Error: Unrecognized opcode: `cdd'

/tmp/ccRJ9Qgb.s:387: Error: Unrecognized opcode: `lqd'

/tmp/ccRJ9Qgb.s:388: Error: Unrecognized opcode: `shufb'

.....

Comment 1 Jochen Roth 2008-10-16 07:50:37 UTC
The problem is that spu-binutils doesn't install the assembler in /usr/spu/bin where spu-gcc expects him to be. 

spu-gcc is searching in the following directory[1] for as. He uses the default assembler installed in /usr/bin/as if he doesn't find the target specific as. 
The default assembler on a ppc64 machine is the assembler installed by the system binutils.ppc64 package.

[1]
stat("/usr/lib/gcc/spu/4.1.1/../../../../spu/bin/as", 0xffe07de0) = -1 ENOENT (No such file or directory)

Comment 2 Jochen Roth 2008-10-16 08:00:34 UTC
A patch which solves this problem is in progress.

Comment 3 Jochen Roth 2008-10-16 10:56:09 UTC
Created attachment 320541 [details]
patch to include binutils needed by spu-gcc

Hi Jan, can you please have a look at this patch? Thanks!

Comment 4 Jochen Roth 2008-10-20 08:59:45 UTC
spu-binutils-2.18.50.0.9-7.fc10 is now in rawhide.

Comment 5 Bug Zapper 2008-11-26 03:53:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.