On Fri, 31 Jan 2020 18:08:11 +0100
Alejandro Álvarez Ayllón <aalvarez(a)fedoraproject.org> wrote:
El vie., 31 ene. 2020 17:59, Dan Horák <dan(a)danny.cz>
escribió:
> On Fri, 31 Jan 2020 16:43:21 +0100
> Dan Horák <dan(a)danny.cz> wrote:
>
> > On Fri, 31 Jan 2020 16:32:15 +0100
> > Alejandro Álvarez Ayllón <aalvarez(a)fedoraproject.org> wrote:
> >
> > > Hello all,
> > >
> > > I am on the process of creating a new package, and making sure
> > > it builds smoothly on Fedora.
> > > However, even if it compiles successfully in ppc64le, the %check
> > > command fails with this error:
> > >
> > > /builddir/build/BUILDROOT/sourcextractor+
> > > +-0.8-1.fc31.ppc64le//usr/bin/sourcextractor++: error while
> > > loading shared libraries: libSEMain.so.0.8: ELF load command
> > > alignment not page-aligned
> >
> > there could be an expectation of 4KB pages somewhere in the source
> > code, ppc64le runs with 64KB pages
>
> I have reproduced this in F-30, but the question is whether this is
> a new thing with newer sources or did it always happen?
>
It is the first time I compile this software in ppc64, and probably
the first time it has been. The problem is that I do not have access
to a ppc machine to reproduce the issue. I'll try next week with qemu
perhaps.
you can use one from
https://fedoraproject.org/wiki/Test_Machine_Resources_For_Package_Maintai...
I run the command Jakub suggested and yes, there is something wrong
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg
Align
LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x0488bf 0x0488bf R E
0x1000
LOAD 0x0494e0 0x000000000004d4e0 0x000000000004d4e0 0x002b30 0x002c58 RW
0x1000
0x1000 isn't right, must be 0x10000
Dan