From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1B591385841D; Tue, 6 Feb 2024 19:23:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B591385841D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707247408; bh=jFwabRAJ3nomfCNI8FQWHi7NbGbGmX7xvk09zqSwy1U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=m8V2T31KozkDUH6PK7puWaPrBIvSEQ5Ldv/eNva18ginkcAohHL0bAozcwA55QpWH mttFzLxeArofF6B3GxgHkPhIS+oqjOBmLKo7frhSonN9CseF7uAXUeH9AIeGm7ds4M rIw941OkooDBtsl1//7o8VvOuGkxiC6XsO0zAIJ0= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/81358] libatomic not automatically linked with C11 code Date: Tue, 06 Feb 2024 19:23:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 7.1.1 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81358 --- Comment #14 from Jonathan Wakely --- (In reply to Jeffrey Walton from comment #13) > Add a mee too. When using sanitizers, like -fsanitize=3Dundefined, the > compiler driver is not adding the necessary libraries to link the program. That's a rather vague claim. Which libraries are missing? Just libatomic?=