[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 16:14:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261215

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sjg@FreeBSD.org

--- Comment #5 from Ed Maste <emaste@freebsd.org> ---
(In reply to Andriy Gapon from comment #2)
Thanks for the diagnosis avg! We definitely need to avoid having :: in the path
as we could encounter similar issues with other tools.

I think something like this would also work:

-STRICTTMPPATH= ${XPATH}:${BPATH}:${UNIVERSE_TOOLCHAIN_PATH}
+STRICTTMPPATH= ${XPATH}:${BPATH}
+.if defined(UNIVERSE_TOOLCHAIN_PATH)
+STRICTTMPPATH!=${STRICTTMPPATH}:${UNIVERSE_TOOLCHAIN_PATH}
+.endif

but I'll add sjg@ on CC for advice on the canonical make way to address this.

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