Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2130706rwe; Fri, 2 Sep 2022 08:58:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR7nKZDlTfFzSMukPF8a8nr9KUi9gp6nUbMZ9ozyG/MqbswCaNdAAyCiUgr/5BRLGJ3umKeV X-Received: by 2002:a17:906:9c82:b0:6df:baa2:9f75 with SMTP id fj2-20020a1709069c8200b006dfbaa29f75mr28951977ejc.762.1662134304508; Fri, 02 Sep 2022 08:58:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662134304; cv=none; d=google.com; s=arc-20160816; b=aZqFd2qrIrJzXcBH8bCx1O+GiCBQKq5lvOv2gvLt0Vbd2oGfeJJPzCPqnCscMg207l CJ585gqLX8Wwjc7rkaYsQAiH1MIphZ8wJreAAt4ZIc76LmbtsYzhP9tRNnLhqoC+qNQm PjidlV0wKMH/gzJXo2EO4Zv8HrRVbBJibaCXB1nsNB8RGp6hT6ZnmHdhSfNKnqcUbSBN Ualu81TwcvFnFKozvxoZkBIyuMKN/gOk/mYq0/Ch5aPlr1da33cIJ0jdf0ZTBVenZ066 /SqZ7XoGmzQ2lQGgMFW8VCaSgVdbsGilg2rkVOACFMqiAsY5LugtJER6D2lOlJpV/HFb MdRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6oIn0jCr6IjALL523WmmL6n5CSdi1l6QFBl7UPFSxz8=; b=I4V4xyFm7kG4+l4bppykAU1TnfKk1F2ixvSBKKCZDY1ijY4vzSrykVqRE3hrtoCXVP z7AD+QZ5lqzs+OTxOBrX0xpCw2yojLbp3Gs9xVvBZZgZIM/c6TRxfPRb3iExzVb0YKIl 3KSHgE6aqG8EQs2EZJVDYkpBwwqS+Ovwc2w0cNvlB1h8jo1YS/+l9rFOss8sVmIAKv2J JPXPn1YigpyCR1Ivi9g3q6hmuj3efTBA+R6hEG0O8atVIJnOxflXzrWiumFhBnnCAMkp 5t8WbIkcavFstEmnpY7k4zNODN6fGXnBGuSyjJdJZfSdOZ0Y3UzCwHj7lclEciwMeYH/ R4eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KMPn+k5A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o21-20020a1709061d5500b0072fa13ddca0si1901680ejh.229.2022.09.02.08.57.58; Fri, 02 Sep 2022 08:58:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KMPn+k5A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236914AbiIBPwr (ORCPT + 99 others); Fri, 2 Sep 2022 11:52:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237303AbiIBPwV (ORCPT ); Fri, 2 Sep 2022 11:52:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB512CB5E2 for ; Fri, 2 Sep 2022 08:44:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 46F4961FC7 for ; Fri, 2 Sep 2022 15:44:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8105AC433D6; Fri, 2 Sep 2022 15:44:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662133455; bh=yfXNLWwklr+vfZiv505dQVxWhaA1YdtdN+HFsT0EppY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KMPn+k5ATlFDVCVcQyU5cx79W4OsuKY+4q6IlKf48cXq5XkXDr/F9DL2rZgzoHyXQ e2rPEHxzxA82DHl3l4vleTHpZKk+s1KQ3R5DN+z9WMvSySXJFen60tn4hYX1thFVoD dnI3c6nLaVn1oOG90LXgea8MF0Eu9ug9OE7xJfeGV2Ezo0gwIzCEU4yEneKGS15ekE ptZwIGIvPh/eUKY3qB3qP+0CCYLvoiFK8WsD64mCknjYu2qsDb7FGlcrjnR8d7pdXD UJEk7/efxsXRrGDSnnPhhIeNODW8zeOhs3WBnV5LJBgPT3BLnETZTvSN8wUZlANhvW qSmL2A9u2FATg== Date: Fri, 2 Sep 2022 08:44:13 -0700 From: Josh Poimboeuf To: Nathan Chancellor Cc: kernel test robot , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: [jpoimboe:s390 2/2] Unsupported relocation type: 26 Message-ID: <20220902154413.ambn4qvy7a4hudjs@treble> References: <202209021319.l7dwyum7-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 02, 2022 at 08:12:30AM -0700, Nathan Chancellor wrote: > On Fri, Sep 02, 2022 at 01:51:11PM +0800, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git s390 > > head: fa09ffb73e4d64424faef5988a1e993317db77c5 > > commit: fa09ffb73e4d64424faef5988a1e993317db77c5 [2/2] s390: Compile relocatable kernel without -fPIE > > config: s390-randconfig-r044-20220901 > > compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c55b41d5199d2394dd6cdb8f52180d8b81d809d4) > > reproduce (this is a W=1 build): > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # install s390 cross compiling tool for clang build > > # apt-get install binutils-s390x-linux-gnu > > # https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git/commit/?id=fa09ffb73e4d64424faef5988a1e993317db77c5 > > git remote add jpoimboe https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git > > git fetch --no-tags jpoimboe s390 > > git checkout fa09ffb73e4d64424faef5988a1e993317db77c5 > > # save the config file > > mkdir build_dir && cp config build_dir/.config > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash > > > > If you fix the issue, kindly add following tag where applicable > > Reported-by: kernel test robot > > > > All errors (new ones prefixed by >>): > > > > >> Unsupported relocation type: 26 > > Looks like 26 is R_390_GOTENT according to > https://github.com/llvm/llvm-project/blob/ee761374f797a47919ec8f9f49f9b8b1b20573e8/llvm/include/llvm/BinaryFormat/ELFRelocs/SystemZ.def. Indeed. BTW, that define can also be found in /usr/include/elf.h. I guess I need to test this feature with clang ;-) Without -fPIE, I'm not sure why it would be using a GOT relocation for vmlinux. -- Josh