Created attachment 406810 [details] Output of emerge --info Evaluating even the simplest mathematical expression results in a segmentation fault. For example the perl script: # pdl-test.pl use PDL; $x = pdl [1 .. 10]; print "$x\n"; $y = $x * $x; print "$y\n"; Gives: $ perl ./pdl-test.pl [1 2 3 4 5 6 7 8 9 10] *** Error in `perl': realloc(): invalid next size: 0x08daf318 *** Same happens if I run the commands in the pdl or pdl2 shells. I have tried both versions of Perl currently in portage. I have run perl-cleaner --reallyall etc. I suspect version 2.4.11 currently in portage is too old. I fetched from GitHub the latest version (2.012), I manually installed it to /usr/local/ and it works as expected.
(In reply to Andreas Proteus from comment #0) > I suspect version 2.4.11 currently in portage is too old. > I fetched from GitHub the latest version (2.012), I manually installed it to > /usr/local/ and it works as expected. This is one hell of a gigantic monster. https://metacpan.org/release/PDL We are many versions behind. euscan didn't pick up on the new releases. :/
Talking with upstream, they say a split for PDL is in the works. And given the complexity of trying to work out what is needed and what to make change to keep it working is reaching mind-blow (https://github.com/PDLPorters/pdl/issues/139), I'm going to propose we just delay a bit till they get that rolling, as it will make the optional dependency logic much more modular: https://github.com/PDLPorters/pdl/issues/119 When we do that, we'll have to handle the split, but it shouldn't be so confusing as there's only one package in tree using it, plplot. And then we can tease out the perl parts in PLPlot and actually ship https://metacpan.org/release/PDL-Graphics-PLplot instead of using the bundled version in PLPlot, and then throw the "pdl" useflag on that, or something.
(In reply to Andreas Proteus from comment #0) > Created attachment 406810 [details] > Output of emerge --info > > Evaluating even the simplest mathematical expression results in a > segmentation fault. Confirmed, also the tests all segfault.
2.17.0 is in tree