This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: building in dedicated directory; binutils -Wstack-usage and -flto


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]