From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46CDDC6778F for ; Thu, 26 Jul 2018 19:14:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F062C20673 for ; Thu, 26 Jul 2018 19:14:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F062C20673 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ghiti.fr Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731542AbeGZUca (ORCPT ); Thu, 26 Jul 2018 16:32:30 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:55911 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729801AbeGZUca (ORCPT ); Thu, 26 Jul 2018 16:32:30 -0400 Received: from [192.168.0.11] (127.19.86.79.rev.sfr.net [79.86.19.127]) (Authenticated sender: alex@ghiti.fr) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 050C4240005; Thu, 26 Jul 2018 19:13:59 +0000 (UTC) Subject: Re: [PATCH v4 00/11] hugetlb: Factorize hugetlb architecture primitives From: Alex Ghiti To: Helge Deller Cc: Michael Ellerman , Michal Hocko , linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, tony.luck@intel.com, fenghua.yu@intel.com, ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org, jejb@parisc-linux.org, benh@kernel.crashing.org, paulus@samba.org, ysato@users.sourceforge.jp, dalias@libc.org, davem@davemloft.net, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-mips@linux-mips.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-arch@vger.kernel.org, Naoya Horiguchi , Mike Kravetz References: <20180705110716.3919-1-alex@ghiti.fr> <20180709141621.GD22297@dhcp22.suse.cz> <2173685f-7f85-7acb-4685-2383210c5fa2@ghiti.fr> <87d0vehx16.fsf@concordia.ellerman.id.au> <67aba0f0-c0d4-b06f-5fbc-f4d113ce5033@ghiti.fr> <20180726125940.GA15033@ls3530> Message-ID: <6ec7c5dc-feb1-86ff-b7d9-7794c92eaf0f@ghiti.fr> Date: Thu, 26 Jul 2018 19:13:59 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 8bit Content-Language: fr Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Actually, I went back to v4.17, and I have the same errors. I used: $ make ARCH=parisc O=build_parisc generic-64bit_defconfig $ PATH=/home/alex/wip/toolchain/gcc-8.1.0-nolibc/hppa64-linux/bin:$PATH make ARCH=parisc CROSS_COMPILE=hppa64-linux- I downloaded the crosscompiler here: https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/8.1.0/ On 07/26/2018 05:01 PM, Alex Ghiti wrote: > Hi Helge, > > Thanks for your tests. > In case it can help you, this is what I get when I try to build > generic-64bit_defconfig (I truncated the output): > > ... > >  LD      vmlinux.o >  MODPOST vmlinux.o > hppa64-linux-ld: init/main.o(.text+0x98): cannot reach strreplace > init/main.o: In function `initcall_blacklisted': > init/.tmp_main.o:(.text+0x98): relocation truncated to fit: > R_PARISC_PCREL22F against symbol `strreplace' defined in .text section > in lib/string.o > hppa64-linux-ld: init/main.o(.text+0xbc): cannot reach strcmp > init/.tmp_main.o:(.text+0xbc): relocation truncated to fit: > R_PARISC_PCREL22F against symbol `strcmp' defined in .text section in > lib/string.o > hppa64-linux-ld: init/main.o(.text+0x21c): cannot reach strcpy > init/main.o: In function `do_one_initcall': > (.text+0x21c): relocation truncated to fit: R_PARISC_PCREL22F against > symbol `strcpy' defined in .text section in lib/string.o > hppa64-linux-ld: init/main.o(.text+0x250): cannot reach strlcat > (.text+0x250): relocation truncated to fit: R_PARISC_PCREL22F against > symbol `strlcat' defined in .text section in lib/string.o > hppa64-linux-ld: init/main.o(.init.text+0x1d4): cannot reach strcmp > init/main.o: In function `do_early_param': > init/.tmp_main.o:(.init.text+0x1d4): relocation truncated to fit: > R_PARISC_PCREL22F against symbol `strcmp' defined in .text section in > lib/string.o > hppa64-linux-ld: init/main.o(.init.text+0x250): cannot reach strcmp > init/.tmp_main.o:(.init.text+0x250): relocation truncated to fit: > R_PARISC_PCREL22F against symbol `strcmp' defined in .text section in > lib/string.o > hppa64-linux-ld: init/main.o(.init.text+0x294): cannot reach strlen > init/main.o: In function `repair_env_string': > init/.tmp_main.o:(.init.text+0x294): relocation truncated to fit: > R_PARISC_PCREL22F against symbol `strlen' defined in .text section in > lib/string.o > hppa64-linux-ld: init/main.o(.init.text+0x2f0): cannot reach strlen > init/.tmp_main.o:(.init.text+0x2f0): relocation truncated to fit: > R_PARISC_PCREL22F against symbol `strlen' defined in .text section in > lib/string.o > hppa64-linux-ld: init/main.o(.init.text+0x308): cannot reach memmove > init/.tmp_main.o:(.init.text+0x308): relocation truncated to fit: > R_PARISC_PCREL22F against symbol `memmove' defined in .text section in > lib/string.o > hppa64-linux-ld: init/main.o(.init.text+0x454): cannot reach strlen > init/main.o: In function `unknown_bootoption': > init/.tmp_main.o:(.init.text+0x454): relocation truncated to fit: > R_PARISC_PCREL22F against symbol `strlen' defined in .text section in > lib/string.o > hppa64-linux-ld: init/main.o(.init.text+0x4dc): cannot reach strchr > init/.tmp_main.o:(.init.text+0x4dc): additional relocation overflows > omitted from the output > hppa64-linux-ld: init/main.o(.init.text+0x638): cannot reach strncmp > hppa64-linux-ld: init/main.o(.init.text+0x694): cannot reach get_option > hppa64-linux-ld: init/main.o(.init.text+0x744): cannot reach strsep > hppa64-linux-ld: init/main.o(.init.text+0x798): cannot reach strlen > hppa64-linux-ld: init/main.o(.init.text+0x7d0): cannot reach strcpy > hppa64-linux-ld: init/main.o(.init.text+0x954): cannot reach strlcpy > hppa64-linux-ld: init/main.o(.init.text+0xab8): cannot reach strlen > hppa64-linux-ld: init/main.o(.init.text+0xafc): cannot reach strlen > hppa64-linux-ld: init/main.o(.init.text+0xb40): cannot reach strlen > hppa64-linux-ld: init/main.o(.init.text+0xb84): cannot reach strlen > hppa64-linux-ld: init/main.o(.init.text+0xbd0): cannot reach strcpy > hppa64-linux-ld: init/main.o(.init.text+0xbe8): cannot reach strcpy > hppa64-linux-ld: init/main.o(.init.text+0xc3c): cannot reach > build_all_zonelists > hppa64-linux-ld: init/main.o(.init.text+0x1200): cannot reach unknown > hppa64-linux-ld: init/main.o(.init.text+0x1278): cannot reach > wait_for_completion > hppa64-linux-ld: init/main.o(.init.text+0x12b0): cannot reach > _raw_spin_lock > hppa64-linux-ld: init/main.o(.init.text+0x147c): cannot reach strcpy > hppa64-linux-ld: init/main.o(.ref.text+0x40): cannot reach kernel_thread > hppa64-linux-ld: init/main.o(.ref.text+0x60): cannot reach > find_task_by_pid_ns > hppa64-linux-ld: init/main.o(.ref.text+0x98): cannot reach > set_cpus_allowed_ptr > hppa64-linux-ld: init/main.o(.ref.text+0xbc): cannot reach kernel_thread > hppa64-linux-ld: init/main.o(.ref.text+0xd4): cannot reach > find_task_by_pid_ns > hppa64-linux-ld: init/main.o(.ref.text+0x108): cannot reach complete > hppa64-linux-ld: init/main.o(.ref.text+0x128): cannot reach > cpu_startup_entry > hppa64-linux-ld: init/main.o(.ref.text+0x164): cannot reach unknown > hppa64-linux-ld: init/main.o(.ref.text+0x174): cannot reach > async_synchronize_full > hppa64-linux-ld: init/main.o(.ref.text+0x1a4): cannot reach > rcu_barrier_sched > hppa64-linux-ld: init/main.o(.ref.text+0x1b4): cannot reach > mark_rodata_ro > hppa64-linux-ld: init/main.o(.ref.text+0x1d4): cannot reach > rcu_end_inkernel_boot > hppa64-linux-ld: init/main.o(.ref.text+0x1f4): cannot reach unknown > hppa64-linux-ld: init/main.o(.ref.text+0x218): cannot reach printk > hppa64-linux-ld: init/main.o(.ref.text+0x238): cannot reach unknown > hppa64-linux-ld: init/main.o(.ref.text+0x258): cannot reach panic > hppa64-linux-ld: init/main.o(.ref.text+0x268): cannot reach printk > hppa64-linux-ld: init/main.o(.ref.text+0x280): cannot reach unknown > hppa64-linux-ld: init/main.o(.ref.text+0x29c): cannot reach unknown > hppa64-linux-ld: init/main.o(.ref.text+0x2b8): cannot reach unknown > hppa64-linux-ld: init/main.o(.ref.text+0x2d4): cannot reach unknown > hppa64-linux-ld: init/main.o(.ref.text+0x2f0): cannot reach panic > hppa64-linux-ld: init/do_mounts.o(.text+0x30): cannot reach strncasecmp > hppa64-linux-ld: init/do_mounts.o(.text+0x158): cannot reach strncmp > hppa64-linux-ld: init/do_mounts.o(.text+0x180): cannot reach strchr > > ... > > > On 07/26/2018 12:59 PM, Helge Deller wrote: >> * Alex Ghiti : >>> This is the result of the build for all arches tackled in this series >>> rebased on 4.18-rc6: >>> ... >>> parisc: >>>          generic-64bit_defconfig: with huge page does not link >>>          generic-64bit_defconfig: without huge page does not link >>>          BUT not because of this series, any feedback welcome. >> Strange, but I will check that later.... >> >> Anyway, I applied your v4-patch to my parisc64 tree, built the kernel, >> started it and ran some hugetlb LTP testcases sucessfully. >> So, please add: >> >> Tested-by: Helge Deller # parisc >> >> Helge >