* [ptxdist] ptxdist chrpath
@ 2016-02-17 8:07 Erwin Rol
2016-02-18 8:18 ` Michael Olbrich
0 siblings, 1 reply; 3+ messages in thread
From: Erwin Rol @ 2016-02-17 8:07 UTC (permalink / raw)
To: ptxdist
Hey all,
qt5 (not just my 5.5.1 version, but also the one in ptxdist master) use
chrpath in the qt5.make file;
@chrpath -d $(QT5_PKGDIR)/usr/lib/qt5/libexec/QtWebProcess
Is that really supposed to work ? I get the following error (shortened
the paths for readability);
[erwin@eir rootfs]$ chrpath -d
..../platform-Seco_T30/packages/qt-everywhere-opensource-src-5.5.1/usr/lib/qt5/libexec/QtWebProcess
`.../platform-Seco_T30/packages/qt-everywhere-opensource-src-5.5.1/usr/lib/qt5/libexec/QtWebProcess'
probably isn't a 64-bit LSB-first ELF file.
elf_open: Exec format error
The ptxdist verion platform-Seco_T30/sysroot-host/bin/chrpath gives the
same error.
Not so strange because the QtWebProcess is an ARM binary and not a x64
binary like the host.
Shouldn't there be a cross-chrpath version of chrpath ?
- Erwin
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] ptxdist chrpath
2016-02-17 8:07 [ptxdist] ptxdist chrpath Erwin Rol
@ 2016-02-18 8:18 ` Michael Olbrich
2016-02-18 9:39 ` Erwin Rol
0 siblings, 1 reply; 3+ messages in thread
From: Michael Olbrich @ 2016-02-18 8:18 UTC (permalink / raw)
To: ptxdist
On Wed, Feb 17, 2016 at 09:07:32AM +0100, Erwin Rol wrote:
> qt5 (not just my 5.5.1 version, but also the one in ptxdist master) use
> chrpath in the qt5.make file;
>
> @chrpath -d $(QT5_PKGDIR)/usr/lib/qt5/libexec/QtWebProcess
>
> Is that really supposed to work ? I get the following error (shortened
> the paths for readability);
>
> [erwin@eir rootfs]$ chrpath -d
> ..../platform-Seco_T30/packages/qt-everywhere-opensource-src-5.5.1/usr/lib/qt5/libexec/QtWebProcess
>
>
> `.../platform-Seco_T30/packages/qt-everywhere-opensource-src-5.5.1/usr/lib/qt5/libexec/QtWebProcess'
> probably isn't a 64-bit LSB-first ELF file.
> elf_open: Exec format error
>
> The ptxdist verion platform-Seco_T30/sysroot-host/bin/chrpath gives the
> same error.
>
> Not so strange because the QtWebProcess is an ARM binary and not a x64
> binary like the host.
>
> Shouldn't there be a cross-chrpath version of chrpath ?
The latest version of host-chrpath should be able to handle different
architectures. I think "select HOST_CHRPATH" is missing in qt5.in. Can you
check if that helps?
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] ptxdist chrpath
2016-02-18 8:18 ` Michael Olbrich
@ 2016-02-18 9:39 ` Erwin Rol
0 siblings, 0 replies; 3+ messages in thread
From: Erwin Rol @ 2016-02-18 9:39 UTC (permalink / raw)
To: ptxdist
On 18-2-2016 9:18, Michael Olbrich wrote:
> On Wed, Feb 17, 2016 at 09:07:32AM +0100, Erwin Rol wrote:
>> qt5 (not just my 5.5.1 version, but also the one in ptxdist master) use
>> chrpath in the qt5.make file;
>>
>> @chrpath -d $(QT5_PKGDIR)/usr/lib/qt5/libexec/QtWebProcess
>>
>> Is that really supposed to work ? I get the following error (shortened
>> the paths for readability);
>>
>> [erwin@eir rootfs]$ chrpath -d
>> ..../platform-Seco_T30/packages/qt-everywhere-opensource-src-5.5.1/usr/lib/qt5/libexec/QtWebProcess
>>
>>
>> `.../platform-Seco_T30/packages/qt-everywhere-opensource-src-5.5.1/usr/lib/qt5/libexec/QtWebProcess'
>> probably isn't a 64-bit LSB-first ELF file.
>> elf_open: Exec format error
>>
>> The ptxdist verion platform-Seco_T30/sysroot-host/bin/chrpath gives the
>> same error.
>>
>> Not so strange because the QtWebProcess is an ARM binary and not a x64
>> binary like the host.
>>
>> Shouldn't there be a cross-chrpath version of chrpath ?
>
> The latest version of host-chrpath should be able to handle different
> architectures. I think "select HOST_CHRPATH" is missing in qt5.in. Can you
> check if that helps?
Already tried that (even by hand) see the:
>> The ptxdist verion platform-Seco_T30/sysroot-host/bin/chrpath gives
>> the same error.
But since I am on a older ptxdist. Tegra3 only supports kernel 3.1.10,
and so I am stuck with an old systemd and so I can't update ptxdist :-(
My version is 0.13 and the master-ptxdist is 0.16, so I will "back port"
it ;-) I'll report back if it worked.
- Erwin
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-18 9:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-17 8:07 [ptxdist] ptxdist chrpath Erwin Rol
2016-02-18 8:18 ` Michael Olbrich
2016-02-18 9:39 ` Erwin Rol
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox