Differences between revisions 1 and 21 (spanning 20 versions)
Revision 1 as of 2011-01-29 16:56:38
Size: 1707
Comment: first draft
Revision 21 as of 2013-01-20 17:32:20
Size: 3888
Comment: update some things; drop gcj-4.4 and gcc-4.5 which were RM/RoM’d
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
This page attempts to track the current issues of the [[http://www.debian.org/ports/m68k/|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]]. #language en
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: none-~
----
This page attempts to track the current issues of the [[http://www.debian.org/ports/m68k/|Debian/m68k]] Linux port. Mailing list is at [[http://lists.debian.org/debian-68k/|debian-68k@lists.debian.org]] and more information can be found in this Wiki under [[M68k]] and [[M68k/Porting]].
Line 5: Line 8:
Get an [[Aranym/Quick]] image (sid from ca. 2008/2009 with libc 2.7) and put an updated [[M68k/Cowbuilder]] chroot on it. 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? Read [[M68k/Installing]] for a list of all possible ways.

Quick start: Get an [[Aranym/Quick]] image (sid from April 2012) and update it. Once you have it running, grab a /var/cache/pbuilder/base.cow at [[M68k/Cowbuilder]] or run “cowbuilder --create” with the appropriate options yourself or install sbuild.

== buildd ==

The first batch of [[M68k/Autobuilder|buildds]] is working since Christmas 2012, thanks to IngoJuergensmann and WouterVerhelst.

== installer ==

Wouter is working to get d-i into shape again, see [[M68k/Installing]].
Line 9: Line 22:
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). Some packages are in [[DebianPorts/WhatIsUnreleased|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).
Line 13: Line 26:
== gcc-4.1 ==

Not in sid, but probably works. No TLS support.

== gcc-4.3 ==

Both -fomit-frame-pointer and -foptimize-sibling-calls (default) produce broken code. No TLS support.
We’re using gcc-4.6 for almost everything now. The eglibc source package manually selects gcc-4.4.
Line 23: Line 30:
Seems to work pretty well. Has TLS backport. Works, has TLS backport.
Line 25: Line 32:
=== current issues === == gcc-4.6 ==
Line 27: Line 34:
* [[http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47533|BZ#47533]] Ported, default compiler. Contains patches for atomic builtins, and quite some others.
Line 29: Line 36:
== gcc-4.5 == gcj-4.6 is just gcc-4.6 re-uploaded with a differing source package name, so it uses the same patches as gcc-4.6 does.
Line 31: Line 38:
Not ported. Has TLS upstream. gnat-4.6 works, as patched in unreleased. (The patch set is approximately the same, modulo Ada maintainers’ changes.)

Known bugs:

* [[http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52306|ICE in cselib_record_set, at cselib.c:2158]] or thereabouts (adding -O1 usually helps, sometimes -O0)

* --([[http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52714|ICE in fixup_reorder_chain, at cfglayout.c:880]] or thereabouts (adding -O0 seems to help))-- (fixed in gcc-4.6 4.6.3-14+m68k.3 in unreleased and in 4.6.3-15 in sid)

== gcc-4.7 ==

Builds. Not really tested/used.

gcj-4.7 FTBFS.

== OpenJDK ==

Does not work.
Line 35: Line 58:
== kernel ==

We have Linux 3.2 unchanged from Debian wheezy/sid.

Right now, 3.2.0-4 (ABI), 3.2.35-2 (package) is available. The lowest version you really want is 3.2.32-1+m68k.1 (unreleased) or 3.2.35-1 (unstable).

Amiga: Ingo says the stock kernels (3.2.0-4-amiga) work for him on several machines. Cyberstorm Mk1 & Blizzard 060 SCSI support seems to be missing.

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.9 though). The kernels may not work on an Atari TT (see the mailing list for information about that).

Macintosh: no feedback yet.

VME: no feedback yet.
Line 37: Line 74:
eglibc-2.11 with TLS backport is used. Current issues:
* [[http://lists.debian.org/debian-glibc/2010/11/msg00077.html|res_init segfaults]] (might be related to BZ#47533 in gcc?)
Most outstanding issues are apparently fixed now. We still seem to have [[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636286|invalid locale files]] leading to lots of segfaults building some d-i package.

== klibc ==

Fixed, works.

== rsyslog ==

rsyslog works now, though you might still want to use sysklogd ;-)

== aptitude ==

Seems to work now, too; apt-get is still better, but pbuilder-satisfydepends-aptitude is usable and does not suffer from #695076 which made building KDE packages impossible.

----
## This page is referenced from http://www.debian.org/ports/m68k/
CategoryPermalink

Translation(s): none


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

Read M68k/Installing for a list of all possible ways.

Quick start: Get an Aranym/Quick image (sid from April 2012) and update it. Once you have it running, grab a /var/cache/pbuilder/base.cow at M68k/Cowbuilder or run “cowbuilder --create” with the appropriate options yourself or install sbuild.

buildd

The first batch of buildds is working since Christmas 2012, thanks to ?IngoJuergensmann and WouterVerhelst.

installer

Wouter is working to get d-i into shape again, see M68k/Installing.

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.

gcc-4.6

Ported, default compiler. Contains patches for atomic builtins, and quite some others.

gcj-4.6 is just gcc-4.6 re-uploaded with a differing source package name, so it uses the same patches as gcc-4.6 does.

gnat-4.6 works, as patched in unreleased. (The patch set is approximately the same, modulo Ada maintainers’ changes.)

Known bugs:

* ICE in cselib_record_set, at cselib.c:2158 or thereabouts (adding -O1 usually helps, sometimes -O0)

* ICE in fixup_reorder_chain, at cfglayout.c:880 or thereabouts (adding -O0 seems to help) (fixed in gcc-4.6 4.6.3-14+m68k.3 in unreleased and in 4.6.3-15 in sid)

gcc-4.7

Builds. Not really tested/used.

gcj-4.7 FTBFS.

OpenJDK

Does not work.

core system

kernel

We have Linux 3.2 unchanged from Debian wheezy/sid.

Right now, 3.2.0-4 (ABI), 3.2.35-2 (package) is available. The lowest version you really want is 3.2.32-1+m68k.1 (unreleased) or 3.2.35-1 (unstable).

Amiga: Ingo says the stock kernels (3.2.0-4-amiga) work for him on several machines. Cyberstorm Mk1 & Blizzard 060 SCSI support seems to be missing.

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.9 though). The kernels may not work on an Atari TT (see the mailing list for information about that).

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 works now, though you might still want to use sysklogd ;-)

aptitude

Seems to work now, too; apt-get is still better, but pbuilder-satisfydepends-aptitude is usable and does not suffer from #695076 which made building KDE packages impossible.


CategoryPermalink