From owner-freebsd-hackers@freebsd.org Thu Aug 17 13:13:34 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A03B8DE1620 for ; Thu, 17 Aug 2017 13:13:34 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com [IPv6:2a00:1450:4010:c07::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C001713DD; Thu, 17 Aug 2017 13:13:33 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-lf0-x231.google.com with SMTP id y15so29355327lfd.5; Thu, 17 Aug 2017 06:13:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Wxi+oisN7zPBoMegPQT+qi9geUIgpFoHCWC0HyzfbBI=; b=e29VeNZtdVd5kYL9/pteIHwsVX73VesykuwtxdL2GDZDQL817bfx9JCAxFbFtuNX1r bEpT/vXzykI9YmvXh87ST+5T2Ryk/dHpGwwA65h59pIyuARuephBow/OTWKUEgAUVZxx RO1OZ+gBCRXiiFlmP9EUUyPZouzJQhK369rOR9KWmQcC+n7J0OrpVAqDMl3Qq/SQnqOB tOSHXC6msZRz0q8ONlmG0BBa8xKLYEcZhw6q1bIip98bjUC0/nslYC8/Os0lfyTIME3u Yq6vz9juHQEhmsw8NtOcg6uCjQdjpllCWDQe1BepxJ+hFqxlijxjBAs4sHzqr6y/Ai0Y nt5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Wxi+oisN7zPBoMegPQT+qi9geUIgpFoHCWC0HyzfbBI=; b=SROvr8z5rcDcP/hPUDnujZikUZyL+XKzhRh09EvQbbqjg5169NND51X+3NTOObQfac 6ZOqJ/5xwUGwcEfqURipOg9YuGjlIkXrrMjx6Su9BTg45V8DRwQwPeygh4U0Ne/sMo/x ZDnvufsIKZ8z6U2V09qjdOjiZjEp0r0q4X3vJkJe5/CubirYssZdAYOEVLRJjHNoe6qI 2mRsN4OAVuW9FMwtEzDmPgUP1W1UfbIOKG1XyiAwD8U4LcDCdHRgF0TmzbDHjlpF03Hw Pb43qM9/3ohBKa7vq8xXbpetrFtxibvul3p90UDdi7GKNUJ7B+wAPDLubVR3Z1X01dJf JDeA== X-Gm-Message-State: AHYfb5g0vpxWfEWZ4He8/M01qf7uceXuU5PxWz/fI20FykUyg70RYiNx FzMJlrkXYGATfgSzegw3loROWjwJOJh0 X-Received: by 10.25.209.148 with SMTP id i142mr1706141lfg.135.1502975610438; Thu, 17 Aug 2017 06:13:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.229.15 with HTTP; Thu, 17 Aug 2017 06:13:29 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Thu, 17 Aug 2017 15:13:29 +0200 Message-ID: Subject: Re: Clang crashes on -CURRENT while compiling port To: Dimitry Andric Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2017 13:13:34 -0000 On Thu, Aug 17, 2017 at 11:41 AM, Dimitry Andric wrote: > On 17 Aug 2017, at 09:16, Fernando Apestegu=C3=ADa wrote: >> >> One of my ports (cad/openvsp) fails to compile in -CURRENT. The port >> only compiles with gcc on < 12. As part of the debugging I changed to >> compile with clang. >> >> The compiler crashed while compiling the port with the following error: >> >> fatal error: error in backend: No open frame >> c++: error: clang frontend command failed with exit code 70 >> >> Compiler version is: >> >> freebsd clang version 5.0.0 (brances/release_50 309439) >> >> I can send the as_callfunc* upon request. > > Please create a PR, and attach the two files (.cpp and .sh) it drops in /= tmp. Done. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221588 Thanks! > > -Dimitry >