From owner-freebsd-ports@freebsd.org Thu Mar 30 11:40:05 2017 Return-Path: Delivered-To: freebsd-ports@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 F41D4D225E9 for ; Thu, 30 Mar 2017 11:40:04 +0000 (UTC) (envelope-from net@arrishq.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E18F57B6 for ; Thu, 30 Mar 2017 11:40:04 +0000 (UTC) (envelope-from net@arrishq.net) Received: by mailman.ysv.freebsd.org (Postfix) id E0E10D225E7; Thu, 30 Mar 2017 11:40:04 +0000 (UTC) Delivered-To: ports@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 E084BD225E5 for ; Thu, 30 Mar 2017 11:40:04 +0000 (UTC) (envelope-from net@arrishq.net) Received: from mail1.arrishq.net (eatmyshorts.phobos.ws [178.63.103.215]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ACA9D7B5 for ; Thu, 30 Mar 2017 11:40:04 +0000 (UTC) (envelope-from net@arrishq.net) Received: from mail.arrishq.net (mail.arrishq.net [127.0.0.1]) (Authenticated sender: local) by mail1.arrishq.net (qmail) with ESMTPSA id 3CAEAFA2 for ; Thu, 30 Mar 2017 13:32:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arrishq.net; s=default; t=1490873528; bh=AsvYO1jgerRHlI8UX4m1DaT0i29xfC20O1xnVZYP92Q=; h=Date:From:To:Subject; b=QQmI7bXI4rsBzHQfwYmuFRn4wFTHu54ia30HldpcWqoemef9DH99MfN2fxPhgV5rb WMl0isLlztpGU8B0pebscxWKTTMdu7g+jwP8VDYZyfToDSBCTcHbTcEsHen0VySema fcWnN/FFnas6L8creRyVfCRaVXzbKefwA+u8e8hk= Date: Thu, 30 Mar 2017 13:31:56 +0200 From: Tommy Scheunemann To: ports@freebsd.org Subject: Recent devel/libclc update breaking graphics/dri - it seems Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2017 11:40:05 -0000 Hi every1, it seems - hopefully not just for me (sorry) - the recent devel/libclc update breaks graphics/dri. Upon updating libclc, llvm40 gets lurked into the system and graphics/dri gets rebuilt, using llvm40 - even if 3.9 is installed - for compilation. The compile then stops with. --- SNIP --- In file included from draw/draw_llvm.c:45: ./gallivm/lp_bld_intr.h:69:20: error: unknown type name 'LLVMAttribute'; did you mean 'LLVMAttribu teRef'? LLVMAttribute attr); ^~~~~~~~~~~~~ LLVMAttributeRef /usr/local/llvm40/include/llvm-c/Types.h:116:40: note: 'LLVMAttributeRef' declared here typedef struct LLVMOpaqueAttributeRef *LLVMAttributeRef; ^ draw/draw_llvm.c:1577:10: error: implicit declaration of function 'LLVMAddAttribute' is invalid in C99 [-Werror,-Wimplicit-function-declaration] LLVMAddAttribute(LLVMGetParam(variant_func, i), --- SNIP --- Even manually upgrading libclc, deinstalling llvm40 and reinstalling llvm39, at the latest when it comes to graphics/dri llvm40 gets pulled in again and the compile run fails. My guess (guess, crytal ball, lottery) is the update of libclc breaks graphics/dri due to llvm40 dependencies. Any useful idea on how to fix this ? My second guess (again with a crystal ball playing lottery) is that mesa 13.0.6 isn't playing nice with llvm4 atm. Kind regards