Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2012 21:35:53 +0200
From:      Aleksander Dutkowski <adutkowski@gmail.com>
To:        Warner Losh <imp@bsdimp.com>, kientzle@freebsd.org, arm@freebsd.org
Subject:   Re: TARGET_ARCH=armv6
Message-ID:  <CABkKHSasEjBAHUPRJ7LDtVsv_R7nFB3EWjJfrCGQXnkrVb=cYg@mail.gmail.com>
In-Reply-To: <A3910D7E-6EE3-4BE3-B177-4952F4C382E1@bsdimp.com>
References:  <FB2E340B-34DD-4CBC-B539-6996E79F37E3@freebsd.org> <1340921715.1110.100.camel@revolution.hippie.lan> <3AB368CC-BE8B-4058-A342-763B8C073800@bsdimp.com> <576FE101-93B7-46D6-B38D-A28EF18CFFC2@freebsd.org> <AB48EF09-5F83-4A29-92DE-600E58457338@freebsd.org> <B97633C1-4FB7-4961-8719-860C7BA74352@bsdimp.com> <3A793074-C6CE-4795-9D10-7EF33E2F4479@freebsd.org> <7D5A585B-BDEA-476D-9818-044EAD395986@bsdimp.com> <A32E1A9C-AB2D-4498-B56F-F9CC4712204E@freebsd.org> <A3910D7E-6EE3-4BE3-B177-4952F4C382E1@bsdimp.com>

index | next in thread | previous in thread | raw e-mail

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=/home/alek/armv6_obj make buildworld ARCH=arm
TARGET_ARCH=armv6
[...]
===> bin/expr (all)
cc -O -pipe  -std=gnu99 -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 <imp@bsdimp.com> wrote:
>
> On Jul 9, 2012, at 10:52 PM, Tim Kientzle wrote:
>
>>>>>> <armv6-target-arch.patch>
>>>>>
>>>>> This looks good enough to commit to the projects/armv6 branch.
>>>>
>>>> Done.
>>>>
>>>> Please try TARGET_ARCH=armv6 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' kernels and 'armv6' kernels. Any ideas?
>
> The machine line.  However, I tried to get the armeb and arm kernels distinguished, but that failed.  I'll try again to fix it later, and then you can 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"



-- 
pozdrawiam
Aleksander Dutkowski


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABkKHSasEjBAHUPRJ7LDtVsv_R7nFB3EWjJfrCGQXnkrVb=cYg>