On Thu, 2024-09-19 at 16:26 +0000, 'Schultschik, Sven' via isar-users
wrote:
> Hi Jan,
>
> we are back on that topic with GCC5 within ISAR instead of GCC49.
>
> We are now at the point that the file
>
> ./edk2/BaseTools/Bin/GccLto/liblto-aarch64.a
>
> is available in the repository, but seems to get deleted before going
> into dh_auto_build
>
> > find -iname *to-aarch64*
> > ./edk2/BaseTools/Bin/GccLto/liblto-aarch64.s
>
> So between prepare build and doing the build the .a files seems to
> get
> deleted. But we couldn't yet find where.
>
> The files is available in the recepie git folder.
>
> Sven
>
Hello Sven.
I remember something similar (e.g., removing original binaries) on a
different project. Newer debhelper was removing any binaries in source
code that had different from target's architecture.
AFAIR, overriding dh_strip (or some different step... dh_shlibdeps?
dh_fixperms?) helped.
```
override_dh_strip:
@echo Skipping $@
```
BTW, the recipe you attached few messages above, builds well with
recent isar/next (arm64 cross/compile).
> On Thu, 2024-02-01 at 16:35 +0000, 'Schultschik, Sven' via isar-users
> wrote:
> > On Wed, 2024-01-31 at 16:50 +0100, Jan Kiszka wrote:
> > >
> > > We are on sbuild Isar in meta-iot2050 (currently
> > > 30471bb3f787fb0aa822d15e141ecce2f3b99860), and there the recipe
> > > builds.
> > > Already compared that?
> > >
> > > Jan
> > >
> >
> > Hi Jan,
> >
> > that's weired. the iot2025 does not have that issue and both
> > recipes
> > are identical, therefor I wrote both of them ^^
> >
> > No clue right know where the difference is. Three big ??? right now
> > over my head
> >
> > Sven
> >
>
--
Best regards,
Uladzimir.