ubuntu@baltar:~$ lscpu Architecture: ppc64le Byte Order: Little Endian CPU(s): 160 On-line CPU(s) list: 0-159 Thread(s) per core: 4 Core(s) per socket: 20 Socket(s): 2 NUMA node(s): 2 Model: 2.2 (pvr 004e 1202) Model name: POWER9, altivec supported CPU max MHz: 3800.0000 CPU min MHz: 2166.0000 L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 10240K NUMA node0 CPU(s): 0-79 NUMA node8 CPU(s): 80-159 ubuntu@baltar:~$ cat test.pl #!//usr/bin/perl
use POSIX qw(mblen); my $str = "data"; print "Calling mblen with str=$str\n"; my $len = mblen($str, MB_CUR_MAX); print "mblen returned with len=$len\n"; ubuntu@baltar:~$ ./test.pl Calling mblen with str=data mblen returned with len=-2 Not sure if the result of "-2" is expected, or not. From my expectations of what mblen() is supposed to do, that's a wrong answer.... And that was POWER9, will redo on POWER8 now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1818953 Title: Perl core dumping core on UBUNTU 19.04 by executing perl script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1818953/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
