From owner-freebsd-hackers@freebsd.org Sat Jan 27 17:42:46 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 065D4ECDBAC for ; Sat, 27 Jan 2018 17:42:46 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (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 65FAC72430 for ; Sat, 27 Jan 2018 17:42:45 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-lf0-x236.google.com with SMTP id h92so4457029lfi.7 for ; Sat, 27 Jan 2018 09:42:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=onm4+dqe2pp8jVcRdfwRSN66cBVBvO3WsRNSRtxNXeA=; b=VLo7Ptr/MdoHFdSshbP1RHM1xeYARbcqxtD9oQN979SJlxEvgzpjaMUP0IjUeKu57g L734pKEPYEbv8EsFMWCCnocaAfddRltuqxYzk4EHkHloPDlWjGgfMz28p/fCBHVGsW+w zKC9mhGOSUAr43dB7YDFM9zEErj6GXrFSZIPYZIRCn3iiAJ+FZzHE/phdKOTN6thlJAY u5+INUQcL7r0hVAycPEB6EJDukvQWwOzXmAtYPSR+tVYtrAywRhM2EwyzIEB/KAM/Eij uZWYbMHC02QGOwiewqzv1+G5Hd16cGFPi9Tneeh+d8vaRBnckU559IRhxtMyvr7gz7ps HWYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=onm4+dqe2pp8jVcRdfwRSN66cBVBvO3WsRNSRtxNXeA=; b=VkZwJ2v8yZi9a7IQ9itQmfpLMt30MFglD0lqny7u97Z/ztXNqEDitauVRq6uvlATxG PRbTzdmgMGjQaeU/XRbhh0SbbnX/HZ2ZfNE+E+XGh0UAtLVapxFUftcJGnnf2AXiAx8G J5Mr4/oK8dWT4fYqDR7uYTRHklcIrgx+xBNyo0YxZY7G2tCFvtxVC01Tafa6xkVbxPEt TTEc46w0ADspgdBwtD2rNe/c21v/CGBMSKe77A+WjdaRP2DI1KVvv7bh9gCp/ZKGwS/6 zlsjvnkk0tS3ebevGmutlxkPc7Q/d1V9XNjkWDHYcpTLYIBD2x5r3m68Mb56Szc5jPQE JKzQ== X-Gm-Message-State: AKwxytf5McUybs6StxllITpQpYyb/bhSZq7xvCmLdEM86mQtQPq8i/hl p0CnOaIWzmod+pHsVMqE4DQDK+vcpaFJ+V2xQ4VOTQ== X-Google-Smtp-Source: AH8x224s7RUWniBbjW3npx0mpcpXwKlLgtlpDOkkmSSnPPa5+P0CcLce9j+ygnudQQt4T9ASAHLKIvWQI+VmiOi/DbM= X-Received: by 10.46.66.197 with SMTP id h66mr10056178ljf.42.1517074963492; Sat, 27 Jan 2018 09:42:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.225.218 with HTTP; Sat, 27 Jan 2018 09:42:42 -0800 (PST) From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Sat, 27 Jan 2018 18:42:42 +0100 Message-ID: Subject: cad/stepccode fails on -CURRENT since clang-6.0.0 was imported To: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jan 2018 17:42:46 -0000 Hi there, Since clang-6.0.0 was imported in -CURRENT (https://svnweb.freebsd.org/base/head/usr.bin/clang/llvm-cov/?view=log), cad/stepcode fails to build. It built fine in -CURRENT with clang-5.0.0 on both i386 and amd64. The full log can be found here (although I can't acces theat URL anymore, how long do they last?): Log URL: http://beefy11.nyi.freebsd.org/data/head-i386-default/p459899_s328300/logs/stepcode-0.8_3.log Build URL: http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p459899_s328300 Last lines of the error log are as follows: In file included from /wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8/src/cllazyfile/lazy_test.cc:1: In file included from /wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8/src/cllazyfile/lazyInstMgr.h:8: In file included from /wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8/src/cllazyfile/lazyDataSectionReader.h:6: In file included from /wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8/src/cllazyfile/sectionReader.h:6: In file included from /wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8/src/cllazyfile/lazyTypes.h:11: /wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8/src/base/judy/src/judyL2Array.h:169:28: error: assigning to 'const std::__1::vector > *' from incompatible type 'unsigned long long' kv.value = ( JudyValue ) 0; ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8/src/base/judy/src/judyL2Array.h:180:20: note: in instantiation of member function 'judyL2Array::mostRecentPair' requested here return mostRecentPair(); ^ /wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8/src/cllazyfile/lazy_test.cc:48:37: note: in instantiation of member function 'judyL2Array::begin' requested here instanceRefs_t::cpair p = refs->begin(); ^ 1 error generated. ninja: build stopped: subcommand failed. *** Error code 1 I have no idea what the reason for the fail is. I had a look at the change log from 5 to 6 but a lot of things have gone on and I can not find any specific commit to blame. Sorry for the delay reporting this, but I didn't have time to have a look until a couple of days ago. Can anyone help here? Thanks in advance.