building in dedicated directory; binutils -Wstack-usage and -flto
Дилян Палаузов
dpa-binutils@aegee.org
Wed Apr 26 21:21:00 GMT 2017
Hello,
I guess most binutils developers use separate build directory, because
they were told to do so. This a chicken-egg-problem.
Can you ensure that "make distclean" cleans everything created by "make"
(e.g. in the separate build directory)?
Is the message "error: stack usage might be unbounded
[-Werror=stack-usage=]", when binutils is -flto built, correct (lto uses
more stack), or wrong (liblto_plugin or ld handle it wrong).
Regards
ÐилÑн
On 04/24/2017 08:58 AM, Alan Modra wrote:
> On Sun, Apr 23, 2017 at 04:33:16PM +0200, ÐилÑн ÐалаÑзов wrote:
>> searching for "binutils build dedicated directory" the answers is "the
>> binutils documentation recommends building binutils in a dedicated build
>> directory",
>>
>> What is the reasoning for this, except that "make distclean" does not clean
>> everything, as it should?
>
> If we did a poll of binutils developers, I'd guess that most use a
> separate build directory. It's likely that builds in the source
> directory are not so well tested..
>
>> lto1: all warnings being treated as errors
> [snip]
>> Please make binutils build with -flto?
>
> configure with --disable-werror.
>
More information about the Binutils
mailing list