Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp803022imm; Thu, 26 Jul 2018 12:15:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdN97BBHhLqykazZqpV0gCOX4XJ8hOXQXh+Zyb39q3aCjhmvVtR6vrHX9SZDj0DlYuw1H23 X-Received: by 2002:a65:6398:: with SMTP id h24-v6mr3099948pgv.245.1532632545760; Thu, 26 Jul 2018 12:15:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532632545; cv=none; d=google.com; s=arc-20160816; b=M8SJXIn/WUNYU9+2EFYfOacmguCYVvAr2irfPgoduT0AzWhRjg8NpEbLiVPPc8jMl2 Xm010HKHG6x8GeBzZCB335thIvdyBu7PVjR39CVE2cPVdxP6VBGj2RQScfarksnsu7QN zECK3hYkGHfNjWlN/a8dbwgsEkDVJ125dk0VO0pv25qpkpJk+cZGc6jQXZnLYJ7zxZAi zEq0R98wqAFR2UEuHsYTfdtB1dj9EayMJR+h2GzX7PjNESd+2PUDwOvlZQRAYDuCAEEg I4XCa5AeDpC6dPNG83oajcFlGVAXc/4cemCgBPQDKuMl7to8SJ1WsQeGJ9oExokpGPOy hvYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:arc-authentication-results; bh=q21FNetyg/6zuoUIkfief+9XHjSkLikstGC1C4h1F4w=; b=ZiIRerUhNBUPX5axlXV/e9MINLgFubwI/Q4+0xfLyhV+XX+WUQ/CErxQWE84AaHuZp FUFuNXHewj7PwDWQFBMinPNMe2NMBRZo/v27eafxb1I3eB+PJ4lN0mWIiHNYoaG9gbBZ FfBOdLnlxc6Jb9W0QsSRhMF2AdzzzIsmy0DRo0bXfYH/FwewQ+nWMG0B69hgur/awKit SMTBhd7wFng71UxbhkPIkDyYTGuXLsxBaIOHfkt83i7dfqXVcZ6ZIgWH8Lr42k+SVbCF D5AJAa1A4t5kNnswAyRuPpzxW25Y32Pr/8gPC3p2y5doEDWA/xpGYIfOju8IJWOPzA8t YnEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b18-v6si1811970pgd.185.2018.07.26.12.15.30; Thu, 26 Jul 2018 12:15:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731521AbeGZUca (ORCPT + 99 others); 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 X-Spam-Level: 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 >