Hi all, as we already support most PPC* variants additionally supporting the Sony PS3 is just the natural expansion.
http://www.t2-project.org/targets/ps3.html We have such a cell CPU box on the office table with YDL (Yellow Dog Linux) installed for a comfortable start. I just write to drop a note that the current, trunk, libC detection to build the flist wrapper against is imperfect and just uses the first library found. This can even be an optional uClibC on othewise GlibC based systems - such as this YDL. A quick fix for this general issue is provided below, however it needs some test runs for other build setups (uClibc / dietlibc based builds) in order to make it into trunk: --- scripts/Build-Tools (revision 23186) +++ scripts/Build-Tools (working copy) @@ -282,10 +282,16 @@ # if [ "$SDECFG_FLIST" = "flwrapper" ] ; then echo_status "Building $toolsdir/lib/fl_wrapper.so." - FLWRAPPER_LIBC=$( ls $xroot/{lib64,lib}/libc.* 2>/dev/null | - head -n1 ) + + tmp=`mktemp` + $BUILDCC -Wall -Os misc/archive/hello.c -o $tmp + FLWRAPPER_LIBC=$( ldd $tmp | + sed -n -e 's/.* => //' -e 's/[\t ]*\([^\t ]*\).*/\1/' \ + -e '/lib[cC]\./p' ) + rm -f $tmp + if [ ! -f "$FLWRAPPER_LIBC" ]; then - abort 'Unable to detect /lib/libc.* for flwrapper' + abort 'Unable to detect libC for flwrapper' fi if [ $stagelevel -lt 2 ]; then Linking and loading the libC not matching to the late executable of course results in segfaults pretty quickly ... Yours, -- René Rebe - ExactCODE GmbH - Europe, Germany, Berlin http://exactcode.de | http://t2-project.org | http://rene.rebe.name +49 (0)30 / 255 897 45
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe t2
