Re: etch-m68k in a linux container

2012-12-06 Thread Finn Thain
On Thu, 6 Dec 2012, Laurent Vivier wrote: > I think it should be a good idea to play with the linux-user mode of > qemu. Used with the linux containers, you can run real m68k users binary > on an x86 kernel (it means gigabytes of memory, several CPU cores, > Terabytes of SATA disks, gigabits e

Re: etch-m68k in a linux container

2012-12-06 Thread Laurent Vivier
Hi Thorsten, Le jeudi 06 décembre 2012 à 20:56 +, Thorsten Glaser a écrit : > Laurent Vivier dixit: > > >I think it should be a good idea to play with the linux-user mode of > >qemu. > > Does that emulate an MMU? The system mode doesn’t, IIRC. MMU is useless in usermode emulation. > >qemu

Re: etch-m68k in a linux container

2012-12-06 Thread Thorsten Glaser
Laurent Vivier dixit: >I think it should be a good idea to play with the linux-user mode of >qemu. Does that emulate an MMU? The system mode doesn’t, IIRC. >qemu linux-user mode traps guest (m68k) syscalls to translate them to >native ones. It's not perfect. Well right. It also doesn’t catch ge

Re: gnat-gps_5.0-13_m68k FTBFS

2012-12-06 Thread Thorsten Glaser
Ludovic Brenta dixit: > Maybe the compiler is really getting out of memory? How much RAM and > swap does this machine have? You need several hundred megabytes. Ouch, okay. It’s got 768 MiB RAM and a bit of swap, I’ll add more. >> Just running the gcc-4.6 line throws an error much earlier, namel

etch-m68k in a linux container

2012-12-06 Thread Laurent Vivier
Hi guys, as you seem ready to play with simulators to build debian m68k packages, I think it should be a good idea to play with the linux-user mode of qemu. Used with the linux containers, you can run real m68k users binary on an x86 kernel (it means gigabytes of memory, several CPU cores, Terabyt

Re: gnat-gps_5.0-13_m68k FTBFS

2012-12-06 Thread Ludovic Brenta
Thorsten Glaser wrote: gcc-4.6 -c -O0 -gnatafo -gnatVa -gnatn -I- -gnatA /tmp/buildd/gnat-gps-5.0/src_editor/src/src_editor_buffer-line_information.adb gcc-4.6: internal compiler error: Segmentation fault (program gnat1) Maybe the compiler is really getting out of memory? How much RAM and swap

gnat-gps_5.0-13_m68k FTBFS

2012-12-06 Thread Thorsten Glaser
Hi, gnat-gps doesn’t like to be built, it ICEs the compiler; full build log attached. Even if I force it to build with -O1 or -O0, e.g. via (pbuild27944)2|root@aranym:~/gnat-gps-5.0 # debian/rules build-arch CFLAGS=-O0 in the chroot, I get messages like this: […] "/tmp/buildd/gnat-gps-5.0/obj