From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 951333858D28; Tue, 11 Oct 2022 17:25:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 951333858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665509158; bh=WVo8WNgDSifiJLVzDOsngSlbh/3cyufYlkFb+tKPpKo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bWnDMuX64Q+gcOBTcN8n0Ue1CdRWAwP0sAdSd+U3YqLn4YpZNrMiwDr9bFOb1mAdu QCXXFyzlpO1ixlLYx/nWWcWOALec/giNhE51LZI48NHudqoJqQzVjKL0FhyTCGU+zI bTUJgFrs1nXFCLYO6Ip5BBdbqEoNj1mQYY27zsSw= From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107201] [avr] -nodevicelib not working for devices -mmcu=avr... Date: Tue, 11 Oct 2022 17:25:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gjl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: attachments.created 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=3D107201 --- Comment #1 from Georg-Johann Lay --- Created attachment 53691 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53691&action=3Dedit pr107201.diff: Proposed patch. This proposed patch (effectively) sets macro X_NODEVLIB to "" in all of ./config/avr/driver-avr.cc. -nodevicelib is a known driver option from avr.opt, so there should be no n= eed to explicitly remove it by hand by means of %