[Bug 245807] [make] cc can not create a target when execd by BSD make but succeeds under gmake

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 22 00:28:26 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245807

andrew at tao11.riddles.org.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrew at tao11.riddles.org.uk

--- Comment #3 from andrew at tao11.riddles.org.uk ---
User error, caused by non-obvious magic behavior (aka "POLA violation") on the
part of bmake.

In short, since /usr/obj/home/elrond exists, bsd make is using that as .OBJDIR
by default, and changing directory to it before running commands. So it's the
permissions on _that_ directory that cause the issue.

It doesn't fail with gmake because that has no such magic behavior.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list