[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180223162255.cakkzdi3jpkh4vmi@6wind.com>
Date: Fri, 23 Feb 2018 17:22:55 +0100
From: Robin Jarry <robin.jarry@...nd.com>
To: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>,
Michal Marek <michal.lkml@...kovi.net>,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
Ingo Molnar <mingo@...nel.org>
Subject: Re: [PATCH 2/2] objtool: use host flags to detect if libelf is
missing
2018-02-23, Josh Poimboeuf:
> Hi Robin,
>
> Did you test this? I see some issues:
>
> a) I don't see where the host_cflags variable comes from (and btw, it's
> misspelled...)
Hi Josh,
Shame on me... Last minute fix. I had tested this first by forcing
HOSTCC="gcc <CFLAGS> <LDFLAGS>" but I found it rather dirty. As it turns
out, my patch is not better.
> b) I don't see where objtool uses HOSTLDFLAGS.
Indeed, I also missed this (see above).
It looks like objtool does not use HOSTCFLAGS nor HOSTLDFLAGS (defined
in top Makefile). Do you see a reason why? Maybe it would be a good idea
to share these flags (adding some specific ones for objtool, if needed).
What do you think?
--
Robin
Powered by blists - more mailing lists