From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-po-04v.sys.comcast.net (resqmta-po-04v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:163]) by sourceware.org (Postfix) with ESMTPS id 94157385F022 for ; Fri, 16 Jul 2021 13:35:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 94157385F022 Received: from resomta-po-07v.sys.comcast.net ([96.114.154.231]) by resqmta-po-04v.sys.comcast.net with ESMTP id 4NzKmPsgGbVMM4O00mpyQS; Fri, 16 Jul 2021 13:35:28 +0000 Received: from pkoning.akdesign.com ([73.60.223.101]) by resomta-po-07v.sys.comcast.net with ESMTPSA id 4NzwmAZO2Etp34NzxmDaST; Fri, 16 Jul 2021 13:35:28 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefgdeigecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjfffgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpefrrghulhcumfhonhhinhhguceophgruhhlkhhonhhinhhgsegtohhmtggrshhtrdhnvghtqeenucggtffrrghtthgvrhhnpedvtdevjeeuhefhiedvteffjeeuffehkefgudeutdevffefkeeijeelfeevuefhgeenucfkphepjeefrdeitddrvddvfedruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehpkhhonhhinhhgrdgrkhguvghsihhgnhdrtghomhdpihhnvghtpeejfedriedtrddvvdefrddutddupdhmrghilhhfrhhomhepphgruhhlkhhonhhinhhgsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepnhhitghktgesrhgvughhrghtrdgtohhmpdhrtghpthhtohepvggvnhdukedttddttdesuhhtuggrlhhlrghsrdgvughupdhrtghpthhtohepsghinhhuthhilhhssehsohhurhgtvgifrghrvgdrohhrgh X-Xfinity-VMeta: sc=-100.00;st=legit Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: How do I fix the ld program (the linker for gcc and g++) From: Paul Koning In-Reply-To: <2712a9a8-c1d3-850f-4668-f937003f2686@redhat.com> Date: Fri, 16 Jul 2021 09:35:23 -0400 Cc: "Nibbe, Evan E" , "binutils@sourceware.org" Content-Transfer-Encoding: quoted-printable Message-Id: <16F57407-21C6-477D-92D2-35F4B93F9D3E@comcast.net> References: <1D757701-2CCD-4554-9A9F-05E9ED9E9413@utdallas.edu> <2712a9a8-c1d3-850f-4668-f937003f2686@redhat.com> To: Nick Clifton X-Mailer: Apple Mail (2.3445.104.21) X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2021 13:35:33 -0000 > On Jul 16, 2021, at 9:02 AM, Nick Clifton via Binutils = wrote: >=20 > Hi Evan, >=20 >> Currently the ld program got corrupted after I accidentally operated = make with root privileges (FreeImage from=20 >=20 > This is really a question for your distribution's maintainers... >=20 >> How do I fix this problem? Should I just save all my important files = somewhere else and reinstall linux on my computer ? >=20 > Yes. You cannot rebuild the linker without having a working linker = present > in the build system, so reinstalling is the only real option = available. Reinstalling the package that contains ld (presumably "binutils") would = be sufficient if that's the total damage. But I can't see how = "operating make with root privs" would damage ld to begin with. That = raises the question what actually went wrong, and how much else in the = system has been damaged by this security violation. In other words, = while wipe and full OS reinstall is a drastic solution, it may be = prudent here. paul