This is the mail archive of the
mailing list for the binutils project.
Re: building in dedicated directory; binutils -Wstack-usage and -flto
- From: Дилян Палаузов <dpa-binutils at aegee dot org>
- To: Alan Modra <amodra at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 26 Apr 2017 23:21:29 +0200
- Subject: Re: building in dedicated directory; binutils -Wstack-usage and -flto
- Authentication-results: sourceware.org; auth=none
- Authentication-results: aegeeserv.aegee.org; auth=pass (PLAIN) smtp.auth=didopalauzov
- Authentication-results: mail.aegee.org; dkim=none
- Dkim-filter: OpenDKIM Filter v2.10.3 mail.aegee.org v3QLMk13000728
- References: <firstname.lastname@example.org> <20170424065848.GO24006@bubble.grove.modra.org>
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).
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
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
Please make binutils build with -flto?
configure with --disable-werror.