bug-make
[Top][All Lists]
Advanced

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

Re: oddball messages on FreeBSD that cause make to fail the testsuite


From: Dennis Clarke
Subject: Re: oddball messages on FreeBSD that cause make to fail the testsuite
Date: Tue, 15 Feb 2022 06:07:01 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0

On 2/15/22 00:38, Paul Smith wrote:
On Mon, 2022-02-14 at 18:54 -0500, Dennis Clarke wrote:
variable 'plugin_is_GPL_compatible' [-Wmissing-variable-declarations]

This is happening because you're adding extra compile-time options to
the standard GNU make build, and those options are getting passed
through to the test suite.

Most likely we should expend a little effort to sanitize the options
provided to the compiler in the test suite to remove unneeded things
like extra warnings.

However, in general when compiling external tools it's probably not a
good idea to force extra warning flags etc. into the build, unless
you're actually trying to develop or debug the code.  If you're just
trying to build it to use it, then adding extended warnings usually
just generates spurious issues.


Yep. I figured as much. I changed the CFLAGS to :

bw$
bw$ echo $CFLAGS
-std=iso9899:2011 -m64 -g -O0 -fno-fast-math -fno-builtin -Wl,-rpath=/opt/bw/lib
bw$

Then everything "just works".

However building and trying to test with -Weverything and a few other
noisey LLVM/Clang options does really toss a massive amount of bitter
complaints about, well as the Woption says, everything.  Even the colour
of your walls and why does you cat walk that way?  It will even spit
in your coffee when you are not looking. Not helpful but it is
interesting that the compile still works fine. Testsuite? Not so much.



--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional



reply via email to

[Prev in Thread] Current Thread [Next in Thread]