Re: Does 'perl -v' show correct output on non-amd64 FreeBSD?

From: Mathieu Arnold <mat_at_freebsd.org>
Date: Sat, 11 Jun 2022 12:22:10 UTC
Hi,

I am not exactly sure what the problem is, but it seems ok to me:

For arm :

[~]$ perl -v
This is perl 5, version 32, subversion 1 (v5.32.1) built for arm64-freebsd-thread-multi


For powerpc :

[~]$ perl -v
This is perl 5, version 32, subversion 1 (v5.32.1) built for powerpc-freebsd-thread-multi


I haven't found a riscv one, but it feels like it is going to be ok too.



On Thu, Jun 09, 2022 at 01:51:22PM -0400, James E Keenan wrote:
> In the Perl core distribution, a bug ticket has been filed asserting that
> the commands 'perl -v' and 'perl -V' misdetect architecture on FreeBSD, at
> least on non-amd64 platforms such as powerpc, riscv and arm.  The ticket is
> here:
> 
> https://github.com/Perl/perl5/issues/19791
> 
> A pull request has been filed to correct this problem here:
> 
> https://github.com/Perl/perl5/pull/19843
> 
> If there is any reader of this list -- particularly someone with access to
> FreeBSD on non-amd64 platforms -- who would care to comment on either the
> issue or the pull request, please do so.  (The p.r. looks fine to me, but
> I'm only familiar with FreeBSD on amd64.)
> 
> Thank you very much.
> Jim Keenan
> 
> 

-- 
Mathieu Arnold