[PATCHES] PPC (PowerPC) Linux support for powerpc-linux and powerpc64-linux targets

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
cedric Offline
Junior Member
Posts: 28
Joined: May 2008
Reputation: 0
Post: #21
malloc Wrote:Not a good reason to throw in a new library. Let's figure this out. What is the error message you without it? Does the --enable/disable-altivec flag in configuring ffmpeg change this error?

It is not a new library, it was already linked inside one of the ffmpeg libraries inside build_xmbc.sh.
The only difference is that libfaac was taken from /usr/lib/libfaac.a or something like this.

I activated the flag altivec only for performance purposes, I tried with and without and I have better FPS with. I imagine altivec is not possible on intel computers ?
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,595
Joined: Sep 2003
Reputation: 9
Location: Sweden
Post: #22
cedric Wrote:I imagine altivec is not possible on intel computers ?
You are correct. AltiVec SIMD is PowerPC only, (Intel and AMD x86 features MMX and SSE instead)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
malloc Offline
Team-XBMC Developer
Posts: 1,062
Joined: May 2004
Reputation: 0
Post: #23
Is there no libfaac-dev for Ubuntu PowerPC? That's the package that I see installed /usr/lib/libfaac.a.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
cedric Offline
Junior Member
Posts: 28
Joined: May 2008
Reputation: 0
Post: #24
malloc Wrote:Is there no libfaac-dev for Ubuntu PowerPC? That's the package that I see installed /usr/lib/libfaac.a.

You right, I just installed libfaac-dev, here a new patch without the faac directory:
http://www.4shared.com/file/53950758/b1f...actar.html

-Cedric
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,595
Joined: Sep 2003
Reputation: 9
Location: Sweden
Post: #25
a tip is to run Valgrind before submitting any patches, (it supports both PPC32 and PPC64), see http://www.valgrind.org

Wink

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
monkeyman Offline
Team-XBMC Developer
Posts: 189
Joined: Jul 2007
Reputation: 0
Location: Kansas
Post: #26
I don't know how helpful that would be right now... Things are a little noisy with valgrind right now. When I get some more time, I'll try to resolve some more valgrind issues.

Until more errors are cleaned up, its utility will probably be limited.

- Kyle Hill

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,181
Joined: Nov 2003
Reputation: 82
Post: #27
as you may or may not have noticed i have started the work of building libs as you build xbmc to avoid having to keep hundreds of binaries in the svn. any further pap related patches should take it into consideration (once i get back from vacation i'll do the change for a lot of the other libs as well).

cheers

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
cedric Offline
Junior Member
Posts: 28
Joined: May 2008
Reputation: 0
Post: #28
spiff Wrote:as you may or may not have noticed i have started the work of building libs as you build xbmc to avoid having to keep hundreds of binaries in the svn. any further pap related patches should take it into consideration (once i get back from vacation i'll do the change for a lot of the other libs as well).

cheers

Not sure I have well understood, what are the recommendations concerning libraries ? If the libraries are not commited on svn, where should we put them ? Is it planned to have a common build script for all libraries present in sources/ ?

-Cedric
find quote
malloc Offline
Team-XBMC Developer
Posts: 1,062
Joined: May 2004
Reputation: 0
Post: #29
He means that the the libraries you find in sources are being moved into XBMC. Then instead of storing binary versions of libraries in XBMC/system/players/dvdplayer and such we will just build them at the same time as we build xbmc.bin. So in essence there will be a common build script.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,595
Joined: Sep 2003
Reputation: 9
Location: Sweden
Question  Big-Endian, Little-Endian, and Mixed-Endian? Post: #30
@araldor and cedric, any updates on patches for any of the endian issues?
Have you looked at tools like PortAsm/86, Relogix, or something similar? Confused
http://www.microapl.co.uk/Porting/PortAsm86.html

Big Grin

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2008-07-18 16:15 by Gamester17.)
find quote
Post Reply