From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A6A243858408; Sun, 14 May 2023 14:13:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A6A243858408 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684073584; bh=/ohqXLGGsFif6ls4f9TqnEbxNWGAb1plU79f+sdeJgo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aM31EDDq+FlECY3PFceCUu9knf49+adNnJIEYryGr0DyivRaFJ2r6sfDKu7lvqIIL 75/SjXG2fMlmU8zzb+w4CzHYhCjdmJ8PR/wF4Eh2AuLWw6nCMzbCLJ8yNT2ho9riRm jQp10g+8ndB8/jbQseLBjf5bG5BHL7JxYdyVMAgk= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109852] Making of gcc13 errors out compiling libcpp/charset.cc with Error with "-march=native -O3 " Date: Sun, 14 May 2023 14:13:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: build, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: component cf_reconfirmed_on keywords bug_status cf_gcctarget short_desc everconfirmed 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=3D109852 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libgcc |tree-optimization Last reconfirmed| |2023-05-14 Keywords| |build, diagnostic Status|UNCONFIRMED |WAITING Target| |x86_64-linux-gnu Summary|Making of gcc13 stops at |Making of gcc13 errors out |libcpp/charset.cc with |compiling libcpp/charset.cc |Error |with Error with | |"-march=3Dnative -O3 " Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- You must have CXXFLAGS set to be "-march=3Dnative -O3 ". If so you should be using --disable-werror too. Can you attach the preprocessed source for charset.cc ? Also Please provide the output with -v while compiling charset.cc since -march=3Dnative will expand to something different depending on what machin= e you run gcc on.=