[PATCH 17/31] sandbox: Allow weak symbols to be dropped

Simon Glass sjg at chromium.org
Sat Apr 29 20:41:24 CEST 2023


Hi Heinrich,

On Mon, 24 Apr 2023 at 20:47, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
>
>
> Am 25. April 2023 01:08:22 MESZ schrieb Simon Glass <sjg at chromium.org>:
> >The sandbox build makes use of a small number of weak symbols. Allow these
> >to be dropped when building for the PE format, since its support for weak
> >symbols is poor.
>
> This comment does not explain the necessity of the change. Why is it really needed? Has the compiler version in MSYS a problem?

Yes, from what I understand, PE has never really supported weak
symbols properly. I'm not sure if that has changed, but it doesn't
look like it.

I'm hoping there is another workaround.

That said, I really don't like weak symbols and I think we should use them less.

[..]

Regards,
Simon


More information about the U-Boot mailing list