Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753515AbbD2GWr (ORCPT ); Wed, 29 Apr 2015 02:22:47 -0400 Received: from mail1.asahi-net.or.jp ([202.224.39.197]:9986 "EHLO mail1.asahi-net.or.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752366AbbD2GWm (ORCPT ); Wed, 29 Apr 2015 02:22:42 -0400 Date: Wed, 29 Apr 2015 15:22:40 +0900 Message-ID: <87lhhbihcf.wl-ysato@users.sourceforge.jp> From: Yoshinori Sato To: Guenter Roeck Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH v9 00/17] Re-introduce h8300 architecture In-Reply-To: <55405F08.7020508@roeck-us.net> 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> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.4 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2289 Lines: 63 At Tue, 28 Apr 2015 21:33:12 -0700, 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. OK. I made h8300-*-linux target patch for release version. Please apply and rebuild to "h8300-unknown-linux" http://sourceforge.jp/projects/uclinux-h8/releases/p14625 My toolchain configure options bellow * binutils ../configure --prefix=/home/ysato/h8-linux --target=h8300-unknown-linux * gcc ../configure --target=h8300-unknown-linux --prefix=/home/ysato/h8-linux \ --disable-ssp --disable-libssp --disable-mpc --disable-gmp --disable-mpfr \ --disable-threads --disable-shared --disable-libmudflap --disable-libgomp \ --disable-zlib --disable-libquadmath --without-libc --disable-libatomic \ --enable-languages=c Thanks. > Guenter > > -- > To unsubscribe from this list: send the line "unsubscribe linux-arch" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- 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/