[Bug 207125] lang/gcc9: (clang used to build) CFLAGS for clang stops portmaster lang/gcc9 build (report updated from gcc6 original)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 18 21:09:20 UTC 2020


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

Mark Millard <marklmi26-fbsd at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Not Accepted
             Status|Open                        |Closed

--- Comment #12 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
(In reply to Gerald Pfeifer from comment #11)

> Isn't this too a large extent a case of "Doktor, it hurts when I do X"
> - "Can you just not do X, then?"

The problem is knowing up-front that X will lead to hurt or figuring out
what X it was that caused the hurt or what to do that avoids X. It is not
even obvious what command line options are common between xgcc and clang
in various cases.

But that does not imply that there is a reasonable solution. Ports
supporting CFLAGS.gcc+= and CFLAGS.clang+= as a way to keep things
separate would only help after figuring out that the split was needed
and only would remove some of the problem for "what to do that
avoids X" (because X would not have to be avoided).

Status does not have a "no plan to fix" for Closed. I'm picking
"Not Accepted" for now. Feel free to adjust if another selection
is more appropriate.

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


More information about the freebsd-toolchain mailing list