Summary: | mips64 BERI boot components fail to build with CROSS_TOOLCHAIN=mips64-gcc | ||
---|---|---|---|
Product: | Base System | Reporter: | Ed Maste <emaste> |
Component: | kern | Assignee: | freebsd-mips (Nobody) <mips> |
Status: | New --- | ||
Severity: | Affects Only Me | CC: | brooks, rwatson |
Priority: | --- | Keywords: | patch |
Version: | CURRENT | ||
Hardware: | mips | ||
OS: | Any |
Description
Ed Maste
![]() This diff allowed it to build when I tried a couple weeks ago at EuroBSDCon. I didn't attempt to test it: Index: sys/boot/mips/beri/common/common.ldscript =================================================================== --- sys/boot/mips/beri/common/common.ldscript (revision 306227) +++ sys/boot/mips/beri/common/common.ldscript (working copy) @@ -73,5 +73,5 @@ __kernel_base__ = 0x100000; __kernel_vaddr__ = __mips64_xkphys_cached__ + __kernel_base__; -OUTPUT_FORMAT("elf64-tradbigmips"); +OUTPUT_FORMAT("elf64-tradbigmips-freebsd"); OUTPUT_ARCH(mips) > This diff allowed it to build when I tried a couple weeks ago at EuroBSDCon.
It looks like that fixes the build with external tool chain, but breaks it with in-tree ld?
|