From owner-freebsd-stable@freebsd.org Wed Feb 22 20:51:41 2017 Return-Path: Delivered-To: freebsd-stable@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 B7AC3CE9DF2 for ; Wed, 22 Feb 2017 20:51:41 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::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 4ACD0819 for ; Wed, 22 Feb 2017 20:51:41 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by mail-wm0-x234.google.com with SMTP id v186so152140271wmd.0 for ; Wed, 22 Feb 2017 12:51:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=xzBSf/TbxlNjiE38vCqZY7Dyut+QuGUqqq1K2y0T6bo=; b=Y0OWZu3O3puC4lQ0L6WbBa6YdcDMJ22DRHcprQsyxSy75JP2JVLZ6SUgn/Pg1tHGN9 pLytPIpdPA/jdp82fN1RVESc5VTf7wRfcPBnz4xMUJ9yWRxQQV9FMvgyhnkRfAMhoO7L PjblIW7Uuq+ELtf9hD0qXuoDWsanW0HGc0wbY7h0KPOJh9Kfdpk3GTxngzFkvXivBGKC zKP2UIyrhNoPqpYC1ozOUtwcbQ0RhRcv68P8WWVzDXdItQbxQUmIw0gO/NcYnWP00L8b erkegaekRmltvbKfUdv3MqiMMZAZU9GZjH/aQSf/OhvYx58D0SsO2VwnkXHJsEUsEC0G GBaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=xzBSf/TbxlNjiE38vCqZY7Dyut+QuGUqqq1K2y0T6bo=; b=ch9ktdkNeKyxowuHfu2CTWISIPiKZ3lP7bc06+w7qMLRTMg5dxxh7DGnpNx9GpLAn3 KItdi8l17i2T3+dgqBdU526LiwwtRG83vttkPmeWqCxchnW1okc03XxuUswCqI4yA0G7 8j1IZXQUKE2mAo/he2kryt6NtMs5wRXyJ21MoY/M/VMxhJvtgp9gXjEDbZMpgLWaa8Wv yFLCS5X2bYD8NzccLvDcQsr2bLvH6heQVQGC++1TCrRvUulafH7+8W7WmbNA7fpfDJIE RuskUUKfsnH0MegNUTy85y08b402kwROpaplyMAzH2/DIDl96AGHBIX9HaHDvh75fQ3R /Seg== X-Gm-Message-State: AMke39mltm4OnI/b5Mon1HuxpNaZ15TZ0T/pEFlwdgg9YeU8eKbwNJiK1TOwMuh7NDOokwIQ X-Received: by 10.28.189.135 with SMTP id n129mr149950wmf.92.1487796698452; Wed, 22 Feb 2017 12:51:38 -0800 (PST) Received: from [10.10.1.58] ([185.97.61.4]) by smtp.gmail.com with ESMTPSA id b17sm3456752wma.33.2017.02.22.12.51.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Feb 2017 12:51:37 -0800 (PST) Subject: Re: Is it known problem, that zfs.ko could not be built with system compiler (clang 3.9.1) without optimization? To: freebsd-stable@freebsd.org References: <492944119.20170222234742@serebryakov.spb.ru> From: Steven Hartland Message-ID: Date: Wed, 22 Feb 2017 20:51:37 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <492944119.20170222234742@serebryakov.spb.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 20:51:41 -0000 I seem to remember this happening when I tried it too, likely it blows the stack, what's your panic? When doing similar tracing before I've flagged the relevant methods with __noinline. On 22/02/2017 20:47, Lev Serebryakov wrote: > Hello Freebsd-stable, > > Now if you build zfs.ko with -O0 it panics on boot. > > If you use default optimization level, a lot of fbt DTreace probes are > missing. >