From: "Leif Lindholm" <leif.lindholm@linaro.org>
To: "Gao, Liming" <liming.gao@intel.com>
Cc: "devel@edk2.groups.io" <devel@edk2.groups.io>,
"Zhang, Shenglei" <shenglei.zhang@intel.com>,
"Feng, Bob C" <bob.c.feng@intel.com>,
Ard Biesheuvel <ard.biesheuvel@linaro.org>,
Eugene Cohen <eugene@hp.com>
Subject: Re: [edk2-devel] [PATCH 1/1] BaseTools: Remove tool chain in tools_def.template
Date: Thu, 8 Aug 2019 12:30:46 +0100 [thread overview]
Message-ID: <20190808113046.GW25813@bivouac.eciton.net> (raw)
In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4CCBDA@SHSMSX104.ccr.corp.intel.com>
On Thu, Aug 08, 2019 at 10:51:54AM +0000, Gao, Liming wrote:
> Leif:
>
> >-----Original Message-----
> >From: Leif Lindholm [mailto:leif.lindholm@linaro.org]
> >Sent: Thursday, August 08, 2019 5:55 PM
> >To: devel@edk2.groups.io; Zhang, Shenglei <shenglei.zhang@intel.com>
> >Cc: Feng, Bob C <bob.c.feng@intel.com>; Gao, Liming
> ><liming.gao@intel.com>; Ard Biesheuvel <ard.biesheuvel@linaro.org>;
> >Eugene Cohen <eugene@hp.com>
> >Subject: Re: [edk2-devel] [PATCH 1/1] BaseTools: Remove tool chain in
> >tools_def.template
> >
> >Hi Shenglei,
> >
> >On Thu, Aug 08, 2019 at 04:09:18PM +0800, Zhang, Shenglei wrote:
> >> Remove definition of RVCT, RVCTLINUX, RVCTCYGWIN and CLANG35
> >> in tools_def.template. These tool chains are for ARM and AARCH64 only.
> >> There is no change recently and they are not used.
> >> https://bugzilla.tianocore.org/show_bug.cgi?id=1750
> >
> >This still does not address my comment in the BZ that deleting all
> >RVCT profiles before full VS support is enabled for (32-bit) ARM, we
> >orphan an awful lot of .asm files.
> >
>
> How about submit another BZ for VS tool chain ARM fully support?
> When there is real request, this support can be added in future.
Good point. I have raised
https://bugzilla.tianocore.org/show_bug.cgi?id=2065
and assigned it to myself.
> >This may not have much of a practical effect, since I doubt anyone is
> >using these toolchains today - but it does prevent someone from
> >actively going through and testing future updates (where before, they
> >may just have neglected to do so).
> >
> >This point needs discussing rather than ignoring, and I think we're
> >getting too close to the freeze to consider the patch to go in as is
> >at this point.
> >
>
> Agree for more discussion.
>
> >Whenever this patch does go in should be in the week after a stable
> >tag is made, to give plenty of time for anyone affected to shout
> >before the next stable tag is made.
> >
> >After the 2019.08 stable tag has been made, I am happy for a patch
> >going in that deletes CLANG35, RVCTCYGWIN and *one*of* RVCT/RVCTLINUX.
>
> If no one maintain or use it, this tool chain may not work now.
> If so, do we still need to keep it?
So there are two questions here, really:
The first - "why can't we delete all of these now?", I think I have
already explained above. (I am not suggesting you did not understand,
but I want to clarify that we also need agreement on the timing of
this patch in general.)
For the second: the Visual Studio assembler (for ARM/AArch64) shares
the .asm syntax (and source file name) with the RVCT assembler.
If we delete the whole RVCT family of profiles, we are left with a
bunch of .asm files that are defined to be assembled by a non-existing
toolchain family. Whilst still being of the name and syntax that we
will need when enabling the MSFT family.
A not exactly precise execution of
find * -name "*.inf" -exec grep -H "RVCT" {} \; | grep "|" | grep "\.asm" | wc -l
suggests 50 source files are affected in edk2. A further 6 in
edk2-platforms.
Hence, my preferred obsoletion path for RVCT would mean the family
(and at least one toolchain profile) remaining in the tree until
the Visual Studio enablement has switched the source files to MSFT.
Best Regards,
Leif
next prev parent reply other threads:[~2019-08-08 11:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-08 8:09 [PATCH 1/1] BaseTools: Remove tool chain in tools_def.template Zhang, Shenglei
2019-08-08 9:55 ` [edk2-devel] " Leif Lindholm
2019-08-08 10:51 ` Liming Gao
2019-08-08 11:30 ` Leif Lindholm [this message]
2019-08-08 20:46 ` Laszlo Ersek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190808113046.GW25813@bivouac.eciton.net \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox