[Bug 294436] bmake: Linux cross-build fails, MAKEOBJDIR issue
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 294436] bmake: Linux cross-build fails, MAKEOBJDIR issue"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Apr 2026 22:35:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294436
--- Comment #1 from Simon J. Gerraty <sjg@FreeBSD.org> ---
bmake itself builds on Linux (and just about anything else) just fine.
That you got as far as `buildworld` suggests it built ok via make.py too.
There should be no functional change in this version of bmake, it is just more
efficient about when to set OP_SUBMAKE, which doesn't matter much on FreeBSD
since the job pool descriptors are passed to all children anyway.
src.sys.obj.mk is fatally flawed, at least in conjunction with the current
top-level build - it both needs to export OBJTOP, but at the same time cannot
without breaking. We've tried "fixing" it both ways - neither works.
This is the cause of all the warnings about /lib permission denied etc.
You might find it useful to put the following in share/mk/site.sys.env.mk
though in your case it may get included too late (you could reverse the order
of includes in local.sys.env.mk if so
```
# site.sys.env.mk
MAKE_PRINT_VAR_ON_ERROR += \
.CURDIR \
.OBJDIR \
SRCTOP \
OBJTOP \
MAKEOBJDIR \
```
--
You are receiving this mail because:
You are the assignee for the bug.