Differences between revisions 12 and 13
Revision 12 as of 2012-02-18 21:57:46
Size: 3162
Comment: update on gcc-4.6, kernel, klibc
Revision 13 as of 2012-07-28 23:36:41
Size: 3459
Comment: Updates (gcc-4.6/4.7, gcj-4.6/4.7, gnat, kernel)
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
We’re using gcc-4.6 for almost everything now. The eglibc source package manually selects gcc-4.4, and Perl breaks with gcc-4.6. We’re using gcc-4.6 for almost everything now. The eglibc source package manually selects gcc-4.4.
Line 27: Line 27:
Works, has TLS backport. Works, has TLS backport. gcj-4.4 should work.
Line 35: Line 35:
Ported, default compiler. gcj-4.6 [[http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49847|FTBFS]]es, but the bugfix is on the 4.6 branch and will probably make it into the package RSN. Ported, default compiler. Contains patches for atomic builtins.
Line 37: Line 37:
== gnat == gcj-4.6 works nowadays; no special patches yet.
Line 39: Line 39:
Working on it: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48835 gnat-4.6 works, but doesn’t know how to build shared libraries.
Line 41: Line 41:
It’s probably time for someone to make a patch against the gnat-4.6 package with Mikael’s findings right now; Ludovic says he’s not monitoring it but will gladly accept patches. (Maybe wait until the gcc/gcj-4.6 situation has settled down, though.) == gcc-4.7 ==

Builds. Not really tested/used.

gcj-4.7 FTBFS.
Line 49: Line 53:
More and more code uses atomics, which are implemented using a syscall nowadays, which [[http://article.gmane.org/gmane.linux.ports.m68k/4149|until recently was broken]]. You need [[http://article.gmane.org/gmane.linux.debian.ports.68k/10525|a fixed kernel]], possibly self-built.

Amiga: Ingo says the stock kernels work for him.

Atari: The stock kernels work on ARAnyM, but lack Ethernet drivers on real hardware that aren’t in mainline yet but only on Geert’s branch (they might end up in Linux 3.6 though).

Macintosh: no feedback yet.

VME: no feedback yet.
Line 55: Line 69:
Patches submitted; integrated into the Debian package, seem to work. Fixed, works.
Line 59: Line 73:
rsyslog seems broken, but sysklogd works. rsyslog seems broken, but sysklogd works. (TODO: retry whether rsyslog works now.)
Line 63: Line 77:
broken, use apt-get and pbuilder-satisfydepends-classic instead. Broken (again), use apt-get and pbuilder-satisfydepends-classic instead.

This page attempts to track the current issues of the Debian/m68k Linux port. Mailing list is at debian-68k@lists.debian.org and more information can be found in this Wiki under M68k and M68k/Porting.

Installing

Get an Aranym/Quick image (sid from July 2011) and update it. Stephen Marenka’s sid ISO installer image is reported to work as well. The status of everything else is unknown, however, you can probably install the etch-m68k snapshot. But if you wanted to dig out that you wouldn’t be here, right?

Once you have it running, grab a /var/cache/pbuilder/base.cow at M68k/Cowbuilder (already included on the dc11m68k.tgz image).

buildd

Thorsten tries to get an ARAnyM one up. Ingo is upgrading Vivaldi (Amiga). None are running at the moment yet, though (builds are still done manually).

installer

Wouter is working to get d-i into shape again. His first results were announced at DebConf 11.

packages

Some packages are in debian-ports.org unreleased, not in unstable, because they need m68k-local patches. For some, this is because maintainers keep unstable frozen during the squeeze/testing freeze in order to be able to upload fixes via unstable. For some, this is a collection of patches or workarounds that are not, or will not be, included in the proper Debian packages. Once installed, however, it’s fine to work from unstable only (unless you want to hack the packages from unreleased).

Compilers

We’re using gcc-4.6 for almost everything now. The eglibc source package manually selects gcc-4.4.

gcc-4.4

Works, has TLS backport. gcj-4.4 should work.

gcc-4.5

Not ported. Has TLS upstream. Will not be ported, we’ll be switching from gcc-4.4 directly to gcc-4.6 when the time is right; wheezy will not be released with gcc-4.5 anyway.

gcc-4.6

Ported, default compiler. Contains patches for atomic builtins.

gcj-4.6 works nowadays; no special patches yet.

gnat-4.6 works, but doesn’t know how to build shared libraries.

gcc-4.7

Builds. Not really tested/used.

gcj-4.7 FTBFS.

core system

kernel

We have Linux 3.2 unchanged from Debian wheezy/sid.

More and more code uses atomics, which are implemented using a syscall nowadays, which until recently was broken. You need a fixed kernel, possibly self-built.

Amiga: Ingo says the stock kernels work for him.

Atari: The stock kernels work on ARAnyM, but lack Ethernet drivers on real hardware that aren’t in mainline yet but only on Geert’s branch (they might end up in Linux 3.6 though).

Macintosh: no feedback yet.

VME: no feedback yet.

libc

Most outstanding issues are apparently fixed now. We still seem to have invalid locale files leading to lots of segfaults building some d-i package.

klibc

Fixed, works.

rsyslog

rsyslog seems broken, but sysklogd works. (TODO: retry whether rsyslog works now.)

aptitude

Broken (again), use apt-get and pbuilder-satisfydepends-classic instead.