gpt4 book ai didi

linux - fatal error : Uninstalled sys-devel/binutils - emerge don't work anymore

转载 作者:太空宇宙 更新时间:2023-11-04 10:42:54 24 4
gpt4 key购买 nike

<分区>

我在 3 周前清理了我的系统并犯了一个 fatal error 。
嗯,我真的不知道为什么,但我卸载了 sys-devel/binutils

在我认识到错误后,我尝试重新出现,但它不起作用。
下一步是,从 Gentoo 下载 stage3 并将 sys-devel/binutils 从那里复制到本地树。
不起作用。

之后我去度假,今天回来,所以我需要解决这个问题,主要是在不重新安装整个系统的情况下。

当我尝试出现类似x11-apps/xinput 的东西时,我收到以下信息:

emerge 的输出:

checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/x11-apps/xinput-1.6.2/work/xinput-1.6.2_build':
configure: error: C compiler cannot create executables

来自 emerge 的 config.log:

configure:3372: checking whether the C compiler works
configure:3394: x86_64-pc-linux-gnu-gcc -m32 -march=core-avx-i -mtune=core-avx-i -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
x86_64-pc-linux-gnu-gcc: internal compiler error: Illegal instruction (program as)

ldd 来自/usr/bin/as:

linux-vdso.so.1 (0x00007ffee41b9000)
libopcodes-2.25.1.so => /usr/lib64/binutils/x86_64-pc-linux-gnu/2.25.1/libopcodes-2.25.1.so (0x00007f2045ff8000)
libbfd-2.25.1.so => /usr/lib64/binutils/x86_64-pc-linux-gnu/2.25.1/libbfd-2.25.1.so (0x00007f2045cd3000)
libz.so.1 => /lib64/libz.so.1 (0x00007f2045abd000)
libc.so.6 => /lib64/libc.so.6 (0x00007f2045722000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f204551e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f204637f000)

使用:

  • 系统开发/binutils-2.25.1-r1
  • 系统开发/gcc-4.9.3

有什么建议吗?有什么提示吗?有什么想法可以解决吗?让我知道!

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com