Skip to content
Snippets Groups Projects
  1. Apr 18, 2019
  2. Apr 15, 2019
  3. Apr 14, 2019
    • Oliver Smith's avatar
      CI: enable crossdirect again · 1031ff82
      Oliver Smith authored
      All bugs should be ironed out now. Let's get some more testing by
      enabling crossdirect in CI again. The crossdirect feature is still only
      in pmbootstrap master, not in the latest pmbootstrap release. But if it
      works without problems for some time, we're ready to make a release.
      
      This reverts commit 6e3252e4.
      Unverified
      1031ff82
    • Oliver Smith's avatar
      cross/crossdirect: use qemu when linking (!318) · 2c07f284
      Oliver Smith authored
      Cross linker (e.g. ld from binutils-armhf) does not support any method
      of setting additional link paths, and this causes problems when building
      various packages. Work around this problem by calling the qemu binary
      instead of the cross binary from the native chroot, whenever we are
      linking.
      
      I have tested that this allows successfully building hello-world,
      coreinfo, libhybris for armhf. So this fixes #227 and fixes #228.
      
      Regarding performance, this is the same way as distcc does it. We would
      get a performance gain if we were able to use the cross-linker. But so
      far I could not figure out how to patch the binutils source to make it
      work like we want to have it. Maybe I'll ask on some binutils mailing
      list for advice. In the meantime, this workaround should make
      crossdirect work for all use-cases, and it is still faster than the
      previous distcc setup, because we can avoid the overhead of setting up
      and running a ssh server locally to work around missing authentication
      in distcc (see pmbootstrap!1649). Let's test this for some more time,
      and then make a pmbootstrap release that rolls out crossdirect for
      everyone.
      Unverified
      2c07f284
  4. Apr 12, 2019
  5. Apr 11, 2019
  6. Apr 08, 2019
  7. Apr 07, 2019
  8. Apr 06, 2019
  9. Apr 05, 2019
  10. Apr 04, 2019
  11. Apr 03, 2019
    • Oliver Smith's avatar
      pmaports.cfg: bump version (!299) · 9bf79483
      Oliver Smith authored
      9bf79483
    • Oliver Smith's avatar
      cross/crossdirect: use ccache, execve, -Werror (!299) · 958f597a
      Oliver Smith authored
      Instead of running compilers directly, let them go through the native
      ccache binary. Note that it will still use the foreign arches cache dir
      because the native cache dir would be at /native/home/pmos/.ccache.
      
      Use execve instead of setenv and execv, because that didn't work with
      LD_LIBRARY_PATH (ccache was complaining that it couldn't load zlib).
      
      Enable -Werror, because we are maintaining this program and it helps
      us catching bugs early.
      958f597a
Loading