Re: make warning: ?: No such file or directory.

From: Ngie Cooper <yaneurabeya_at_gmail.com>
Date: Wed, 10 May 2017 15:34:09 -0700
On Wed, May 10, 2017 at 11:59 AM, Simon J. Gerraty <sjg_at_juniper.net> wrote:
> Bryan Drewery <bdrewery_at_FreeBSD.org> wrote:
>> Oh now I get it too after updating system from head from r317177 to
>> r318116. So it seems to be a bug in bmake-20170420.
>
> What's in your env?
> Eg.
>
> env | grep MAKE
> ls

    As I noted in the src commit, I think r318161 addresses the issue
(also identified by Coverity as CID: 1374641). Basically, buf2 was in
scope for the conditional as stack memory, `path` took the address
buf2 and used it out of scope (which may have triggered the compiler
to optimize/evaluate the code incorrectly since the case seemed
impossible).
Thanks,
-Ngie
Received on Wed May 10 2017 - 20:34:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:11 UTC