Bug#855078: giac: FTBFS: [algo.pdf] Error 139 (Segmentation fault)

Edmund Grimley Evans edmund.grimley.evans at gmail.com
Thu Jun 29 19:40:26 UTC 2017


This robopatch seems to fix the problem on arm64 with 48-bit addresses:

perl -i -pe 's/longlong/ulonglong/g if /\(\s*longlong.*(<<|>>)/ &&
!/gen\(longlong/;' src/*.cc

The idea is to change the type whenever there seems to be a cast
followed by a shift. The last condition is to avoid a couple of
harmful false positives.

For easier maintenance you might want to move the code that packs and
unpacks addresses into one place rather than have it scattered all
over the place.



More information about the debian-science-maintainers mailing list