Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752759AbbD2Eoh (ORCPT ); Wed, 29 Apr 2015 00:44:37 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:42800 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751371AbbD2Eoe (ORCPT ); Wed, 29 Apr 2015 00:44:34 -0400 Message-ID: <554061AE.6050105@roeck-us.net> Date: Tue, 28 Apr 2015 21:44:30 -0700 From: Guenter Roeck User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Yoshinori Sato CC: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH v9 00/17] Re-introduce h8300 architecture References: <1430112924-1134-1-git-send-email-ysato@users.sourceforge.jp> <20150428132210.GA7499@roeck-us.net> <87pp6oi2qy.wl-ysato@users.sourceforge.jp> <55405F08.7020508@roeck-us.net> In-Reply-To: <55405F08.7020508@roeck-us.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-CTCH-PVer: 0000001 X-CTCH-Spam: Unknown X-CTCH-VOD: Unknown X-CTCH-Flags: 0 X-CTCH-RefID: str=0001.0A020206.554061B1.0139,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-Score: 0.000 X-CTCH-ScoreCust: 0.000 X-CTCH-Rules: X-CTCH-SenderID: linux@roeck-us.net X-CTCH-SenderID-Flags: 0 X-CTCH-SenderID-TotalMessages: 2 X-CTCH-SenderID-TotalSpam: 0 X-CTCH-SenderID-TotalSuspected: 0 X-CTCH-SenderID-TotalConfirmed: 0 X-CTCH-SenderID-TotalBulk: 0 X-CTCH-SenderID-TotalVirus: 0 X-CTCH-SenderID-TotalRecipients: 0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: mailgid no entry from get_relayhosts_entry X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1675 Lines: 49 On 04/28/2015 09:33 PM, Guenter Roeck wrote: > On 04/28/2015 10:25 AM, Yoshinori Sato wrote: >> At Tue, 28 Apr 2015 06:22:10 -0700, >> Guenter Roeck wrote: >>> >>> On Mon, Apr 27, 2015 at 02:35:07PM +0900, Yoshinori Sato wrote: >>>> Hello. >>>> I will re-introducing h8300. >>>> >>> >>> Hi, >>> >>> can you provide a link to a working toolchain, or provide directions >>> on how to build one ? >> >> h8300-unknown-linux in gcc / binutils development version. >> Patch of a release version has not been prepared yet. >> > > Hi, > > With a toolchain based on binutils 2.25 (patched), gcc 5.1 (unpatched), and newlib 1.20 > (unpatched), I get for both h8300h-sim_defconfig and h8s-sim_defconfig: > > ./arch/h8300/kernel/vmlinux.lds:247: undefined symbol `jiffies_64' referenced in expression > > I had to modify arch/h8300/Makefile a bit since the linker does not understand > -mh8300helf_linux and -mh8300self_linux; I had to use -mh8300helf and -mh8300self > instead. Maybe I am missing a binutils patch. I also had to use h8300-linux-elf > as target to convince gcc to accept it as valid target. Both should not result > in the undefined symbol error, though. > Also, a build after "make allyesconfig" shows a few missing functions. writel_relaxed readl_relaxed ioread32be iowrite32be I should have mentioned that I used branch 'h8300' of git://git.sourceforge.jp/gitroot/uclinux-h8/linux.git for the build tests. Guenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/