[email protected] writes: > -----Original Message----- > From: Chris Marshall > > Has it been narrowed down to a specific version of gcc ? > I haven't been paying much attention, but I seem to keep seeing version > 4.8.1 being mentioned. > Do the same errors arise with any other versions of gcc ?
Yes, the bug appears to be tickled with gcc 4.8. I can see this clearly on my more-or-less vanilla amd64 Debian/sid box. With gcc 4.8.1-8 I check out the PDL git HEAD, do $ perl Makefile.PL $ make $ perl -M'blib blib' -M'PDL::LiteF' -e 'my $x = long(2 + ones(2,2));' and I see *** Error in `perl': realloc(): invalid next size: 0x000000000254dff0 *** This last line is the essense of what fails in the 'make test'. As you can see this is not obscure at all, so this is a very serious issue. It's not sensitive either, and it's very easy to make it crash. I can do 'ones(2,2) + 1' instead and it still crashes. PDL is unusable when built with gcc 4.8. It all appears to work fine when I build with gcc 4.7.3-6 instead. I tested with PDL 2.4.9 and I see the same results. valgrind is reporting some memory corruption, so I'll follow that when I have the time. dima _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
