Re: (ppc64le) ELF load command alignment not page-aligned

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 31 Jan 2020 18:08:11 +0100
Alejandro Álvarez Ayllón <aalvarez@xxxxxxxxxxxxxxxxx> wrote:

> El vie., 31 ene. 2020 17:59, Dan Horák <dan@xxxxxxxx> escribió:
> 
> > On Fri, 31 Jan 2020 16:43:21 +0100
> > Dan Horák <dan@xxxxxxxx> wrote:
> >
> > > On Fri, 31 Jan 2020 16:32:15 +0100
> > > Alejandro Álvarez Ayllón <aalvarez@xxxxxxxxxxxxxxxxx> 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_Maintainers

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
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux