From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f48.google.com (mail-oa1-f48.google.com [209.85.160.48]) (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 4742C2BDC29 for ; Wed, 3 Dec 2025 22:16:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764800188; cv=none; b=I94Se538q7Pm9Gn2R0B7ggKkWhxllz/7gRWkCbiawfvo+fg4UOwa7rn3PKq/2ezN1B7aM7XKeaSDw6oe+6BAj5VM084uCabvfK1Qvu+p1KOFg7UmZShEt3r4ki7Ng9xaCvZy0pEl0nuHXvC8p8gp2jPr+umS9ydIoHIlfUQ10qg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764800188; c=relaxed/simple; bh=srwftmXjlLmF7eeA9mktYB6XEde1cfd5cS1qyTrtBBY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cK3mrE72nFDBsuB4sQbKdOXhZXOBx41OR7yIXH8iOeu0Wzxg8cRWLxiMccBgSrz+MSTUu0f7C28GLYO2qn9NskZRoMNdtolj/pH4ugwi+d964ntZfm4sFBHsbMOqGfMe+jtU7ZVX+gkZvVYnnUkWKtRcBqki3ZR5YUfpjwV1L/c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LRlSSTus; arc=none smtp.client-ip=209.85.160.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="LRlSSTus" Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-3ec5df386acso231074fac.1 for ; Wed, 03 Dec 2025 14:16:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1764800185; x=1765404985; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/BQ+aq7QV9wwUu5JnIoDoUm9ffc2261+vDlHLPgQixY=; b=LRlSSTusadL8tDcWiWDRUlePc406E0pRTqVK060CKlv5/Ef6FzpRYam5pmxod36vhU aBOSzo7G1XOKz1oqUiEBn3ybHcUOn0sPH8mZdV6nWB3LiilO3L85Pfj2KMegOGs/SKDu EpEUQImRIuhLzbIlRrHvGeBb0Mj5l6qB3iqyE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764800185; x=1765404985; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/BQ+aq7QV9wwUu5JnIoDoUm9ffc2261+vDlHLPgQixY=; b=uawlQYF91hnSLpac9jt0Re9P2wDWZLo5EB5ylypGyRV61cnMxzKdH6C9zXO2bwcBJX YYa4jblJ3LemFl+c8bTqQYPGtg3wtaxBjAct7iR82TWJMu8lqUqk27q1SWATWautzKOT SsnQWaMHjmkTDvT3p2RYxZPwVVCSl7aLP1jRvRiUG60jUQMQzU/1dlnH+UdK7ZDtHyo+ 3I3/ZnzLIV4sjD21Y/WCqoMSNwYnqygCHVwS10UB9lh7+9VkskWayKz8r/nzHyPQ0c90 +L/PW1TCpY2mESSqcdBgFI/hFN0+dblD5ljXm2HYr4uzdRx+nKUV5plp/fEGLPRcvBf1 lFBg== X-Forwarded-Encrypted: i=1; AJvYcCVVuZPqa7Yo4AKOGjMsLl0YQteIuE3FODh+7aYvr71CscOBUFopTEA8DHvgm6guAJlfsiz1IrXrXBFO9uA=@vger.kernel.org X-Gm-Message-State: AOJu0Yxk4t3MH7xSsb/f0yUdbjMn3xizbCLE5sGOFjuKgMRORMTl5P23 MafYuAM9GOTAWL5wOvpkLrxe88lONqSIn46NveyAqeCheJY7FZfvhUC2fBFbtMBb8YpJbWWRvLg pMq6e X-Gm-Gg: ASbGncvjMNVAVCp+3vvWsvZBwyNBznXH7oq3pQzrB200E2ZMnrvkpslLgpl+oWt3ZqI mpek3wjnBKvBWTKXiuJsfK646Ss6ZXRMQt5b36lNf1bHU+1+GAO/ke6dZs3kW+8udw1jECV79Sy LScTK8ybqkBuD5oLUOqdmPTx6zTu34gAWnPdJWLvbF0R/y2d0th2jpAjRcxUnmsAPYyQDNK8tLy xR/F3KhPzZp1FKdMY24D4vRVr30mmOF5RzTGpGVher+0y/ng5hhodzYUejC+40OyVBO0D08kS9R qQFeXi/iRQa8EuBxWcvg2W9Y871YWs3r4zgQk3gUL88smc5s164EUVsCeujtiGIu6SrXoddaTaD 65qyF5A0GFCAntbutGlXdYXbMWAQWHKYJrD0Vzuv7DyH6JHwEBBChv2c8 X-Google-Smtp-Source: AGHT+IGLm/MMHH27TVNlqYSIvX9zWGRL2Q08ixVb50qRPPkAoiUKIhGS/PeUtokINd7b7Xw8Q53j8g== X-Received: by 2002:a05:6870:d607:b0:3ec:5a09:3014 with SMTP id 586e51a60fabf-3f50634f9cemr438772fac.3.1764800185136; Wed, 03 Dec 2025 14:16:25 -0800 (PST) Received: from [192.168.1.14] ([38.175.187.108]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-3f50aa34d4fsm15449fac.5.2025.12.03.14.16.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Dec 2025 14:16:24 -0800 (PST) Message-ID: <9d520a1d-0b8d-4d30-b29f-230fc0f92b8a@linuxfoundation.org> Date: Wed, 3 Dec 2025 15:16:24 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Linux 6.18 amdgpu build error To: Guenter Roeck Cc: Alexander Deucher , Linus Torvalds , Linux Kernel Mailing List , amd-gfx@lists.freedesktop.org, dri-devel References: <74032153-813a-4a40-8363-cce264f4d5ea@linuxfoundation.org> <1eb24816-530b-4470-8e58-ce7d8297996c@roeck-us.net> <0425d7b4-76e4-4057-83a5-a7b17a051c54@linuxfoundation.org> Content-Language: en-US From: Shuah Khan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 12/2/25 14:23, Guenter Roeck wrote: > On 12/2/25 13:01, Shuah Khan wrote: >> On 12/1/25 19:31, Guenter Roeck wrote: >>> On Mon, Dec 01, 2025 at 03:17:49PM -0700, Shuah Khan wrote: >>>> Hi Alex, >>>> >>>> I am seeing the following make error on Linux 6.18. >>>> I started seeing build failures since rc7 and rc6 >>>> build was just fine on the same config file. >>>> >>>> LD [M]  drivers/gpu/drm/amd/amdgpu/amdgpu.o >>>> drivers/gpu/drm/amd/amdgpu/amdgpu.o: error: objtool: elf_init_reloc: .rela.orc_unwind_ip: reloc 39935 already initialized! >>>> make[6]: *** [scripts/Makefile.build:503: drivers/gpu/drm/amd/amdgpu/amdgpu.o] Error 255 >>>> make[6]: *** Deleting file 'drivers/gpu/drm/amd/amdgpu/amdgpu.o' >>>> make[5]: *** [scripts/Makefile.build:556: drivers/gpu/drm/amd/amdgpu] Error 2 >>>> make[4]: *** [scripts/Makefile.build:556: drivers/gpu/drm] Error 2 >>>> make[3]: *** [scripts/Makefile.build:556: drivers/gpu] Error 2 >>>> make[2]: *** [scripts/Makefile.build:556: drivers] Error 2 >>>> make[1]: *** [/linux/linux_6.18/Makefile:2010: .] Error 2 >>>> make: *** [Makefile:248: __sub-make] Error 2 >>>> >>>> I tried "make clean" and "make distclean" just in case, still see >>>> the same error. >>>> >>> >>> My test system does not report any problems. What is the configuration >>> and compiler ? >>> >> >> My one test system didn't report any problems. The other one did. >> I am using gcc and the config is the same as the one used to build >> 6.18-rc6 with no issues. >> >> I will keep digging to find what's wrong on my system. >> >> gcc version 14.2.0 (Debian 14.2.0-19) >> > > Interesting. That reminds me ... I used to have that kind of machine specific > problems when building with CONFIG_RANDSTRUCT enabled. I worked around it > by using gcc builds with plugin support disabled. In my case, there was > nothing wrong with the system, just that each system has a slightly different > hardware configuration which somehow influenced structure randomization, even > across "make clean/distclean". > CONFIG_RANDSTRUCT is disabled and so are the GCC_PLUGINS in my config. I am also seeing issues with cloning kernel.org repos on my system after a recent update: remote: Enumerating objects: 11177736, done. remote: Counting objects: 100% (1231/1231), done. remote: Compressing objects: 100% (624/624), done. remote: Total 11177736 (delta 855), reused 781 (delta 606), pack-reused 11176505 (from 1) Receiving objects: 100% (11177736/11177736), 3.01 GiB | 7.10 MiB/s, done. Resolving deltas: 100% (9198323/9198323), done. fatal: did not receive expected object 0002003e951b5057c16de5a39140abcbf6e44e50 fatal: fetch-pack: invalid index-pack output Happy start to the end of the year :( thanks, -- Shuah