Compiling FreeBSD 12.0 for MIPS 14kc

Georg Bege georg at bege.email
Thu Oct 8 12:13:53 UTC 2020


Hello folks,

Im trying to compile FreeBSD 12.0 for mips/mipshf and targetting
specifically an mips 14kc CPU.

I know this is not officially supported by any means, but I want to try
it nonetheless.

FreeBSD seem's to work on various platforms including a couple of MIPS
families like 24kc.

At least it's supposed to work on them... the device I have at hand is
an EdgeRouter ER-X which is *not* an Octeon device.

The steps buildworld seems to work fine so far, at least it compiles but
on buildkernel I get an error upon linking:

    ld: unrecognised emulation mode: -Bdynamic

It seems to come from an erroneous ld command which includes "ld -m
-Bdynamic", which is obviously wong.

I just dont understand why it is there :-( Im not super familiar with
the inner details of the FreeBSD make files and building steps.

Maybe someone can help me here...


best regards,

Georg




More information about the freebsd-mips mailing list