Thread (14 messages) 14 messages, 5 authors, 2022-01-12

Re: linux-next: manual merge of the audit tree with the powerpc tree

From: Christophe Leroy <hidden>
Date: 2021-12-14 19:32:52
Also in: linux-next, lkml


Le 14/12/2021 à 19:23, Paul Moore a écrit :
On Tue, Dec 14, 2021 at 12:59 PM Christophe Leroy
[off-list ref] wrote:
quoted
Hello Paul,

I've been trying to setup your test suite on my powerpc board but it's
based on Perl and on a lot of optional Perl packages. I was able to add
them one by one until some of them require some .so libraries
(Pathtools-Cwd), and it seems nothing is made to allow cross building
those libraries.

Do you have another test suite based on C and not perl ?

If not, what can I do, do you know how I can cross compile those Perl
packages for PPC32 ?
Is there no Linux distribution that supports PPC32?  I would think
that would be the easiest path forward, but you're the PPC32 expert -
not me - so I'll assume you already tried that or it didn't work for
other reasons.
There hasn't been Linux distribution supporting PPC32 for a few years 
now. And regardless, the boards I'm running Linux on are home made 
embedded boards, with limited amount of memory and flashdisk space and 
no video chip, so they are hardly supported by any distributions, even 
older ones.
I'm also not a Perl expert, but it looks like PathTools is part of the
core Perl5 release, have you tried that?

https://github.com/Perl/perl5/tree/blead/dist/PathTools
I got it from https://metacpan.org/pod/Cwd
I guess it is the same ?
Finally, no, our only really maintained test suite is the Perl based
one; there have been other efforts over the years but they were never
properly supported and fell out of use (and applicability).  At some
point you/someone was able to run the test suite, why isn't that
working now?  Or was it a different powerpc ABI?
Yes, Michael did on some PPC64 server, for this kind of HW there are 
distribution and they are able to run native compilers on it as well, so 
that's another story.

Christophe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help