title: Makefile:586: recipe for target 'sharedmods' failed
body: <p>I am re-installing python3.6.3 on Debian and got below error when executing make command. Who can help me on this. Thanks,
  Segmentation fault
  Makefile:586: recipe for target 'sharedmods' failed
  make: *** [sharedmods] Error 139</p>
  
  <p>Python 3.6.3 run smoothly, but after the power-cycle, Debian system failed to be up and asked to run fsck manually to recover the unexpected inconsistency of /dev/sda3. Then I did fsck /dev/sda3. When computer is up, I failed to run all the python scripts with segmentation fault. </p>
  
  <pre><code>Fatal Python error: Segmentation fault
  
  Current thread 0x00007f47ad7c0700 (most recent call first):
    File "&lt;frozen importlib._bootstrap&gt;", line 219 in _call_with_frames_removed
    File "&lt;frozen importlib._bootstrap_external&gt;", line 922 in create_module
    File "&lt;frozen importlib._bootstrap&gt;", line 571 in module_from_spec
    File "&lt;frozen importlib._bootstrap&gt;", line 658 in _load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 955 in _find_and_load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 971 in _find_and_load
    File "/usr/lib/python3.6/hashlib.py", line 159 in &lt;module&gt;
    File "&lt;frozen importlib._bootstrap&gt;", line 219 in _call_with_frames_removed
    File "&lt;frozen importlib._bootstrap_external&gt;", line 678 in exec_module
    File "&lt;frozen importlib._bootstrap&gt;", line 665 in _load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 955 in _find_and_load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 971 in _find_and_load
    File "&lt;stdin&gt;", line 1 in &lt;module&gt;
  Segmentation fault
  </code></pre>
  
  <p>Then I tried to re-install python 3.6.3 and saw the above issue when executing make command.</p>