Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2971957pxb; Mon, 16 Nov 2020 02:11:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQXeDMTftgbh9uNHfxXGACs+bexfFGpD2qd4Txp/1xHdMHXETPVgkiFhqQy2lJU02TPaYT X-Received: by 2002:a17:906:1902:: with SMTP id a2mr13268486eje.269.1605521515216; Mon, 16 Nov 2020 02:11:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605521515; cv=none; d=google.com; s=arc-20160816; b=B2L58Rahz6vBJ/YfNH4aT2aoVbt6ohC9QULQIF4uufiUct3GzXzcOECB0kNpIL7X2S aWaCJjiDbRzgpR/r3o4XF7znX04W1AXYaLd1loYw0xv87RFIFa2ppEMELDq0dstPGxN3 0st2viFywprQ6Ohe/TvEberqpl3NqYEn76OKAS6q94eIgWbUVJz5x3lMe89z62RujH/g 0pQyte3Cp+NjSyFsl1sswXe5nMnFpHTXyDCL4hnymUEZZnaJ+8gEw9dUe+vcIXWWcFdM wTnfxVYnKUwTOp3QRwEwiZx/A5SMUd4NPTrYgMSAC1xVH0Qr9Yo845cx7zIb2Lb6KxfJ 65VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature; bh=NO89g4BA0KG8KF7MlOA7H/IfdZwmvAss5BStf1pQS/o=; b=wWf++1qO/Pdo1ykaJcD8NuUh2L+GGwr6wGIzVx/wmb0U6ZPjGM7U5JG8uan51l0klQ NMsYJ/Tl89T43hfGYfub6mBV9N41RDPNpGkeckH8XB3jF9JrSDNHbDxQr7EAm7WN0u+h ZSdpG3zH6VLvJl07NGZmsRRaoKsnay3Q8PUe24TnGlATo47XCJzQkLb4zpwcPZ31mmzM 5gx4QGausI+uHcJTAoKbU9IahTUKAGvK/GAVzvx337iEihYYhNhjK5YPGJKKicFxsS1s Ul8j879e0YVYTibLdy6jCi8KD0XRWLjYIY8LQQQrJAkGjeOpqjv9xDL2CKv2gBKKKASm baDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fYaR5Ltd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q5si10836601ejn.34.2020.11.16.02.11.32; Mon, 16 Nov 2020 02:11:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fYaR5Ltd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728553AbgKPKJh (ORCPT + 99 others); Mon, 16 Nov 2020 05:09:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726603AbgKPKJg (ORCPT ); Mon, 16 Nov 2020 05:09:36 -0500 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A332C0613CF; Mon, 16 Nov 2020 02:09:35 -0800 (PST) Received: by mail-lj1-x242.google.com with SMTP id b17so19431929ljf.12; Mon, 16 Nov 2020 02:09:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=NO89g4BA0KG8KF7MlOA7H/IfdZwmvAss5BStf1pQS/o=; b=fYaR5LtdamwUIqoJO6C9ch4AX4UGyszju5BzmspnWoNIny+BE/rV5P454OuE8Is7ng 09gFpBqgPNgbFkm4eqdAO7qI0xKn7gilUCabMlBT8FumIwKikX265AhfwAOFGR3boBYA Fjm/pWYTM8neix4IvwypXJtWOtteJn9/AqRbnVR4mP6c1O/yBY0fxhYTc3fOZyUWexwX uJc1B7RDyGpkXbHolxohuIHkqijJQFxBNkTncShrJc+BTjBzQwuizdAFi4Mj3jK8TtVy wF/xMLUky0bHsDkTlIRpQXzYgKCelsV7YKEbkpqb77csL97V7PURu6+gAlJmIkkaeZdS 3tbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=NO89g4BA0KG8KF7MlOA7H/IfdZwmvAss5BStf1pQS/o=; b=oFOT52bHTMntMLpC2Opl9hvHdRq0TeJS8kORhbkjrE263Gj417WU6VqcwMEtt4ziEq SfO+JfdQDBIZs+qnSf4LWjtHfUHvmDKx+2boXkIclkQMnsBismki6mcOT3iGmggq4eHQ Mq5BS6Q8iYM2JkW80zsgemxrv0or1s98DnSW8NI39Ok9j8Etd6bP33Ccn/I74aaRJ7zY D/PTtv1sV8aB6jElDLCfgV6thHH/h7sBbVa4I5gN52ht+dcxa/Z9Y5lwtQcFondMpOe0 8GeUO7h0S1y7pWS8xkWR4WBiB2FhGS5uNKRK1fucEZbTMBPg/WC/PSWG5nTL3adyqXjp cLOg== X-Gm-Message-State: AOAM530yjeZVoCYBZ7SzhfsyZnt+7fMaDYXNf/2ofe6Y6wiL+8aSWd4z W6qUj93rlLXrdYxk0Q+LPxp93sAd7hI= X-Received: by 2002:a2e:993:: with SMTP id 141mr5588657ljj.300.1605521373606; Mon, 16 Nov 2020 02:09:33 -0800 (PST) Received: from ?IPv6:2a00:1fa0:2fb:950d:1831:3fc8:8cb7:2cac? ([2a00:1fa0:2fb:950d:1831:3fc8:8cb7:2cac]) by smtp.gmail.com with ESMTPSA id w10sm2672051ljm.56.2020.11.16.02.09.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Nov 2020 02:09:33 -0800 (PST) Subject: Re: [RFC PATCH] MIPS: Kconfig: Select ARCH_WANT_FRAME_POINTERS To: Tiezhu Yang , Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li References: <1605502980-31946-1-git-send-email-yangtiezhu@loongson.cn> <62ea9838-70ce-ca73-7dae-e94620956ab5@gmail.com> From: Sergei Shtylyov Organization: Brain-dead Software Message-ID: <9b6318d8-1112-d271-b775-209ccc526fcf@gmail.com> Date: Mon, 16 Nov 2020 13:09:28 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16.11.2020 12:47, Tiezhu Yang wrote: [...] >>> Select ARCH_WANT_FRAME_POINTERS to fix the following build error under >>> CONFIG_DEBUG_ATOMIC_SLEEP: >>> >>>    CC      arch/mips/kernel/signal.o >>> {standard input}: Assembler messages: >>> {standard input}:1775: Error: Unable to parse register name $fp >>> scripts/Makefile.build:283: recipe for target 'arch/mips/kernel/signal.o' >>> failed >>> make[2]: *** [arch/mips/kernel/signal.o] Error 1 >>> scripts/Makefile.build:500: recipe for target 'arch/mips/kernel' failed >>> make[1]: *** [arch/mips/kernel] Error 2 >>> Makefile:1799: recipe for target 'arch/mips' failed >>> make: *** [arch/mips] Error 2 >>> >>> I think it is useful to get debugging information as described in the >>> following texts: >>> >>> lib/Kconfig.debug >>> config FRAME_POINTER >>>          bool "Compile the kernel with frame pointers" >>>          ... >>>          default y if (DEBUG_INFO && UML) || ARCH_WANT_FRAME_POINTERS >>>          help >>>            If you say Y here the resulting kernel image will be slightly >>>            larger and slower, but it gives very useful debugging information >>>            in case of kernel bugs. (precise oopses/stacktraces/warnings) >>> >>> Documentation/dev-tools/kgdb.rst >>> This option inserts code to into the compiled executable which saves >> >>    So to or into? :-) > > Hi Sergei, > > Thanks for pointing that out,this may be a typo which should be "into". Oops, I didn't realize it was a quote from the KGDB docs... :-) > I will update the commit message to correct it. Thank you! > Thanks, > Tiezhu [...] MBR, Sergei