From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm2-f12.google.com (mail-wm2-f12.google.com [74.125.225.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D961E355813 for ; Wed, 23 Sep 2026 07:19:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.225.140 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790147956; cv=none; b=R9Hd8grqc6voss6pAf2+aj3Fj9xbDb91pro/NFtLAG/5EK4WZdczmypqMicLC2iNNdTqy6VeNK8Ntkz69KTzEOgoCX0nmPje8Jg1F/hhnP5WVSCUOtEyZEBReuEtWYKTRNOHXEVUirmrKYQfZJm3dFWol0p9T1uXvSVdQ0gMNbg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790147956; c=relaxed/simple; bh=j1hCu+jY15X6BUAf4yCgLTDgQcAaaAfbVZB9aqvZ5ds=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KxZ/M+eASFt03RA/UtMiyVj8VjecMWhbFmCtb4c+pZUsFFy4oHWD+kQd0zfPcMaj5NA8+Gut1WFzkIgV4B6IQRa9tVnOlEulwR05J9V9tHeHuBzusGYVPviXHBb20jFSYpdZEIguLClthb6diKtBQNCTYolbOFqrGNDSODrvejI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=lNLqIEk2; arc=none smtp.client-ip=74.125.225.140 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="lNLqIEk2" Received: by mail-wm2-f12.google.com with SMTP id 5b1f17b1804b1-49b965f447cso4112765e9.3 for ; Wed, 23 Sep 2026 00:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1790147953; x=1790752753; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=B/NJ/qQV3GavhIw7zMhjhCHgSAMMGQo7bvQEHRt/hLg=; b=lNLqIEk2H9yjM4OrsUCAKuyBGEftMZncNzQffzVSYkjZXR99e6u2IqpJirPhLWHOgx ID4PuSdbd1IY6YahNw5tuo3nRdJN3LvndHNr+31gKF9Gly639TdyAQdWL0WIylXYwzj+ 1ujdhUnl07VCZaqTxyaj8A0MwnC/l/2NqL9cOmouhMTe9+f5oesqgRXlJRFoMQhPSmmQ kUGfGmkGvBy6a/yZGQAVAaGWyeKuePDNsDQRHJVd/duOQvLPYp1VqWiOXnSXjdvZYiyq LXCRb4Rp5rpYeC5S2Su85zHmGNV1xthzaImtkpFGeNPUxH91JDC1ehrpSokxCPYvUvdF +P9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790147953; x=1790752753; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=B/NJ/qQV3GavhIw7zMhjhCHgSAMMGQo7bvQEHRt/hLg=; b=kBVvAoyvv9jGII7SwqFU414I82Ls5N6T1pvrFcex0qUWWFU29xOXLvs+OS5rk7bn06 y6vD2OFKrp143h8VONK5MVW/qNqdsaNW5lno/wwYGNRa0QDDWWL8xS0k7myKZdhhfFqL Qk5sdOW7iMxiyre2rzCoMq3rGK8PZgeAgdsxuisOh54lLn+QKTn+eK0UKCgz0+3xCLU0 adbY/xYQHHKMDfeuYljn1ylKMHCPHcjO5uggeGYnjP/MPJfl6VuCJyc2ThaTXKhC3sA3 UWzloI24PFCJbghibX2kD5wF1LL7FnJNZUYm0AAile7+PxOxWz07M+GOVaugt0VzS0ZN QU5w== X-Forwarded-Encrypted: i=1; AKwUvBz9lX2B57oxvMe7R2ZBwbl1s0zFB0WbcsfZ6fukrK3ZPpnIatQAFUrpu4KHsCbDB/q2Ei96JKzlyR6DpOY=@vger.kernel.org X-Gm-Message-State: AFuF++lc56zFXG8X1W5anfr6xig7rpPJXwcbBYXGAPrF3X8P8AiBsouv lYgzrd9yAmxzhW24bzvpm1mnyQCwnRHR0SlkStusVVzR9YhNF8pNHLMfjB9/ZzW/aw== X-Gm-Gg: AYBFou1Fa8G2exSNlpekUXQ6CPv+MBQWECCSmDym8toakdl4RHGeb7fFGyWbSgdILSR opfVTzaaXQ+2aMda6zJPm/V/Fgs2J3bsUHfPmGC2xhwEVImYRuShtQ3EyoECsj0jR+DQ+ZdjudB QhKSEd3a2f/TCpydzMmHRmwKAlB2jCh/H7WlfjyZgRxmXHYPkwkIFNh8uNdqV+BN6Mh6Y1njqed +dkEDs5icfX90dUZO0juQHb5ayTGxdCb/FFF2K0IvEb3tsQgn71wFfJwyTrxZk8aHwjmYptDWIA 77yuo4aR2Vzvoo04FEeAiuzbWXCCs6z9Ns6clWD8YoMaruMhpr3jJ/AbzW7ZRs9cDF/4GY9+vdl uaGzFZjowmF1zGcqG0+Ov7en2rIxBdzyFuRr8DKsrYdUV0Gpcp08LJ4hKyxRctsoUQgnv4Mzjrv ALLk5oHg2nco2NLAllZxjxkStL4s3Ur+duacG1TsiWtgMfatkAWmLWrKGYZu4ci2GTgm4SRU+h1 faqCUjfoqhKPhRUICF7VVaec2bcqPrWktBh9fcrVeAvMGGW8jBEcw== X-Received: by 2002:a05:600c:35c9:b0:49e:6777:da79 with SMTP id 5b1f17b1804b1-49fdf13e6abmr21259165e9.26.1790147952586; Wed, 23 Sep 2026 00:19:12 -0700 (PDT) Received: from google.com (135.91.155.104.bc.googleusercontent.com. [104.155.91.135]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49fe0c4054fsm32770425e9.3.2026.09.23.00.19.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Sep 2026 00:19:12 -0700 (PDT) Date: Wed, 23 Sep 2026 08:19:08 +0100 From: Vincent Donnefort To: Guenter Roeck Cc: Steven Rostedt , Masami Hiramatsu , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Subject: Re: trace/simple_ring_buffer build failure on parisc, sparc64 Message-ID: References: <5574c9e6-9ed2-4ee6-a2b2-fb6ee81e83a1@roeck-us.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5574c9e6-9ed2-4ee6-a2b2-fb6ee81e83a1@roeck-us.net> On Tue, Sep 22, 2026 at 08:57:05AM -0700, Guenter Roeck wrote: > Hi, > > when trying to build parisc:allmodconfig or sparc64:allmodconfig, > I get the following errors. > > Building parisc:allmodconfig ... failed > -------------- > Error log: > Unexpected symbols in kernel/trace/simple_ring_buffer.o: > U __atomic_hash > U trace_hardirqs_off > U trace_hardirqs_on > U warn_bogus_irq_restore > > Building sparc64:allmodconfig ... failed > -------------- > Error log: > Unexpected symbols in kernel/trace/simple_ring_buffer.o: > U > U > U current_thread_info_reg Thanks for the report. I could reproduce with clang. I should have a fix shortly. > > I always thought this has to do with my environment and/or C compiler, but > it seems as if the problem appears to be generic. > > I have no idea what causes the problem, why only those architectures are > affected, or how to fix it. If anyone has an idea, please let me know and > I'll be happy to write a patch and/or test it. > > I disabled CONFIG_RING_BUFFER for test builds of parisc and sparc64 for > now, so this does not directly affect my test builds anymore. This is > primarily a report that the problem exists, not a request to fix it. > > Thanks, > Guenter -- Vincent