From nobody Fri Jun 23 14:01:36 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qnf6m2w77z4gMQj for ; Fri, 23 Jun 2023 14:01:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qnf6m1pMVz3DWR for ; Fri, 23 Jun 2023 14:01:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687528896; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZX93AC4gUmgk+WuGq5XAOspKbyWzJsIp0Qq8OzBMZuE=; b=J+vYJ4XV4tL1Wrf5yX8J/hMN/ftTFWd8u4ygRaQti6S4LNBziGR8H69j0Hd/W7GrUEJdsL rAlMGsJVLl7bznOgMuCni3dW6uHeex0EbxR9lc4CeaGoJ9IrWDFahibpBiWrfh3E7bwdtJ o4fnJLBgeKphKGx4gwgtYdIEp/0d/AkFQep3xUIqypw7S2NrgeH0x2ZlcT0qIQ5UFHFpUa A4V5aRdfd4n2V0CpBF7IcdSDbCn27/fLAP8ZzD2i0a1hwshY3bY3nUZ0pR1U1zJU3YTqWS 86hWMfpWOHVnYr2ZMLiyR11vNhLkMALvCjHSYhEr6Bt7sSTVIZn3hI9wDp06Ig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687528896; a=rsa-sha256; cv=none; b=MPVzPkH7BrOjQmnK91RYxYOXfYjEgql3NdahhtCGh/dS3RmK1zlvPQ3NIjJOiZ20vCqfbW hTY9k4oNQqjnscPejs1radgWnKSens8Mv6NXmHFV1Y2RMDsroi33eggwkb+coOWGkEvN5p UviLM7eVFzjZAsM/bz2f6qn9WULzJqOO0ziHMFY5u9YqRo7Dv4Smw1zh+/IgNz5g8L1ewE 4wwa86XoIxOUBWs4qj4WBwi46soiL3E18IFCu3Uj+39wd+YUT4SK8okeFZNurjosn4rr/Z pYw7V5efJqZ5N2StDGYa9I90hpD4h4B6Vvdb9RENhFDWRIK+ayMz0XV40eIgZg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qnf6m0vG6z16p4 for ; Fri, 23 Jun 2023 14:01:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 35NE1a5T097539 for ; Fri, 23 Jun 2023 14:01:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35NE1a4f097538 for ports-bugs@FreeBSD.org; Fri, 23 Jun 2023 14:01:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 272142] devel/xtensa-esp32-elf: Request lang/gcc as default Date: Fri, 23 Jun 2023 14:01:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org 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: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272142 --- Comment #3 from O. Hartmann --- My skills of understanding the design of the toolset is limited. I stumbled into this problem regarding gcc, since my CURRENT boxes are on "default gcc= ", which is lang/gcc (which is lang/gcc12 ). It takes a significant amount of = time on my oldish hardware to compile gcc. First: lang/gcc12 (as other compilers) have backward compatibility knobs, l= ike=20 -std=3Dc++11 I tried to apply those knobs via "CXXFLAGS+=3D-std=3Dc++11" in the Makefile= to get rid of the c++17 warning (treated as error) when compiling with gcc12, but = no success - I guess the configure part via (gnu) autotools isn't run properly= to deploy the CXXFLAGS knob or, more likely, the set of options is fixed in the sources and need to be patched. Second: I did not understand the concept of this port, on the one hand we u= se gcc10 to compile the "port", on the other hand, gcc5.2 is included as the c= ross compiler(?) to deliver Xtensa binary code. Reasons unknown. Third: I checked whether the FreeBSD base compiler, LLVM (LLVM16 now in CURRENT) supports the target Xtensa - and it seems, following this=20 https://www.esp32.com/viewtopic.php?t=3D9226 reveals that LLVM already supports the target in some way - I did not investigate the state of efficiency yet. At the end I'd like to have a development environment ready to compile and deploy some code on ESP32 MCUs. --=20 You are receiving this mail because: You are the assignee for the bug.=