On Mon, 20 May 2019 10:49:01 +0200
Petr Tesarik <ptesarik(a)suse.cz> wrote:
On Mon, 20 May 2019 11:28:30 +0300
Nikolay Borisov <nborisov(a)suse.com> wrote:
> On 20.05.19 г. 11:24 ч., Honglei Wang wrote:
> > Hi Nikolay,
> >
> > I don't think we can do the s390 analysis just use the x86_64 crash
> > utility directly. I'm not familiar with cross build, but seems this
> > linkage might help:
> >
> >
https://developer.ibm.com/linuxonpower/2017/07/06/analyzing-openpower-ker...
>
> This is exactly which got me started into trying to understand what it
> takes to analyse s390 on x86_64. . Hence I've referenced the function
> which is supposed to verify that a particular combination of host and
> target is supported. I'm now interested in understanding why s390 on
> x86_64 is not supported.
Heh, been there already... ;-)
That's for many reasons. Bernhard Walle tried to make a crosscrash
package many years ago. The necessary changes were quite intrusive, and
Dave wrote clearly that this was unlikely to get merged any time soon.
I still thought it was a good idea, so as a Hackweek project I started
writing a tool that can automatically convert the crash utility to a
cross-platform variant. The (abandoned) sources can be found at
GitHub[1]. IIRC this work was based on crash-6.0.5, it most likely fails
miserably with any other version. ;-)
I deleted the link by mistake. Here it is:
[1]