Closed ascherer closed 5 years ago
It seems to boil down to --without debuginfo
. Optimization kills multiply
; all other programs run normally and produce the expected results.
This occurs even on master
, if you replace -g
with -O
in Makefile
.
Fixed and reported upstream.
While gcc/g++
on Linux requires -O
ptimization to reveal the fatal memory error, Apple LLVM version 9.0.0 (clang-900.0.39.2)
on macOS 10.12.6 produces a flawed multiply
executable right out of the box. The following recipe with the original SGB tarball
$> tar xzvf sgb.tar.gz
$> make tests multiply
$> ./multiply 100 100 31416
reports Abort trap: 6
.
Despite a detailed bug report, DEK hasn't come around to fixing this mistake upstream.
Fixed in Stanford GraphBase 2021-01-30.
The
local
version dies.