Gcc f951:内部编译器错误:在倍频程中安装程序包时,指令非法:4

Gcc f951:内部编译器错误:在倍频程中安装程序包时,指令非法:4,gcc,compiler-errors,homebrew,octave,macos-catalina,Gcc,Compiler Errors,Homebrew,Octave,Macos Catalina,你好,你在帮助别人 尝试在Octave中执行命令pkg install-forge io statistics control struct optim以安装统计数据包时,我遇到以下错误: >> pkg install -forge io statistics control struct optim warning: LFLAGS is deprecated and will be removed in a future version of Octave, use LDFLAG

你好,你在帮助别人

尝试在Octave中执行命令pkg install-forge io statistics control struct optim以安装统计数据包时,我遇到以下错误:

>> pkg install -forge io statistics control struct optim

warning: LFLAGS is deprecated and will be removed in a future version of
Octave, use LDFLAGS instead
f951: internal compiler error: Illegal instruction: 4
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://github.com/Homebrew/homebrew-core/issues> for instructions.
make: *** [slicotlibrary.a] Error 1
tar -xzf slicot.tar.gz
/usr/local/Cellar/octave/6.2.0_2/bin/mkoctfile-6.2.0 -Wall
-Wno-deprecated-declarations  __control_helper_functions__.cc
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cp TB01ZD.fortran ./sltmp/TB01ZD.f
cd sltmp; /usr/local/Cellar/octave/6.2.0_2/bin/mkoctfile-6.2.0 -c *.f

error: pkg: error running 'make' for the control package.
error: called from
    configure_make at line 110 column 9
    install at line 196 column 7
    pkg at line 568 column 9/
所以,我想知道是否有可能专门构建gcc来支持我正在使用的CPU并解决这个错误

其他信息: 我在/usr/local中搜索了“f951”,在那里我实际找到了3个 执行官

  • 三分之一
    //usr/local/gfortran/libexec/gcc/x86_64-apple-darwin15/6.1.0/f951/
  • 第二个
    //usr/local/gcc-10/libexec/gcc/x86_64-apple-darwin19.6.0/11.0.1/f951/
  • 还有第三个
    //usr/local/ceral/gcc/10.2.0_4/libexec/gcc/x86_64-apple-darwin19/10.2.0/f951/
  • 虽然我远不是这方面的专家,但我相信也许 这也可能导致错误?也就是说,我有三个相同的执行官 不同的目录

    编辑:

    我卸载了gcc和gfortran,使f951文件不再可用,然后再次安装了这两个文件。现在,我只找到一个f951 exec,但是,它仍然会导致相同的错误

    我非常感谢任何提示和提示,因为我不知道在哪里继续解决这个问题

    Yep, that's probably what's happening: your MBP is an old 2009 model
    running a Penryn CPU. Lacks SSE4.1 and some AVX instructions. When we've
    seen this before, it was an AVX instruction in a binary.