On Sun, Oct 24, 2010 at 03:26:53PM +0000, Thorsten Glaser wrote:
> OK, more details:
> 
> linux-2.6 build-depends on libelf-dev which is built and installable.
> 
> elfutils is not installable because libasm1 isn't built (but that
> doesn't matter for compiling a linux kernel). This is probably
> what you were hinting at with saying it has never worked on m68k.

There is alot of code in elfutils that is arch specific, as far
as I know all related to dwarf debug information.  The source files
are in the backends/ directory and end up in the libdw1 binary package.
There is a minimal patch in the source packages:
debian/patches/m68k_backend.diff.  There are tests that for
instance try to read a compiled file with debug info, and they will
probably fail for m68k binaries.  So the libdw1 package is
probably currenly in a useless state on m68k, but the libelf1
binary package should not be a problem at all.

I see 2 ways to fix your problem:
- Disable the m68k backend completly and don't create an
  libdw1/libdw-dev package on m68k.
- Add proper support for m68k.  I think to be able to
  pass the regression tests you need atleast information
  about the return location of various types.  Atleast that's
  the error shown in the last buildd log I have.  And m68k
  is the only arch not having an *_retval.c file.

I would prefer the second solution.


Kurt




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to