Content-Type: multipart/mixed; boundary="===============7101536001537323671==" MIME-Version: 1.0 From: Michael Ellerman To: kbuild-all@lists.01.org Subject: Re: [PATCH v2 3/7] powerpc/build: move got, toc, plt, branch_lt sections to read-only Date: Mon, 19 Sep 2022 15:39:02 +1000 Message-ID: <87mtavly89.fsf@mpe.ellerman.id.au> In-Reply-To: <202209180437.4U3soljK-lkp@intel.com> List-Id: --===============7101536001537323671== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable kernel test robot writes: > Hi Nicholas, > > I love your patch! Yet something to improve: > > [auto build test ERROR on powerpc/next] > [also build test ERROR on linus/master v6.0-rc5 next-20220916] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Nicholas-Piggin/po= werpc-build-linker-improvements/20220916-121310 > base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git= next > config: powerpc-microwatt_defconfig (https://download.01.org/0day-ci/arch= ive/20220918/202209180437.4U3soljK-lkp(a)intel.com/config) > compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a= 7ae1ba3efd6bca96338e10ffde557ba83920) > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install powerpc cross compiling tool for clang build > # apt-get install binutils-powerpc-linux-gnu > # https://github.com/intel-lab-lkp/linux/commit/6c034c08f8d0addb6= fecba38c9c428b1c4df7c29 > git remote add linux-review https://github.com/intel-lab-lkp/linux > git fetch --no-tags linux-review Nicholas-Piggin/powerpc-build-li= nker-improvements/20220916-121310 > git checkout 6c034c08f8d0addb6fecba38c9c428b1c4df7c29 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W= =3D1 O=3Dbuild_dir ARCH=3Dpowerpc SHELL=3D/bin/bash ^^^^^ > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > >>> ld.lld: error: ./arch/powerpc/kernel/vmlinux.lds:46: { expected, but go= t SPECIAL > >>> .got : AT(ADDR(.got) - (0xc0000000 -0x00000000)) SPECIAL { > >>> ^ I guess SPECIAL is a binutils ld ism? I can't find it documented anywhere. Presumably we can just not use it, given we never did before? cheers --===============7101536001537323671==--