On Fri, 31 Mar 2023 at 12:53, Gerd Hoffmann <kra...@redhat.com> wrote: > > Hi, > > > > However, those issues might have been fixed and it’s not impossible > > > Vitaly will give it another try eventually. In any case, I think our > > > downstream variant of XCODE5 doesn’t require any level of special > > > care, so it doesn’t really matter to us. > > > > > > (Another thing to consider is despite the bugs are fixed, mtoc has a > > > much higher overall code quality and more safety checks than GenFw, > > > which is used for CLANGDWARF.) > > > > > > The upstream toolchain has no future in my opinion, as mtoc has been > > > deprecated and already failed to compile certain things (like it > > > lacked Standalone MM types). The reason it still “worked” was > > > because homebrew silently shipped a variant with a subset of our > > > ocmtoc patches. So as I see it, taking our changes or dropping it > > > entirely are the only sane options, even regardless of this > > > particular issue you’re trying to fix. Personally, I have no > > > preference. > > > > I think both GenFw and mtoc are horrible hacks that should be phased > > out once we can - with good cross-architecture Clang support for > > native PE binaries, I'd hope macOS could move to CLANGPDB for all > > targets. > > What is the difference between CLANGPDB and CLANGDWARF? Just the debug > info format? >
No, it uses the LLVM tools to generate PE binaries directly. > What is the support status? Is CLANGDWARF expected to build edk2 on all > platforms? Including cross-builds? Or will that work only after > Rebecca's toolchain fix/cleanup series being merged? > Yes, that what I was hoping for - LLD supports all architectures, which is why I insisted that CLANGDWARF should use LLD on ARM/AARCH64 as well. That way, anyone can build all targets on any host. > Should we eventually switch from gcc to clang on linux too? > When using ELF to PE/COFF conversion, it doesn't make that much of a difference. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#102297): https://edk2.groups.io/g/devel/message/102297 Mute This Topic: https://groups.io/mt/97960758/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-