[Cin] Compiling Cinelerra-GG for (l)ubuntu 16.04.6 ppc32
Andrew Randrianasulu
randrianasulu at gmail.com
Sat Mar 2 11:05:13 CET 2019
Hello again, everyone!
After spectacular failure about building working Cinelerra-GG on ppc64le I moved
to more common ppc platform - emulated powerMac!
Well, I only installed ubuntu with qemu's -M mac99, and then moved resulted
image as virtual drive to another type of machine, supporting SMP (and thus
faster for compiles).
install:
qemu-system-ppc -display sdl,gl=on -M mac99 -cpu
g4 -cdrom /mnt/lubuntu-16.04-desktop-powerpc.iso -drive
format=raw,file=/mnt/Ubuntu-16.04-ppc.img,index=0,if=virtio -device
qemu-xhci -device intel-hda -device virtio-keyboard-pci -nic
user,model=virtio -usb -device virtio-mouse-pci -m 2000 -g 1024x768x32 -boot d
run (assumes 64-bit qemu host, so smp will be faster actually, using qemu 3.1.0
in my case):
ppc64-softmmu/qemu-system-ppc64 -display sdl,gl=off -smp 4 -M ppce500 -cpu
e5500 -drive
format=raw,file=/mnt/Ubuntu-16.04-ppc.img,index=0,if=virtio -kernel /mnt/linux-image-4.20.12-X1000_X5000/X5000_and_QEMU_e5500/uImage-4.20 -append "rw
root=/dev/vda3" -device virtio-vga,virgl=off -device qemu-xhci -device
intel-hda -device virtio-keyboard-pci -nic user,model=virtio -usb -device
virtio-mouse-pci -m 2000 -g 1024x768x32
gl=off makes colors normal, but console slower ....
intel-hda, qemu-ehci and ES1370 fail with dma alloc errors.
lightdm will fail to start, log in and 'systemctl disable lightdm'
kernel from http://www.xenosoft.de/linux-image-4.20.12-X1000_X5000.tar.gz
http://forum.hyperion-entertainment.com/viewtopic.php?f=58&t=4138&sid=72c47656b6c14e0781b2231e106767ab&start=100
I already run into small failure in libvpx-1.7.0, it will probably exist in
libvpx-1.8.0 as well. New libvpx assumes you build for ppc64. Patching
configure seems to help:
http://openbsd-archive.7691.n7.nabble.com/UPDATE-libvpx-1-8-0-td360246.html
--- patches/patch-configure 17 Oct 2018 08:22:29 -0000 1.17
+++ patches/patch-configure 5 Feb 2019 00:18:13 -0000
@@ -2,18 +2,17 @@ $OpenBSD: patch-configure,v 1.17 2018/10
Index: configure
--- configure.orig
+++ configure
-@@ -114,8 +114,10 @@ all_platforms="${all_platforms} armv7s-darwin-gcc"
+@@ -115,7 +115,9 @@ all_platforms="${all_platforms} armv7s-darwin-gcc"
all_platforms="${all_platforms} armv8-linux-gcc"
all_platforms="${all_platforms} mips32-linux-gcc"
all_platforms="${all_platforms} mips64-linux-gcc"
+all_platforms="${all_platforms} ppc-linux-gcc"
- all_platforms="${all_platforms} ppc64-linux-gcc"
all_platforms="${all_platforms} ppc64le-linux-gcc"
+all_platforms="${all_platforms} sparc-linux-gcc"
all_platforms="${all_platforms} sparc-solaris-gcc"
all_platforms="${all_platforms} x86-android-gcc"
all_platforms="${all_platforms} x86-darwin8-gcc"
-@@ -170,7 +172,7 @@ for t in ${all_targets}; do
+@@ -166,7 +168,7 @@ for t in ${all_targets}; do
[ -f "${source_path}/${t}.mk" ] && enable_feature ${t}
done
I think you can just add ppc-linux-gcc line without removing ppc64 line.
More information about the Cin
mailing list