On 28/11/16 21:10, Stuart Henderson wrote:
> You are right, gcc 4.9 generates some code using opcodes that need newer gas.
> Try building the port with clang (it would also help the case where the port
> itself has asm needing a newer assembler; clang has an integrated assembler
> which generally has better opcode support, it's needed e.g. for some video
> codecs in x86-land for this reason too).
> 
> MODULES += lang/clang
> MODCLANG_ARCHS = *
> 
> gstreamer1 in -current already uses this but the currently available mips64el
> package snapshot pre-dates this change.

A heads up, I'm in the process of giving this a try.

I started it off yesterday afternoon and this evening I note that the
llvm/clang build failed with an "out of memory" error.  I've re-started
on the off-chance it was a temporary issue, but I doubt it.

Sadly the Yeeloong only came with 1GB RAM, and while it is in the form
of a DDR2 SO-DIMM, it does not recognise a DDR2 4GB stick of RAM I
borrowed from another machine (tried it, PMON2000 was a no-show, put the
RAM back where I got it and that machine still boots fine), so upping
the memory appears to be out.

Last time I had this trouble, it was building Firefox… and adding swap
files was no help.

A workaround to this might be to bring up OpenBSD within QEMU… while
it's not exactly going to be efficient, one advantage is I can give the
VM as much RAM as the host can spare.

NetBSD/evbmips appears to support the MIPS Malta board which I think
QEMU emulates, and I seem to recall OpenBSD is a NetBSD fork.

How feasible would it be to port that bit of NetBSD over to OpenBSD?
Anyone tried this?
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.

Reply via email to