Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870691 - sys-devel/binutils-2.39-r2 fails to install symlink
Summary: sys-devel/binutils-2.39-r2 fails to install symlink
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-17 12:05 UTC by Helmut Jarausch
Modified: 2022-09-18 08:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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