strip is running out of memory on m68k (Haskell)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

We have recently made lots of progress fixing bugs on m68k both in various
as well as QEMU. This has lead to the list of successfully built packages
to over 11.500 - Debian/m68k never built so many packages before.

Now, there are a few things that still need to work and one of them is
binutils' strip command which is bailing out for a very low number of
Haskell packages [1]:

debian/hlibrary.setup copy --builddir=dist-ghc --destdir=debian/tmp-inst-ghc
Installing library in debian/tmp-inst-ghc/usr/lib/haskell-packages/ghc/lib/m68k-linux-ghc-8.2.2/criterion-1.3.0.0-CVIsDHnXrrBAzasYPdPd4j
Installing executable criterion-report in debian/tmp-inst-ghc/usr/bin
Warning: The directory debian/tmp-inst-ghc/usr/bin is not in the system search
path.
/usr/bin/strip:debian/tmp-inst-ghc/usr/bin/criterion-report: memory exhausted
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:188: debian/tmp-inst-ghc] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned exit status 2

Since I don't think that we have any actual memory limitations on qemu-user (as
compared to qemu-system), this issue might be a result of strip having a hardwired
maximum buffer size for stripping binaries.

Does anyone know more? If yes, could we patch strip to allow larger binaries?

Adrian

[1] https://buildd.debian.org/status/fetch.php?pkg=haskell-criterion&arch=m68k&ver=1.3.0.0-1&stamp=1533028852&raw=0

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@xxxxxxxxxx
`. `'   Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux