[PATCH 5/6] pogo_v4: Disable LTO
Tony Dinh
mibodhi at gmail.com
Tue Nov 22 22:09:55 CET 2022
Resend to include the mailing list!
Tony
On Tue, Nov 22, 2022 at 11:58 AM Tony Dinh <mibodhi at gmail.com> wrote:
>
> Hi Tom,
>
> On Tue, Nov 22, 2022 at 9:32 AM Tom Rini <trini at konsulko.com> wrote:
> >
> > With gcc-12.2 we now get:
> > lib/zlib/inflate.c:360: undefined reference to `__gnu_thumb1_case_si'
> > when building this platform. This seems like some odd problem with LTO
> > and Thumb, but since the platform continues to link, I assume it's
> > within size constraints, so lets just disable LTO for now.
>
> We don't have a hard size constraint for this board. Thumb and LTO
> were to help keep the image 512K or less (by convention, for some
> downstream scripts).
>
> Thanks,
> Acked-by: Tony Dinh <mibodhi at gmail.com>
>
> >
> > Cc: Tony Dinh <mibodhi at gmail.com>
> > Signed-off-by: Tom Rini <trini at konsulko.com>
> > ---
> > configs/pogo_v4_defconfig | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/configs/pogo_v4_defconfig b/configs/pogo_v4_defconfig
> > index 3b08cb7b1d14..c4b7f7c31471 100644
> > --- a/configs/pogo_v4_defconfig
> > +++ b/configs/pogo_v4_defconfig
> > @@ -17,7 +17,6 @@ CONFIG_DEFAULT_DEVICE_TREE="kirkwood-pogoplug-series-4"
> > CONFIG_SYS_PROMPT="Pogo_V4> "
> > CONFIG_IDENT_STRING="\nPogoplug V4"
> > CONFIG_SYS_LOAD_ADDR=0x800000
> > -CONFIG_LTO=y
> > CONFIG_DISTRO_DEFAULTS=y
> > CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
> > CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc8012000
> > --
> > 2.25.1
> >
More information about the U-Boot
mailing list