Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 870691

Summary: sys-devel/binutils-2.39-r2 fails to install symlink
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ionen, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Helmut Jarausch 2022-09-17 12:05:55 UTC
On my system, binutils cannot be accessed

I had to
cd /usr/x86_64-pc-linux-gnu/
ln -s binutils-bin/2.39 bin


to fix my system.

All builds fail with  "gcc cannot create executables"

Unless one finds this fix above a Gentoo system is heavily broken.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-17 12:12:05 UTC
There's going to be something way more to this. It's happened to nobody else and it works fine for me.

What happens when you use binutils-config?
Comment 2 Ionen Wolkens gentoo-dev 2022-09-17 12:35:01 UTC
Do remove the symlink before trying binutils-config, that's supposed to be a normal directory /in/ which binutils-config will create symlinks.

If you use it as-is it'll try create symlinks over your real binaries (but thankfully fail to).
Comment 3 Helmut Jarausch 2022-09-17 13:39:28 UTC
Many thanks for your quick help.
The question is why binutils-config hasn't been run by emerge.
Or did I miss some NEWS that I had to run it myself?

Anyway, having run binutils-config fixes the problem,
Helmut