From owner-freebsd-hackers@freebsd.org Thu Aug 17 07:16:52 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 DB963DD2006 for ; Thu, 17 Aug 2017 07:16:52 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (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 5ECAD655FD for ; Thu, 17 Aug 2017 07:16:52 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-lf0-x22a.google.com with SMTP id y15so25765512lfd.5 for ; Thu, 17 Aug 2017 00:16:52 -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; bh=abom8GePp1zGEzGRPxC/PdohFV+xqMOVsIje2LLeCgA=; b=Zpgd1ZdUcMU5gglAbArXTJgkkoRb2lB+PASdkHFNmmF3Xu6s1SiOLnLDvXD6hpLINI Ks8IKKk9ZEdrFwhIL2T542UhUOU/25/O9M3t8IVJ7A2MAyvLqOlXe+HyS20l8/IiCOg5 ZzoLiDTGsHbAn/4rMCS7J21eVEOW6SwN02h7FZW5SEH4SGma0+PN3C/KLqEXOKPUa3P5 A4wnmkUP2bfP9YoyfWL+XA7s3rXXG4Fs85m62LCKwNptxJ5akwQvreQxc25Vz4ErA8s1 2T4tMgFNAAQFJyR+vTDpRkq0STM4TU+qFO0bibmysk6uEdcNPfNhiYTtD2T0l+pLzvRR pIoA== 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; bh=abom8GePp1zGEzGRPxC/PdohFV+xqMOVsIje2LLeCgA=; b=lnmCaRwvctqFM+Fn/NLhbYciSnRYHRpRmO0s+aDt690AxeWd4WNApokx5Zne2TcOXK W9K7vQBAAGsRZecT2AUtdxpmdXTtu4O5MuuWJhdfQD4WKiOaxOiLlG34uVw0MqUNBCPu 30GB7pQlY6AJR/GS/FC3ILbPjyQ68EUdSbRx/uHRX/QheJGtujtFmPp9RpFeFG3JFS3X HWJ0mxJNZNv7NnmH8ufk4WTppJo6o5V7464gHzTk5M5jRpZwxrpcdj6w3ztxu7U7eqrB jaJ2FSTOmw2kIf1O50rsSGpGc+LaMyXfzX5S5/D0bLQQGoZ5sbt8QWZuXFlvOiuF6e+X JwYQ== X-Gm-Message-State: AHYfb5iMyDOS5AqE5MooXSujjKskcMDdeJ4mV5UgoufoJyy/fjEN1v04 tcxY8ELfrBGDjOvlcxk5pipuVRDOGA== X-Received: by 10.25.18.81 with SMTP id h78mr1593159lfi.142.1502954210072; Thu, 17 Aug 2017 00:16:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.229.2 with HTTP; Thu, 17 Aug 2017 00:16:49 -0700 (PDT) Received: by 10.25.229.2 with HTTP; Thu, 17 Aug 2017 00:16:49 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Thu, 17 Aug 2017 09:16:49 +0200 Message-ID: Subject: Clang crashes on -CURRENT while compiling port To: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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 07:16:53 -0000 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. How to reproduce: Change compiler:gcc-c++11-lib to compiler:c++14-lang in port's Makefile Change src/external/glfont2/CMakeLists.txt and add /usr/local/include (for some reason clang doesn't find GL/gl.h while gcc does...) I can open a PR if necessary. Cheers P.S: I don't know if this belongs to freebsd-hackers@ since it is related to -CURRENT or if it belongs to freebsd-ports@