[Bug 261215] objcopy fails to work on itself which make buildworld with NO_CLEAN fail

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 16 Aug 2024 15:30:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261215

--- Comment #4 from Andriy Gapon <avg@FreeBSD.org> ---
Just a note, if WITHOUT_CROSS_COMPILER is not set, then objcopy would be built
as a bootstrap tool (at stage 3), so it would be found in one of directories in
XPATH and the problem would not happen.

If a build is a clean build, then there wouldn't yet be objcopy executable in
objcopy's build directory, so the problem wouldn't happen even when
WITHOUT_CROSS_COMPILER is set.

Finally, if WITHOUT_DEBUG_FILES is set then there wouldn't be any objcopy
invocation.
Ditto, if debug symbols are not being generated at all.

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