Op 10-mrt-2010, om 00:12 heeft Ken Moffat het volgende geschreven:
> On 9 March 2010 21:58, Pol Vangheluwe <[email protected]> wrote:
>> Op 8-mrt-2010, om 16:24 heeft William Immendorf het volgende geschreven:
>>
>> On Sat, Mar 6, 2010 at 3:08 PM, Pol Vangheluwe
>> <[email protected]> wrote:
>
>> You may be right, but now that I went so far through the BLFS book, I hope
>> to end up with a working GNOME and web browser.
>
> I do wonder whether the result will be worth your time (e.g. a totally
> unmaintained browser), but FWIW with the 6.3 book I used liboil-0.3.12
> with gstreamer-0.10.13, -base-0.10.13, -good-0.10.6, -ugly-0.10.6, -bad-0.10.5
> and -ffmpeg-0.10.13 (plus 2.18 gnome versions).
>
> It's so long since I've used those versions that I can't remember if they were
> useful to me. Certainly, recent gnome/gstreamer/totem (from 2.24 with
> corresponding gstreamer) is useful, but ISTR earlier versions didn't do a lot
> for me.
>
> ĸen
> --
> After tragedy, and farce, "OMG poneys!"
> --
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
It finally turned out that liboil is the problem…
When I build gstreamer-0.10.13, it works. When I then build liboil as a
dependency for gstreamer Base Plug-ins-0.10.13,
gstreamer is broken and the gnome-settings-daemon crashes, leaving me with a
rather primitive user interface.
When I uninstall liboil, gstreamer is OK again.
BLFS-6.3 doesn't mention a liboil version nor a build procedure, so I use
liboil-0.3.12, which has more or less the same age as the gstreamer files.
I also tried older and younger versions, all without success. Some googling
learns that there are many problems with liboil on PPC,
so I tried several patches (which I did not understood...), also without
success.
liboil 'make check' reports 17 failures on 18 tests.
I finally installed some debugging tools and gdb told me this:
pol [ ~/liboil-0.3.12 ]$ gdb -args gst-launch-0.10 --gst-disable-registry-fork
GNU gdb (GDB) 7.0.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gst-launch-0.10...done.
(gdb) run
Starting program: /usr/bin/gst-launch-0.10 --gst-disable-registry-fork
[Thread debugging using libthread_db enabled]
Program received signal SIGILL, Illegal instruction.
oil_profile_stamp_tb () at liboilcpu-powerpc.c:74
74 liboilcpu-powerpc.c: Bestand of map bestaat niet.
in liboilcpu-powerpc.c
(gdb) c
Continuing.
Program received signal SIGABRT, Aborted.
0x0fbeb7c4 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x0fbeb7c4 in raise () from /lib/libc.so.6
#1 0x0fbed0b0 in abort () from /lib/libc.so.6
#2 0x0f821774 in illegal_instruction_handler (num=0) at liboilfault.c:80
#3 <signal handler called>
#4 oil_profile_stamp_tb () at liboilcpu-powerpc.c:74
(…)
The routine oil_profile_stamp_bt is very short:
oil_profile_stamp_tb(void)
{
unsigned long ts;
__asm__ __volatile__("mftb %0\n" : "=r" (ts));
return ts;
}
So, I commented-out the mftb instruction and returned ts = 0.
And now, it is working… although liboil 'make check' still reports 2 failures.
Can anybody explain why the PPC assembler instruction mftb bombs my computer?
pol [ ~ ]$ uname -a
Linux ppc7200 2.6.27.25.lfs3 #1 Fri Dec 18 15:04:28 CET 2009 ppc 601 Power
Macintosh GNU/Linux
pvg--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page