From owner-freebsd-toolchain@freebsd.org Tue Jan 16 23:46:05 2018 Return-Path: Delivered-To: freebsd-toolchain@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 395AAEC0699; Tue, 16 Jan 2018 23:46:05 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::234]) (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 0441B732C4; Tue, 16 Jan 2018 23:46:05 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it0-x234.google.com with SMTP id w14so6309951itc.3; Tue, 16 Jan 2018 15:46:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=qD0sjpKeUV+0hPGCQYkm2XkP8Nox8rPNNZWPtstU8q8=; b=tVZbUdTniKEUKv45fdy/wfT1gCC+m9gOlrhnSeP4Ivp0fkRZK1IbbWLjXLiYPcWn2n d3jz0i9sFhCKvXXK+Zl4h2MNI73qNO6bOFB0GXmAb1szH89paUdJIUyhmGOPDJbneM8a CXeNTQZG4ZzbELfb6hGvZg3Yabigeu3wmoUVL7TohNymO2eGKQj9AZ/4Iyrre38DUuOi 0lyJmgZeggAeKSclDifATm88DSzeud8CZ5lbXp2/8HTWV/bNBKaVpyzeWsjX6vUU5YHi WnoR5oc9X5/2urdH/eSAwjDUMsskE9W9a1bma79LBeHfj3FqiA3HEncrl7T9S1TIWqn7 RF6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=qD0sjpKeUV+0hPGCQYkm2XkP8Nox8rPNNZWPtstU8q8=; b=qEp+v5Qagk5U8cO6s+790t9IpDjQtYcjDHB7XTGVKK0HuyHe+fvKzQrwxKeC+cS7SQ vryL5ilg8QPpLU2Ib62sYhvtlUMOhyL+/JaiY2yJqUO2/Avv9v1OAPEYlbdfSy+j23oV hY8DpS/d9k8i0RGMYj6cSZATEVEonY3PtmalJ+GLOqP8VW1DrYDWV22tJX0zF9m31vzY Nu2ZfH4IK5W+WqMM9FVxmuFENKUha/fqujwbDf+zdFAH0hWP2PiWiPf6UolT9+0G5S9q h3lNfMWJqTeV3jhYaO79XhEJlqKOFGS7O9TnaiOyd1LRkwZewCBa89mH4U9f99zj2INY WZhg== X-Gm-Message-State: AKwxytfZ4vt3iWHz1bP54N00B2wGlKBNF/ybmwhVR7yZIOFhVzu+wFhe DtYcES6MLj1hQhLvZr5GBkmaWZysRMhGdrM3RQuWwkTv X-Google-Smtp-Source: ACJfBotjAC7gEorYQx4yD/B0uLOgrpFObSTCj7qt76yaQwUJR8M9xUcUEDUsubOQj1dlhsdELz6he2EYQlxPf2z/7Xk= X-Received: by 10.36.17.208 with SMTP id 199mr20146268itf.103.1516146364109; Tue, 16 Jan 2018 15:46:04 -0800 (PST) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.136.201 with HTTP; Tue, 16 Jan 2018 15:45:43 -0800 (PST) From: Ed Maste Date: Tue, 16 Jan 2018 18:45:43 -0500 X-Google-Sender-Auth: CgpOZgfw_BkbhayYeJAlKNo8VQA Message-ID: Subject: Migrating arm(v7) to LLD_BOOTSTRAP To: freebsd-toolchain@freebsd.org, "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2018 23:46:05 -0000 With the update to Clang/LLVM/lld 6.0.0 I believe lld is nearly ready to be used as the system linker for armv7, and I plan to enable LLD_BOOTSTRAP by default after a couple of WIP patches land and after a little more testing. This may happen a week or two from now. This should have little impact on port builds, because /usr/bin/ld will still be GNU ld.bfd (although there may be some unexpected fallout). I expect to enable LLD_IS_LD by default a little later, and /usr/bin/ld will then be lld. This is the same path we're taking with amd64. lld currently does not support architectures prior to armv7, and fails with some combination of these errors when I try to use it for arm{,v5,v6,eb}: ld: error: lld uses blx instruction, no object with architecture supporting feature detected. ld: error: lld uses extended branch encoding, no object with architecture supporting feature detected. ld: error: lld may use movt/movw, no object with architecture supporting feature detected. I expect this will be addressed in a future version of lld. From owner-freebsd-toolchain@freebsd.org Wed Jan 17 01:41:26 2018 Return-Path: Delivered-To: freebsd-toolchain@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 6CF70E70D6C for ; Wed, 17 Jan 2018 01:41:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 F2FFB76848 for ; Wed, 17 Jan 2018 01:41:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-wm0-x22f.google.com with SMTP id i186so11960211wmi.4 for ; Tue, 16 Jan 2018 17:41:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=OiiSafIBcY/KuIdJyiwLR62Tvng9xY2iqGZuV8i6eFY=; b=uFOJ6HULS4hcmwLA8auWFeslxpVoW4MZbQTWgmXRCISfTo7jIPuvGUWXUEeO37rxrU BqzDS2wXsmWJQqwvAQX/jB36hcR6Eg/+vcpC2vtk44ceXKQPaPp5miLU7Zw9TOaZ+JmC r7qEHakEdlW9v57z+WEbNI6xh7S+eNCQNWqTFLDOpDIJiizyCtDKMlTo9gTpeYUH2yxp QdBr/lYrPF4TrXHfXDjKlECJrcJ2qmePlCTOeElo4gJQ9jUVdJsCx00agft96/NV63F7 2mk8HdTMf8bWq82QABltjT0L8hODXbtoQNB5eSWY6DQs8I585Ujyk+f5k5/HhEhoPO9P rBzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=OiiSafIBcY/KuIdJyiwLR62Tvng9xY2iqGZuV8i6eFY=; b=ilBlzcfnqp+qCl/PzOVbd82QM+QJC3kxK74hwVdkXlYgKRqhPXC1aSPxThJu6LhfNX L36Au4JWPuEznw+Bzdq22SAmncUTWNimPLCXt/ULZtPfA6XUmwCT7rX7FQlzFRpQDMGY hnNZmUG94pqOHH9Bv+FS3ZnLOyDKsMJjxU1RUGIL169MeqMByjHdwWSXE9mHvfdhu0qj rM/kKUdYzYwfsdBKru+7nHSNiuiaCe7x1ua03SOs4fkvesQQ9tDiIlTDrMka8Zfl6qUl WnyydaUeJ+EJQm7TqU0BYS72uGykEIJvJK4uBbewyrOr/VangTbujzrwJrEZjbdv7Bq5 /oYQ== X-Gm-Message-State: AKwxytd96I8Lzft4J5fhx65VK6EbwaijnmTba7e5VSU97jK5OMWuMt9r NbNMykqqIfEIZ2wPt4KZd3/XANbCYrJ/Kt68ofsAIg== X-Google-Smtp-Source: ACJfBoteHRHKgWhb6Q67FNj0tv3K7ZEmxlmfeTg7D7GCdndcfXX2Dt4fQ983D74jk0CGHNoWRc99ASbbB6QEH83T89k= X-Received: by 10.80.171.165 with SMTP id u34mr458604edc.167.1516153283825; Tue, 16 Jan 2018 17:41:23 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.80.195.12 with HTTP; Tue, 16 Jan 2018 17:41:23 -0800 (PST) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: References: From: Warner Losh Date: Tue, 16 Jan 2018 18:41:23 -0700 X-Google-Sender-Auth: c-ycNajNB8QN-KHqR_TlJhIjhN4 Message-ID: Subject: Re: Migrating arm(v7) to LLD_BOOTSTRAP To: Ed Maste Cc: "freebsd-toolchain@FreeBSD.org" , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 01:41:26 -0000 On Tue, Jan 16, 2018 at 4:45 PM, Ed Maste wrote: > With the update to Clang/LLVM/lld 6.0.0 I believe lld is nearly ready > to be used as the system linker for armv7, and I plan to enable > LLD_BOOTSTRAP by default after a couple of WIP patches land and after > a little more testing. This may happen a week or two from now. This > should have little impact on port builds, because /usr/bin/ld will > still be GNU ld.bfd (although there may be some unexpected fallout). > > I expect to enable LLD_IS_LD by default a little later, and > /usr/bin/ld will then be lld. This is the same path we're taking with > amd64. > > lld currently does not support architectures prior to armv7, and fails > with some combination of these errors when I try to use it for > arm{,v5,v6,eb}: > > ld: error: lld uses blx instruction, no object with architecture > supporting feature detected. > ld: error: lld uses extended branch encoding, no object with > architecture supporting feature detected. > ld: error: lld may use movt/movw, no object with architecture > supporting feature detected. > > I expect this will be addressed in a future version of lld. > At least some of that is due to the gap size that's defined for all of ARM. With a smaller gap size, the trampolines will work better on older ARM gear.... Warner From owner-freebsd-toolchain@freebsd.org Wed Jan 17 05:35:14 2018 Return-Path: Delivered-To: freebsd-toolchain@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 688A5E7C8A7; Wed, 17 Jan 2018 05:35:14 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (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 0A1357D83F; Wed, 17 Jan 2018 05:35:14 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id 143so12577635wma.5; Tue, 16 Jan 2018 21:35:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:reply-to:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=sMUvU8TKozpc8LlZXMVrxezwq6Vnx1Qqkpqe3ikWlYA=; b=HV3uBxLnW/lIGzkXSuiwpllYZ2BXsWR/ap9FS+vLzTroFpUl3wGanUsY08f5eGqbyk e/fLprOgHNWO1YF/c9DgD5E2S+z7dfiD6RsWWo4NBpfdBSFxpVtJAsuwp/KmBZyCpsLu y3zihaUQSjM3K9NG/GZ1gP/sgBi919acVOff+GbfMHOxpoOVT+HsN5cu+0SSw9HlZsIA YV3F3iNxRGzTCTwUlNJe7rDEC18PmglU+4/GYKoW8apGH7mg/7T9zpguMeq1tjTs/DQe DOv76c3bNxkYcSUm4/jogzJBsLaRQwMxY+V1yhcDq7HNb1dxodGY+8ZZBxDtpDd7DTQB WWUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:reply-to:subject:to:cc:references :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=sMUvU8TKozpc8LlZXMVrxezwq6Vnx1Qqkpqe3ikWlYA=; b=XfeCV/6hjif/l2PmXSLNtMO28zasx2e+AzskqTgrKvufnmC3EIYDT8s+1PVbv3nSPk SOZAjtp5ee7cqNIQHrSvHlqvd79RD1O3vPbVUbO47KYuuykuSdNAPlm60cFXPGR5em79 UsiTgCFLzxk62agCOZBssbYuH2MBZdZWhds3laTGB/TAInvX83YFJ/JfKfbZK5htKW2v fYra5EhvmXEpLo0w/Fp9ayvqx76hvXat/BBuBG32CfMzyZ6j/0ZAFjpn7mYpVgxWMKTU M/au3O5w1NAu3vw5UOU+DX1D0EeGBDVk6/ZC0eomHQPyc6ATYkyynC3o5tpo6TRoasr4 s2GQ== X-Gm-Message-State: AKwxytfTW0W8X0+w8ba+aOHpXWynrFIUR51dduAFYO2pDoXO6tB4LpgB ydPwit7Uc/LEijW7bd2tQvpFvy7b X-Google-Smtp-Source: ACJfBou4PNl9ymPgnDuqyqCS8uDDQACBIONb0RniVaraX+DxHzeZ3jZp6zDtHq1GaAfKOBY8UB2Cdw== X-Received: by 10.80.136.85 with SMTP id c21mr1161126edc.259.1516167312253; Tue, 16 Jan 2018 21:35:12 -0800 (PST) Received: from [88.208.79.100] (halouny.humusoft.cz. [88.208.79.100]) by smtp.gmail.com with ESMTPSA id f16sm2220452edj.65.2018.01.16.21.35.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jan 2018 21:35:11 -0800 (PST) From: Michal Meloun X-Google-Original-From: Michal Meloun Reply-To: meloun.michal@gmail.com Subject: Re: Migrating arm(v7) to LLD_BOOTSTRAP To: Warner Losh , Ed Maste Cc: "freebsd-arm@freebsd.org" , "freebsd-toolchain@FreeBSD.org" References: Message-ID: Date: Wed, 17 Jan 2018 06:35:12 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 05:35:14 -0000 On 17.01.2018 2:41, Warner Losh wrote: > On Tue, Jan 16, 2018 at 4:45 PM, Ed Maste wrote: > >> With the update to Clang/LLVM/lld 6.0.0 I believe lld is nearly ready >> to be used as the system linker for armv7, and I plan to enable >> LLD_BOOTSTRAP by default after a couple of WIP patches land and after >> a little more testing. This may happen a week or two from now. This >> should have little impact on port builds, because /usr/bin/ld will >> still be GNU ld.bfd (although there may be some unexpected fallout). >> >> I expect to enable LLD_IS_LD by default a little later, and >> /usr/bin/ld will then be lld. This is the same path we're taking with >> amd64. >> >> lld currently does not support architectures prior to armv7, and fails >> with some combination of these errors when I try to use it for >> arm{,v5,v6,eb}: >> >> ld: error: lld uses blx instruction, no object with architecture >> supporting feature detected. >> ld: error: lld uses extended branch encoding, no object with >> architecture supporting feature detected. >> ld: error: lld may use movt/movw, no object with architecture >> supporting feature detected. But this means that we can not use lld for kernel module linking. (assuming that lld can emits movt/movw with attached relocation). To be more exact, not until we change format of kernel modules from (many years outdated, -Bshareable without -fPIC) shared library format to fully supported "combined object file" format. Michal > >> I expect this will be addressed in a future version of lld. >> > > At least some of that is due to the gap size that's defined for all of ARM. > With a smaller gap size, the trampolines will work better on older ARM > gear.... > > Warner > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-toolchain@freebsd.org Wed Jan 17 14:29:22 2018 Return-Path: Delivered-To: freebsd-toolchain@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 5D042E73822 for ; Wed, 17 Jan 2018 14:29:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4300D71A28 for ; Wed, 17 Jan 2018 14:29:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3754716375 for ; Wed, 17 Jan 2018 14:29:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HETMTA091197 for ; Wed, 17 Jan 2018 14:29:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0HETMI7091196 for freebsd-toolchain@FreeBSD.org; Wed, 17 Jan 2018 14:29:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 216080] science/bddsolve: fails to build with lang/gcc6 or later Date: Wed, 17 Jan 2018 14:29:22 +0000 X-Bugzilla-Reason: CC 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 Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ed@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 14:29:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216080 --- Comment #8 from commit-hook@freebsd.org --- A commit references this bug: Author: ed Date: Wed Jan 17 14:28:32 UTC 2018 New revision: 459258 URL: https://svnweb.freebsd.org/changeset/ports/459258 Log: Upgrade bddsolve to version 1.04. This release includes a fix that should make it build with C++14. PR: 216080 Reviewed by: jbeich Differential Revision: https://reviews.freebsd.org/D13951 Changes: head/science/bddsolve/Makefile head/science/bddsolve/distinfo --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jan 17 14:29:55 2018 Return-Path: Delivered-To: freebsd-toolchain@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 195D3E738B1 for ; Wed, 17 Jan 2018 14:29:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3BD471B21 for ; Wed, 17 Jan 2018 14:29:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E886E16377 for ; Wed, 17 Jan 2018 14:29:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HETsKL091930 for ; Wed, 17 Jan 2018 14:29:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0HETsoC091929 for freebsd-toolchain@FreeBSD.org; Wed, 17 Jan 2018 14:29:54 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: freebsd-toolchain@FreeBSD.org Subject: [Bug 216080] science/bddsolve: fails to build with lang/gcc6 or later Date: Wed, 17 Jan 2018 14:29:55 +0000 X-Bugzilla-Reason: CC 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 Only Me X-Bugzilla-Who: ed@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ed@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status resolution 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 14:29:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216080 Ed Schouten changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jan 17 20:15:34 2018 Return-Path: Delivered-To: freebsd-toolchain@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 13415EB4B2D for ; Wed, 17 Jan 2018 20:15:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED54180013 for ; Wed, 17 Jan 2018 20:15:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id DC17319521 for ; Wed, 17 Jan 2018 20:15:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HKFXSf088659 for ; Wed, 17 Jan 2018 20:15:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0HKFXRc088658 for freebsd-toolchain@FreeBSD.org; Wed, 17 Jan 2018 20:15:33 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: freebsd-toolchain@FreeBSD.org Subject: [Bug 225280] www/palemoon: clang crashes during build Date: Wed, 17 Jan 2018 20:15:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: toolchain X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc blocked flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 20:15:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225280 Bug ID: 225280 Summary: www/palemoon: clang crashes during build Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: toolchain Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: freebsd-toolchain@FreeBSD.org, lichray@gmail.com Blocks: 224669 CC: lichray@gmail.com Flags: maintainer-feedback?(lichray@gmail.com) Created attachment 189861 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D189861&action= =3Dedit js/src/asmjs/AsmJSModule.cpp (compressed, preprocessed) /usr/bin/c++ -o Unified_cpp_js_src0.o -c -I../../dist/system_wrappers -inc= lude /wrkdirs/usr/ports/www/palemoon/work/Pale-Moon-27.6.2_Release/config/gcc_hi= dden.h -DEXPORT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX=3D'"lib"' -DDLL_SUFFIX=3D'".so= "' -DMOZ_GLUE_IN_PROGRAM -DAB_CD=3D -DNO_NSPR_10_SUPPORT -I/wrkdirs/usr/ports/www/palemoon/work/Pale-Moon-27.6.2_Release/js/src -I. -I/usr/local/lib/libffi-3.2.1/include -I/usr/local/include -I../../dist/inc= lude -I/usr/local/include/nspr -fPIC -Qunused-arguments -DLIBICONV_PL= UG -isystem /usr/local/include -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Unified_cpp_js_src0.o.pp -Qunused-arguments -DLIBICONV_PLUG -isystem /usr/local/include=20 -Qunused-arguments -Wall -Wsign-compare -Wtype-limits -Wno-invalid-offsetof -Wno-c++0x-extensions -Wno-unknown-warning-option -Wno-return-type-c-linkage -O2 -pipe -O3 -DLIBICONV_PLUG -isystem /usr/local/include -fno-strict-alias= ing -DLIBICONV_PLUG -isystem /usr/local/include -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=3Dgnu++0x -pipe -DNDE= BUG -DTRIMMED -O2 -O3=20=20=20=20=20=20 /wrkdirs/usr/ports/www/palemoon/work/Pale-Moon-/obj-armv6-unknown-freebsd12= .0/js/src/Unified_cpp_js_src0.cpp [...] Assertion failed: ((PartVT.isInteger() || PartVT =3D=3D MVT::x86mmx) && ValueVT.isInteger() && "Unknown mismatch!"), function getCopyToParts, file /usr/local/poudriere/jails/head-armv6/usr/src/contrib/llvm/lib/CodeGen/Sele= ctionDAG/SelectionDAGBuilder.cpp, line 533. c++: error: unable to execute command: Abort trap (core dumped) c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 6.0.0 (branches/release_60 321788) (based on LLVM 6.0= .0) Target: armv6-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin http://beefy8.nyi.freebsd.org/data/head-armv6-default/p459021_s327977/logs/= errors/palemoon-27.6.2_1.log (clang 6) http://beefy8.nyi.freebsd.org/data/head-armv6-default/p458501_s327711/logs/= palemoon-27.6.2_1.log (clang 5) Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224669 [Bug 224669] [exp-run] Against projects/clang600-import branch --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jan 17 20:16:14 2018 Return-Path: Delivered-To: freebsd-toolchain@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 536FDEB4C1C for ; Wed, 17 Jan 2018 20:16:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 39C5C800EB for ; Wed, 17 Jan 2018 20:16:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2F2891952B for ; Wed, 17 Jan 2018 20:16:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HKGE6Y089558 for ; Wed, 17 Jan 2018 20:16:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0HKGEhb089557 for freebsd-toolchain@FreeBSD.org; Wed, 17 Jan 2018 20:16:14 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: freebsd-toolchain@FreeBSD.org Subject: [Bug 225280] www/palemoon: clang crashes during build Date: Wed, 17 Jan 2018 20:16:14 +0000 X-Bugzilla-Reason: CC 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: toolchain X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 20:16:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225280 --- Comment #1 from Jan Beich --- Created attachment 189862 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D189862&action= =3Dedit command line args (for clang 6.0) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jan 17 20:16:42 2018 Return-Path: Delivered-To: freebsd-toolchain@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 3F899EB4C80 for ; Wed, 17 Jan 2018 20:16:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25CDC80166 for ; Wed, 17 Jan 2018 20:16:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1B47F19530 for ; Wed, 17 Jan 2018 20:16:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HKGfUv090239 for ; Wed, 17 Jan 2018 20:16:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0HKGfuP090238 for freebsd-toolchain@FreeBSD.org; Wed, 17 Jan 2018 20:16:41 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: freebsd-toolchain@FreeBSD.org Subject: [Bug 225280] www/palemoon: clang crashes during build Date: Wed, 17 Jan 2018 20:16:42 +0000 X-Bugzilla-Reason: CC 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: toolchain X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: rep_platform cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 20:16:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225280 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|Any |arm CC| |freebsd-arm@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jan 17 20:18:21 2018 Return-Path: Delivered-To: freebsd-toolchain@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 DF23DEB4DCB for ; Wed, 17 Jan 2018 20:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C5E7C8021F for ; Wed, 17 Jan 2018 20:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BB24D19534 for ; Wed, 17 Jan 2018 20:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HKILZS092583 for ; Wed, 17 Jan 2018 20:18:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0HKILPj092582 for freebsd-toolchain@FreeBSD.org; Wed, 17 Jan 2018 20:18:21 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: freebsd-toolchain@FreeBSD.org Subject: [Bug 225278] mail/deforaos-mailer: clang 6 crashes during build Date: Wed, 17 Jan 2018 20:18:21 +0000 X-Bugzilla-Reason: CC 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: toolchain X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olivier@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc blocked 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 20:18:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225278 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd-toolchain@FreeBSD.o | |rg Blocks|224669 | --- Comment #2 from Jan Beich --- Doh, I didn't notice Clang 5.0 was also crashing: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p458501_s327711/logs/= errors/deforaos-mailer-0.1.7.log Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224669 [Bug 224669] [exp-run] Against projects/clang600-import branch --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jan 17 20:20:54 2018 Return-Path: Delivered-To: freebsd-toolchain@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 74AD6EB500C for ; Wed, 17 Jan 2018 20:20:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1873D80438 for ; Wed, 17 Jan 2018 20:20:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0A16B19644 for ; Wed, 17 Jan 2018 20:20:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HKKrP4096275 for ; Wed, 17 Jan 2018 20:20:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0HKKrhp096272 for freebsd-toolchain@FreeBSD.org; Wed, 17 Jan 2018 20:20:53 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: freebsd-toolchain@FreeBSD.org Subject: [Bug 225280] www/palemoon: clang crashes during build Date: Wed, 17 Jan 2018 20:20:54 +0000 X-Bugzilla-Reason: CC 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: toolchain X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: blocked 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 20:20:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225280 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|224669 | Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224669 [Bug 224669] [exp-run] Against projects/clang600-import branch --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jan 17 20:25:39 2018 Return-Path: Delivered-To: freebsd-toolchain@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 7844FEB55CA for ; Wed, 17 Jan 2018 20:25:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E7F880912 for ; Wed, 17 Jan 2018 20:25:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 54034196A2 for ; Wed, 17 Jan 2018 20:25:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HKPdnI013019 for ; Wed, 17 Jan 2018 20:25:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0HKPdRc013018 for freebsd-toolchain@FreeBSD.org; Wed, 17 Jan 2018 20:25:39 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: freebsd-toolchain@FreeBSD.org Subject: [Bug 225280] www/palemoon: clang crashes during build Date: Wed, 17 Jan 2018 20:25:39 +0000 X-Bugzilla-Reason: CC 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: toolchain X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: see_also 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 20:25:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225280 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.mozilla.or | |g/show_bug.cgi?id=3D1278861 --- Comment #2 from Jan Beich --- Can probably be fixed by applying www/libxul/files/patch-bug1278861 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jan 17 20:37:37 2018 Return-Path: Delivered-To: freebsd-toolchain@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 44C75EB5E2A for ; Wed, 17 Jan 2018 20:37:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B0A680EBD for ; Wed, 17 Jan 2018 20:37:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 206F819801 for ; Wed, 17 Jan 2018 20:37:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HKbbdd039988 for ; Wed, 17 Jan 2018 20:37:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0HKba8Q039987 for freebsd-toolchain@FreeBSD.org; Wed, 17 Jan 2018 20:37: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: freebsd-toolchain@FreeBSD.org Subject: [Bug 225278] mail/deforaos-mailer: clang 6 crashes during build Date: Wed, 17 Jan 2018 20:37:37 +0000 X-Bugzilla-Reason: CC 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: toolchain X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olivier@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: blocked 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 20:37:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225278 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |219139 --- Comment #3 from Jan Beich --- Earlier Clang versions didn't crash on this port. http://beefy15.nyi.freebsd.org/data/latest-per-pkg/deforaos-mailer/0.1.7/11= 0armv6-quarterly.log (Clang 3.8) http://beefy15.nyi.freebsd.org/data/latest-per-pkg/deforaos-mailer/0.1.7/11= 1armv6-quarterly.log (Clang 4) Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219139 [Bug 219139] [exp-run] Against projects/clang500-import branch --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jan 17 20:41:52 2018 Return-Path: Delivered-To: freebsd-toolchain@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 D0C1CEB6342 for ; Wed, 17 Jan 2018 20:41:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B6E9A81331 for ; Wed, 17 Jan 2018 20:41:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id AC0DF19858 for ; Wed, 17 Jan 2018 20:41:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HKfqtB052208 for ; Wed, 17 Jan 2018 20:41:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0HKfq1O052207 for freebsd-toolchain@FreeBSD.org; Wed, 17 Jan 2018 20:41:52 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: freebsd-toolchain@FreeBSD.org Subject: [Bug 225278] mail/deforaos-mailer: clang 5 crashes during build Date: Wed, 17 Jan 2018 20:41:52 +0000 X-Bugzilla-Reason: CC 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: toolchain X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olivier@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 20:41:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225278 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|mail/deforaos-mailer: clang |mail/deforaos-mailer: clang |6 crashes during build |5 crashes during build --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jan 17 20:59:45 2018 Return-Path: Delivered-To: freebsd-toolchain@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 35004EB70BD for ; Wed, 17 Jan 2018 20:59:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1AEB582007 for ; Wed, 17 Jan 2018 20:59:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0FEB919AF4 for ; Wed, 17 Jan 2018 20:59:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HKxiOA092239 for ; Wed, 17 Jan 2018 20:59:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0HKxiQi092238 for freebsd-toolchain@FreeBSD.org; Wed, 17 Jan 2018 20:59:44 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: freebsd-toolchain@FreeBSD.org Subject: [Bug 225280] www/palemoon: clang crashes during build Date: Wed, 17 Jan 2018 20:59:44 +0000 X-Bugzilla-Reason: CC 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: toolchain X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 20:59:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225280 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org --- Comment #3 from Dimitry Andric --- (In reply to Jan Beich from comment #2) > Can probably be fixed by applying www/libxul/files/patch-bug1278861 Yes, this looks very much like a duplicate of bug 199450, bug 202229, https://bugs.llvm.org/show_bug.cgi?id=3D23229, and https://bugs.llvm.org/show_bug.cgi?id=3D23244, which are unfortunately stil= l not solved upstream, and no movement was detected. :-/ --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jan 17 21:02:40 2018 Return-Path: Delivered-To: freebsd-toolchain@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 AF362EB74F0 for ; Wed, 17 Jan 2018 21:02:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9567B8248F for ; Wed, 17 Jan 2018 21:02:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8AD9719C4B for ; Wed, 17 Jan 2018 21:02:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HL2efi095968 for ; Wed, 17 Jan 2018 21:02:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0HL2epI095956 for freebsd-toolchain@FreeBSD.org; Wed, 17 Jan 2018 21:02:40 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: freebsd-toolchain@FreeBSD.org Subject: [Bug 225280] www/palemoon: clang crashes during build Date: Wed, 17 Jan 2018 21:02:40 +0000 X-Bugzilla-Reason: CC 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: toolchain X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lichray@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 21:02:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225280 --- Comment #4 from lichray@gmail.com --- Created attachment 189865 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D189865&action= =3Dedit proposed patch --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Jan 20 01:05:21 2018 Return-Path: Delivered-To: freebsd-toolchain@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 5182EED3510 for ; Sat, 20 Jan 2018 01:05:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 37A067FDC3 for ; Sat, 20 Jan 2018 01:05:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2C4AD15740 for ; Sat, 20 Jan 2018 01:05:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0K15LUf098683 for ; Sat, 20 Jan 2018 01:05:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0K15LXl098682 for freebsd-toolchain@FreeBSD.org; Sat, 20 Jan 2018 01:05:21 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: freebsd-toolchain@FreeBSD.org Subject: [Bug 225330] clang bug can incorrectly enable or disable interrupts on amd64 Date: Sat, 20 Jan 2018 01:05:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jtl@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2018 01:05:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225330 Jonathan T. Looney changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-toolchain@FreeBSD.o | |rg --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Jan 20 11:39:43 2018 Return-Path: Delivered-To: freebsd-toolchain@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 5E496ECBB42 for ; Sat, 20 Jan 2018 11:39:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 447CB755B3 for ; Sat, 20 Jan 2018 11:39:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 38D8E1AF6F for ; Sat, 20 Jan 2018 11:39:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0KBdhcG015662 for ; Sat, 20 Jan 2018 11:39:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0KBdhKj015661 for freebsd-toolchain@FreeBSD.org; Sat, 20 Jan 2018 11:39:43 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: freebsd-toolchain@FreeBSD.org Subject: [Bug 225330] clang bug can incorrectly enable or disable interrupts on amd64 Date: Sat, 20 Jan 2018 11:39:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2018 11:39:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225330 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org --- Comment #1 from Dimitry Andric --- It would be much better to take this issue upstream. We would not want to carry patches like this without them having been checked over first. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Jan 20 19:43:58 2018 Return-Path: Delivered-To: freebsd-toolchain@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 3E1CCEC2BCB for ; Sat, 20 Jan 2018 19:43:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 24D8D6833A for ; Sat, 20 Jan 2018 19:43:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 19D111F3A8 for ; Sat, 20 Jan 2018 19:43:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0KJhvHE002302 for ; Sat, 20 Jan 2018 19:43:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0KJhvM3002301 for freebsd-toolchain@FreeBSD.org; Sat, 20 Jan 2018 19:43:57 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: freebsd-toolchain@FreeBSD.org Subject: [Bug 225330] clang bug can incorrectly enable or disable interrupts on amd64 Date: Sat, 20 Jan 2018 19:43:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jtl@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2018 19:43:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225330 --- Comment #2 from Jonathan T. Looney --- (In reply to Dimitry Andric from comment #1) I filed an upstream bug report today: https://bugs.llvm.org/show_bug.cgi?id=3D36028. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Jan 20 23:27:37 2018 Return-Path: Delivered-To: freebsd-toolchain@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 265E6ECD2CC for ; Sat, 20 Jan 2018 23:27:37 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic302-4.consmr.mail.bf2.yahoo.com (sonic302-4.consmr.mail.bf2.yahoo.com [74.6.135.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3D746FD8C for ; Sat, 20 Jan 2018 23:27:36 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: RU4jjAIVM1kwHHpPaWj5mI469eeKAaxVMj2AY52F0cJm3BjJVb8hrE6Qsdg5aXD TVPC4j40C_tMAGYVa9E3730IGmz4_Uuch4HzpYBZheJrrWXWcTZZldkI.8kxJ2Xv0OzGf3Mx7C2Z XNVSHxoBV6oshOzyFU3a.4L_SM9rxM5G8R2WFlXpc5lKEK9etUsc_MWr05SSvs_ea1bkh_obSdmv iZXEfaSCIWvDYtXzO7y19vebuqzGfmQy2QcybTOnBlt4z19dfTS8VCbPKZ8MYXvIXZTAxLcUHUJP FQ_k6hPjdFaJ0RNmp9VokEQkJ1ysF6iPHSeXJb4Utd_XUZ1JUjEY4bgEOwT4GyofC1HJVXgthdyl ci86dWWiZCLGX5LD6CV9KtMniV_8BT5vLXK9h7hNLcEs79c4lEP3ie.T7_Zp75JIpx6z7oYlu1_C D09FZbkgOmR8LWKBopsNLBKT5yy3BK46MYtcbSZuBKXFNgNzKHMPIG4qYf1Ly4fj5Mzh2 Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.bf2.yahoo.com with HTTP; Sat, 20 Jan 2018 23:27:30 +0000 Received: from smtp106.rhel.mail.bf1.yahoo.com (EHLO [192.168.1.25]) ([98.139.231.40]) by smtp404.mail.bf1.yahoo.com (JAMES SMTP Server ) with ESMTPA ID 26a397299a489e18397ec8a26c8a640a; Sat, 20 Jan 2018 23:27:25 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Attribute alloc__size use and clang 5.0.1 vs. gcc7 (e.g.): __builtin_object_size(p,1) and __builtin_object_size(p,3) disagreements result Message-Id: <1AA0993D-81E4-4DC0-BBD9-CC42B26ADB1C@yahoo.com> Date: Sat, 20 Jan 2018 15:27:23 -0800 To: Pedro Giffuni , FreeBSD Toolchain , FreeBSD Hackers X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2018 23:27:37 -0000 [Bugzilla 225197 indirectly lead to this. Avoiding continuing there.] I decided to compare some alternate uses of __attribute__((alloc_size(. . .))) compiled and run under clang 5.0.1 and gcc7. I did not get what I expected based on prior discussion material. This is an FYI since I do not know how important the distinctions that I found are. Here is the quick program: # more alloc_size_attr_test.c=20 #include #include __attribute__((alloc_size(1,2))) void* my_calloc_alt0(size_t n, size_t s) { void* p =3D calloc(n,s); printf("calloc __builtin_object_size 0,1,2,3: %ld, %ld, %ld, %ld\n" ,(long) __builtin_object_size(p, 0) ,(long) __builtin_object_size(p, 1) ,(long) __builtin_object_size(p, 2) ,(long) __builtin_object_size(p, 3) ); return p; } __attribute__((alloc_size(1))) __attribute__((alloc_size(2))) void* my_calloc_alt1(size_t n, size_t s) { void* p =3D calloc(n,s); printf("calloc __builtin_object_size 0,1,2,3: %ld, %ld, %ld, %ld\n" ,(long) __builtin_object_size(p, 0) ,(long) __builtin_object_size(p, 1) ,(long) __builtin_object_size(p, 2) ,(long) __builtin_object_size(p, 3) ); return p; } int main() { void* p =3D my_calloc_alt0(2,7); printf("my_calloc_alt0 __builtin_object_size 0,1,2,3: %ld, %ld, %ld, = %ld\n" ,(long) __builtin_object_size(p, 0) ,(long) __builtin_object_size(p, 1) ,(long) __builtin_object_size(p, 2) ,(long) __builtin_object_size(p, 3) ); void* q =3D my_calloc_alt1(2,7); printf("my_calloc_alt0 __builtin_object_size 0,1,2,3: %ld, %ld, %ld, = %ld\n" ,(long) __builtin_object_size(q, 0) ,(long) __builtin_object_size(q, 1) ,(long) __builtin_object_size(q, 2) ,(long) __builtin_object_size(q, 3) ); } # uname -apKU FreeBSD FBSDFSSD 12.0-CURRENT FreeBSD 12.0-CURRENT r327485M amd64 = amd64 1200054 1200054 The system-clang 5.0.1 result was: # clang -O2 alloc_size_attr_test.c # ./a.out calloc __builtin_object_size 0,1,2,3: 14, 14, 14, 0 my_calloc_alt0 __builtin_object_size 0,1,2,3: 14, 14, 14, 0 calloc __builtin_object_size 0,1,2,3: 14, 14, 14, 0 my_calloc_alt0 __builtin_object_size 0,1,2,3: 14, 14, 14, 0 The lang/gcc7 result was: # gcc7 -O2 alloc_size_attr_test.c # ./a.out calloc __builtin_object_size 0,1,2,3: -1, -1, 0, 0 my_calloc_alt0 __builtin_object_size 0,1,2,3: 14, 14, 14, 14 calloc __builtin_object_size 0,1,2,3: -1, -1, 0, 0 my_calloc_alt0 __builtin_object_size 0,1,2,3: 14, 7, 14, 14 I'll ignore that gcc does not provide actual sizes via __builtin_object_size for calloc use. Pairing the other lines for easy comparison, with some notes mixed in: __attribute__((alloc_size(1,2))) style: my_calloc_alt0 __builtin_object_size 0,1,2,3: 14, 14, 14, 0 (system = clang) my_calloc_alt0 __builtin_object_size 0,1,2,3: 14, 14, 14, 14 (gcc7) __attribute__((alloc_size(1))) __attribute__((alloc_size(2))) style: my_calloc_alt0 __builtin_object_size 0,1,2,3: 14, 14, 14, 0 (system = clang) my_calloc_alt0 __builtin_object_size 0,1,2,3: 14, 7, 14, 14 (gcc7) Thus. . . For __attribute__((alloc_size(1))) __attribute__((alloc_size(2))): __builtin_object_size(p,1) is not equivalent (clang vs. gcc7) For both of the alloc_size usage styles: __builtin_object_size(p,3) is not equivalent (clang vs. gcc7) This means that the two style of alloc_size use are not equivalent across some major compilers/toolchains. But I do not know if either of the differences is a problem or not. Note: without a sufficient -O all the figures can be the mix of -1's and 0's. =3D=3D=3D Mark Millard marklmi at yahoo.com ( markmi at dsl-only.net is going away in 2018-Feb, late) From owner-freebsd-toolchain@freebsd.org Sat Jan 20 23:59:51 2018 Return-Path: Delivered-To: freebsd-toolchain@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 565FFECEC1D for ; Sat, 20 Jan 2018 23:59:51 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic309-21.consmr.mail.ne1.yahoo.com (sonic309-21.consmr.mail.ne1.yahoo.com [66.163.184.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A0A670FB8 for ; Sat, 20 Jan 2018 23:59:50 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: G3DJ7PQVM1n5ncjEYlrmnpHQKiEMKCzkt6ts4rQAGKGjXe4zYGsjW7193BcjCCJ xYTZoVjliu1tL8MGFG_BChOw5ReWrRFQBCYe_67jF.wnX09LTlpsxqm5.mDTvV5p26bQ4vtlLWgH BG0lMreIYly5qs2gCH11ksnT3jvpBgeyJTBoX92X2yAe62WLP7GhK3j6rrTN4dmdFGT_eumMSd8_ _vnBo.ohP59CZL4oyfrx1hDcmpmdYLSLpkmawKvVwG2rsB9Ct_M8IRD7CrnfB.R7KsjsUqRdq7aL XqvyB3_cYiqdTsiWv.ouMxqbKXMmWTkGpmow.zxQT7JO2ilNWnrcxl.aq2q.32Bty44otGAWPaZU vW9ew4j3YbaPXaM.QRNFdb4mOVhd5ZM3oF.Q3LtK9XNJJHW1b_9II1xzXsJAkCtE2EMM68d41pgr 3.a48UyXfe3WS0pIA3TzQPuuJqpQ1v0puOqp6ZXfz0tzN9_aWLMO4RLiCmcwFPQEOSMge Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Sat, 20 Jan 2018 23:59:44 +0000 Received: from smtpgate103.mail.ne1.yahoo.com (EHLO [192.168.1.25]) ([216.155.193.162]) by smtp416.mail.ne1.yahoo.com (JAMES SMTP Server ) with ESMTPA ID 3966b0e8031e630d539b8a5755cf2897; Sat, 20 Jan 2018 23:59:40 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Attribute alloc__size use and clang 5.0.1 vs. gcc7 (e.g.): __builtin_object_size(p,1) and __builtin_object_size(p,3) disagreements result Date: Sat, 20 Jan 2018 15:59:38 -0800 References: <1AA0993D-81E4-4DC0-BBD9-CC42B26ADB1C@yahoo.com> To: Pedro Giffuni , FreeBSD Toolchain , FreeBSD Hackers In-Reply-To: <1AA0993D-81E4-4DC0-BBD9-CC42B26ADB1C@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2018 23:59:51 -0000 [Noting a typo in the program source, and so in the output text: the 2nd occurance of: "my_calloc_alt0 should have been: "my_calloc_alt1 . Hand edited corrections below for clarity.] On 2018-Jan-20, at 3:27 PM, Mark Millard = wrote: > [Bugzilla 225197 indirectly lead to this. > Avoiding continuing there.] >=20 > I decided to compare some alternate uses of > __attribute__((alloc_size(. . .))) compiled > and run under clang 5.0.1 and gcc7. I did not > get what I expected based on prior discussion > material. >=20 > This is an FYI since I do not know how important > the distinctions that I found are. >=20 > Here is the quick program: >=20 > # more alloc_size_attr_test.c=20 > #include > #include >=20 > __attribute__((alloc_size(1,2))) > void* my_calloc_alt0(size_t n, size_t s) > { > void* p =3D calloc(n,s); > printf("calloc __builtin_object_size 0,1,2,3: %ld, %ld, %ld, %ld\n" > ,(long) __builtin_object_size(p, 0) > ,(long) __builtin_object_size(p, 1) > ,(long) __builtin_object_size(p, 2) > ,(long) __builtin_object_size(p, 3) > ); > return p; > } >=20 > __attribute__((alloc_size(1))) __attribute__((alloc_size(2))) > void* my_calloc_alt1(size_t n, size_t s) > { > void* p =3D calloc(n,s); > printf("calloc __builtin_object_size 0,1,2,3: %ld, %ld, %ld, %ld\n" > ,(long) __builtin_object_size(p, 0) > ,(long) __builtin_object_size(p, 1) > ,(long) __builtin_object_size(p, 2) > ,(long) __builtin_object_size(p, 3) > ); > return p; > } >=20 > int main() > { > void* p =3D my_calloc_alt0(2,7); > printf("my_calloc_alt0 __builtin_object_size 0,1,2,3: %ld, %ld, %ld, = %ld\n" > ,(long) __builtin_object_size(p, 0) > ,(long) __builtin_object_size(p, 1) > ,(long) __builtin_object_size(p, 2) > ,(long) __builtin_object_size(p, 3) > ); > void* q =3D my_calloc_alt1(2,7); > printf("my_calloc_alt0 __builtin_object_size 0,1,2,3: %ld, %ld, %ld, = %ld\n" The above line should have been: printf("my_calloc_alt1 __builtin_object_size 0,1,2,3: %ld, %ld, %ld, = %ld\n" > ,(long) __builtin_object_size(q, 0) > ,(long) __builtin_object_size(q, 1) > ,(long) __builtin_object_size(q, 2) > ,(long) __builtin_object_size(q, 3) > ); > } >=20 > # uname -apKU > FreeBSD FBSDFSSD 12.0-CURRENT FreeBSD 12.0-CURRENT r327485M amd64 = amd64 1200054 1200054 >=20 > The system-clang 5.0.1 result was: >=20 > # clang -O2 alloc_size_attr_test.c The later outputs are edited for clarity: > # ./a.out > calloc __builtin_object_size 0,1,2,3: 14, 14, 14, 0 > my_calloc_alt0 __builtin_object_size 0,1,2,3: 14, 14, 14, 0 > calloc __builtin_object_size 0,1,2,3: 14, 14, 14, 0 my_calloc_alt1 __builtin_object_size 0,1,2,3: 14, 14, 14, 0 >=20 > The lang/gcc7 result was: >=20 > # gcc7 -O2 alloc_size_attr_test.c >=20 > # ./a.out > calloc __builtin_object_size 0,1,2,3: -1, -1, 0, 0 > my_calloc_alt0 __builtin_object_size 0,1,2,3: 14, 14, 14, 14 > calloc __builtin_object_size 0,1,2,3: -1, -1, 0, 0 my_calloc_alt1 __builtin_object_size 0,1,2,3: 14, 7, 14, 14 >=20 > I'll ignore that gcc does not provide actual sizes > via __builtin_object_size for calloc use. >=20 > Pairing the other lines for easy comparison, with > some notes mixed in: >=20 > __attribute__((alloc_size(1,2))) style: > my_calloc_alt0 __builtin_object_size 0,1,2,3: 14, 14, 14, 0 (system = clang) > my_calloc_alt0 __builtin_object_size 0,1,2,3: 14, 14, 14, 14 (gcc7) >=20 > __attribute__((alloc_size(1))) __attribute__((alloc_size(2))) style: my_calloc_alt1 __builtin_object_size 0,1,2,3: 14, 14, 14, 0 (system = clang) my_calloc_alt1 __builtin_object_size 0,1,2,3: 14, 7, 14, 14 (gcc7) >=20 > Thus. . . >=20 > For __attribute__((alloc_size(1))) __attribute__((alloc_size(2))): > __builtin_object_size(p,1) is not equivalent (clang vs. gcc7) >=20 > For both of the alloc_size usage styles: > __builtin_object_size(p,3) is not equivalent (clang vs. gcc7) >=20 > This means that the two style of alloc_size use are not > equivalent across some major compilers/toolchains. >=20 > But I do not know if either of the differences is a problem or > not. >=20 >=20 > Note: without a sufficient -O all the figures can be > the mix of -1's and 0's. =3D=3D=3D Mark Millard marklmi at yahoo.com ( markmi at dsl-only.net is going away in 2018-Feb, late)