It looks the old bug 199303 is back after pan was updated to 0.140. The fix is the same as for 199303: add -static-libgcc -static-libstdc++ to LDFLAGS.
I can confirm this, it dumped core, but works with the extra flags.
*** This bug has been marked as a duplicate of bug 199303 ***