This is the mail archive of the
mailing list for the binutils project.
Re: building in dedicated directory; binutils -Wstack-usage and -flto
On Wed, Apr 26, 2017 at 2:21 PM, Дилян Палаузов <email@example.com> wrote:
> I guess most binutils developers use separate build directory, because they
> were told to do so. This a chicken-egg-problem.
One reason why people using separate build directories to build a few
different targets and versions of binutils (cross, native, candian
> 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
>>> 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.