Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936644 - Stages contain erroneous /usr/libexec/gcc/x86_64-pc-linux-gnu/ld and friends binutils symlinks
Summary: Stages contain erroneous /usr/libexec/gcc/x86_64-pc-linux-gnu/ld and friends ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Stages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on: 939090
Blocks:
  Show dependency tree
 
Reported: 2024-07-25 22:06 UTC by Sam James
Modified: 2024-09-21 11:00 UTC (History)
1 user (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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-25 22:06:12 UTC
Stages seem to contain /usr/libexec/gcc/x86_64-pc-linux-gnu/ld and friends binutils symlinks. This is problematic because GCC will look there first and ignore whatever binutils-config modifies ld and such to point to in the usual locations.

An older install of mine doesn't have them, but an install from June 2nd does. I verified the symlinks are present in stage3-amd64-desktop-systemd-20240721T164902Z.tar.xz.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-29 00:24:32 UTC
commit bf4b9fcbb4ce432731ac90fbbb3bcf73beb51820 (HEAD -> master, tag: v5.5.2, origin/master, origin/HEAD)
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sun Jul 28 16:24:28 2024 +0200

    Fix test for broken symlinks (-e is false, -h is true)

    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

commit 93501357fa01314bb5c7893a6fc38f927f135a96 (tag: v5.5.1)
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Fri Jul 26 22:51:50 2024 +0200

    Remove bad binutils symlinks in /usr/libexec/gcc/${HOST}/

    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

commit d26221d21a851f84a639b44477f6dd94056a7058
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Fri Jul 26 22:34:47 2024 +0200

    Print error message on empty determined CHOST

    No error exit yet, until we've fixed our problems.

    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-29 00:25:02 UTC
commit 994a7ab88b9b440c7db756531ffe62ad50e78602
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sun Jul 28 19:13:05 2024 +0200

    sys-devel/binutils-config: keyword 5.5.2

    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

commit ac99e284d7bc643dce0713bad2b9a399ac045cac
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sun Jul 28 16:31:59 2024 +0200

    sys-devel/binutils-config: add 5.5.2, drop 5.5.1

    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

commit 9a23794a3dc75c2248fbb6546b6428480fb91ead
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sun Jul 28 15:41:32 2024 +0200

    sys-devel/binutils: Detect and log binutils-config errors. Eventually we want to act on them...

    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

commit 4b7cc82cc54c61b3c2da17ff584c301cf2fecc63
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sun Jul 28 15:04:32 2024 +0200

    sys-devel/binutils-config: add 5.5.1

    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>