Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: README: gcc 7 switch coming to a port near you!



On Thu, 7 Feb 2019, John D. Baker wrote:

On Thu, 07 Feb 2019 22:27:58 +1100, matthew green <mrg%eterna.com.au@localhost>
wrote:

if you'd like to test now from -current, build a clean tree
with build.sh -V HAVE_GCC=7.  it should just work..

How clean is "clean tree"?  I'm simply performing a non-update build
into objdir last populated by a previous update build (w/o HAVE_GCC=7).

I'm getting the following failure (amd64-8.0_STABLE host):

[...]
--- cleandir-external ---
--- cleandir-lib ---
cleandir ===> external/bsd/pkg_install/lib
[...]
--- cleandir-external ---
nbmake[7]: "/x/current/src/external/bsd/pkg_install/lib/../Makefile.inc" line 16: Malformed conditional (defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc")
[...]


FWIW, I hade the same problem (amd64 host, amiga target) with a completely new and empty objdir and sources as of this morning, CET.

A quick test suggest this will happen if ${ACTIVE_CC} simply isn't defined when the expression is evaluated, effectively yielding:

defined(7) && 7 == 7 && == "gcc"

/ali



Home | Main Index | Thread Index | Old Index