You are not logged in.

#1 2021-02-04 09:12:55

fredbezies
Member
Registered: 2011-07-28
Posts: 352

gcc 10.2.0-5 cannot create executable error.

Hello.

This morning, I got these upgrades on my archlinux installation:

* glibc 2.33-1
* gcc / gcc-libs 10.2.0-5
* binutils 2.36-1

Every time I tried to build dosbox-x-sdl2-git - an AUR package I maintain - I got an error telling me there is no working c compiler:

checking whether the C compiler works... no
configure: error: in `/home/fred/dosbox-x-sdl2-git/src/dosbox-x':
configure: error: C compiler cannot create executables

I also tried with midnight commander:

==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/fred/mc/src/mc-4.8.25':
configure: error: C compiler cannot create executables
See `config.log' for more details

Downgrading binutils, gcc/gcc-libs and glibc is the only way I found to get a working c compiler again.

I opened a bug: https://bugs.archlinux.org/task/69530

Offline

#2 2021-02-04 09:27:58

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: gcc 10.2.0-5 cannot create executable error.

I'd guess this is caused by https://bugs.archlinux.org/task/69529


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB