[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [XEN PATCH v3 15/23] xen/build: have the root Makefile generates the CFLAGS
- To: Roger Pau Monné <roger.pau@xxxxxxxxxx>
- From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- Date: Tue, 24 Mar 2020 17:11:11 +0000
- Authentication-results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=anthony.perard@xxxxxxxxxx; spf=Pass smtp.mailfrom=anthony.perard@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Wei Liu <wl@xxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Tue, 24 Mar 2020 17:11:29 +0000
- Ironport-sdr: dNnK9/aZRJiMm4oMzKtIfKpz9R5lZv8kdgtuqrqn8MpMynm+I+6yQtvfwjadE5euX39jBBmGmu +VVXaYsHHr7k3UIOUs35I1u1b1jrC+ypUMYEYpXJ7/QZ0lSyUtxmeQn1NJeyyoQ5WT+/HIy0Ul agA9qnuDLtmYKsSGaOhoR96yrON8KP3oCnfc1A294OrSy8qFJeSS570fRWVodHuVtUXVFBDOO/ fLE16LXvZ6RqbwAo5VBeC5P3X0J4gUtMpzBxvsY9DBG4E1RUAyBZEGiRbZy82OyJ87pWL7EaxG hpk=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Mon, Mar 23, 2020 at 04:11:53PM +0100, Roger Pau Monné wrote:
> On Thu, Mar 19, 2020 at 04:24:12PM +0000, Anthony PERARD wrote:
> > So, testing for the -Wa,--strip-local-absolute flags turns out to be
> > more complicated than I though it would be.
> > - cc-option-add doesn't work because it doesn't test with the current list
> > of CFLAGS. And if I add the CFLAGS, clang says the option is unused,
> > it doesn't matter if -no-integrated-as is present or not.
>
> Oh, that seems like completely bogus clang behavior. It's my
> understanding (from reading the manual) that whatever gets appended to
> -Wa,<arg> is just passed to the assembler, in which case the compiler
> has no idea whether it's used by it or not.
>
> Which version of clang did you use to test it?
Probably 9.0.1, I don't think I've upgraded since my tests.
--
Anthony PERARD
|