[Bug 214456] lang/gcc6: -r424540: FreeBSD's WITH_DEBUG= and full bootstrap are incompatible and the build stops (powerpc 32-bit anyway)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 15 00:16:33 UTC 2016


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

--- Comment #5 from Mark Millard <markmi at dsl-only.net> ---
(In reply to Mark Millard from comment #4)

I normally have WITH_DEBUG "always on" and have not tied omitting it to see if
there
still would be a -gtoggle difference for lang/gcc6. So I've not really done
enough
to blame WITH_DEBUG for sure for lang/gcc6. (Let me know if you need the
behavior
confirmed for lack of WITH_DEBUG.) (I normally also have WTIH_DEBUG_FILES
"always
on".)


Side note on why I suspect WITH_DEBUG:

I've run into multiple ports that independently use WITH_DEBUG for their own
purposes (even outside of FreeBSD contexts). One of those requires disabling
WITH_DEBUG for it to complete building:

(bugzilla 206679)
www/webkit-qt5: ar: libWebCore.a: File truncated for debug/libWebCore.a when
FreeBSD ports' WITH_DEBUG= is used

I wish FreeBSD's ports infrastructure had picked a less generic name, say
something
like WITH_FBSD_DBG , that effectively could be treated as reserved because
preexisting matches were rather unlikely compared to WITH_DEBUG .

Making a port that uses WITH_DEBUG on its own use something else for its
internal
purposes and then maintaining that status over time would likely be a major
pain.

(Luckily: at least for now I do not build anything that indirectly gets to
www/webkit-qt5 .)

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


More information about the freebsd-ports mailing list