From owner-freebsd-arm@FreeBSD.ORG Wed Jul 18 19:35:54 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9608106566B; Wed, 18 Jul 2012 19:35:54 +0000 (UTC) (envelope-from adutkowski@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5B1988FC0A; Wed, 18 Jul 2012 19:35:54 +0000 (UTC) Received: by obbun3 with SMTP id un3so3373682obb.13 for ; Wed, 18 Jul 2012 12:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=DtQUPQmDOT3h3d4bfUhorokslVrd0AyMdAU2pZda6AA=; b=XRGG4Vkn3iLTPAnumRXIg4OkroEZGNOwmC59jfT7ksc91SmYfc1BilUULFJzkhviHj pE9lcAOR5ArHtW7/itqYmhCtsMHiNdiyD8JkHBM4ojtQ7rJyEkPVMd/HE8W4RkS9tmyl lFO3XbLv1poIS93NOdmpmgPtkY3oLKvlE9IKXHbclr71gMfyga74ch0+x45HWMqlSu/B gb1Wi63fYW07RyW0qAy9F/Rz06NBACXELstrH2SjJLoPRimoSnlBgcyopO5GYL6SeZ/2 TYHxrYJRkyU6XMqcMr6zrsemtFxDGVcOSqGyc8ayb63DhwwzmquAAeo+D1Gb2SFt9jnX Ur4A== MIME-Version: 1.0 Received: by 10.182.12.74 with SMTP id w10mr2990676obb.54.1342640153874; Wed, 18 Jul 2012 12:35:53 -0700 (PDT) Received: by 10.76.172.168 with HTTP; Wed, 18 Jul 2012 12:35:53 -0700 (PDT) In-Reply-To: References: <1340921715.1110.100.camel@revolution.hippie.lan> <3AB368CC-BE8B-4058-A342-763B8C073800@bsdimp.com> <576FE101-93B7-46D6-B38D-A28EF18CFFC2@freebsd.org> <3A793074-C6CE-4795-9D10-7EF33E2F4479@freebsd.org> <7D5A585B-BDEA-476D-9818-044EAD395986@bsdimp.com> Date: Wed, 18 Jul 2012 21:35:53 +0200 Message-ID: From: Aleksander Dutkowski To: Warner Losh , kientzle@freebsd.org, arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: TARGET_ARCH=armv6 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2012 19:35:54 -0000 hello! I am following your conversation about removing TARGET_CPUTYPE. I am not sure if everyone has that, but my latest world is crashing. $ MAKEOBJDIRPREFIX=3D/home/alek/armv6_obj make buildworld ARCH=3Darm TARGET_ARCH=3Darmv6 [...] =3D=3D=3D> bin/expr (all) cc -O -pipe -std=3Dgnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c expr.c cc1: warnings being treated as errors /usr/home/alek/armv6/bin/expr/expr.y: In function 'main': /usr/home/alek/armv6/bin/expr/expr.y:291: warning: implicit declaration of function 'yyparse' /usr/home/alek/armv6/bin/expr/expr.y:291: warning: nested extern declaration of 'yyparse' expr.c: At top level: expr.c:813: warning: no previous prototype for 'yyparse' *** [expr.o] Error code 1 Stop in /usr/home/alek/armv6/bin/expr. *** [all] Error code 1 Stop in /usr/home/alek/armv6/bin. *** [bin.all__D] Error code 1 Stop in /usr/home/alek/armv6. *** [everything] Error code 1 Stop in /usr/home/alek/armv6. *** Error code 1 Stop in /usr/home/alek/armv6. On Tue, Jul 10, 2012 at 7:24 AM, Warner Losh wrote: > > On Jul 9, 2012, at 10:52 PM, Tim Kientzle wrote: > >>>>>> >>>>> >>>>> This looks good enough to commit to the projects/armv6 branch. >>>> >>>> Done. >>>> >>>> Please try TARGET_ARCH=3Darmv6 and let me know >>>> what breaks. I just found that native "make buildworld" >>>> miscompiles rtld. Fortunately, disassembling the good >>>> and bad versions only shows a few differences, so I'm >>>> tracking those down. >> >> More missing pieces: >> * 'make universe' doesn't yet know about armv6 > > Easy enough to add :) > >> * I don't know how 'make universe' can distinguish between 'arm' kernel= s and 'armv6' kernels. Any ideas? > > The machine line. However, I tried to get the armeb and arm kernels dist= inguished, but that failed. I'll try again to fix it later, and then you c= an use something similar for armv6. Also, we're getting enough ARM kernels= I though about adding a NOUNIVERSE line to some of the more bizarre Atmel = ones... > >> More generally: >> * What's required before the 'armv6' tree can be merged into -CURRENT? > > PROFIT! > > Honestly, I'm not sure, just had to say that. > > Warner > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" --=20 pozdrawiam Aleksander Dutkowski