TARGET_ARCH=armv6

Aleksander Dutkowski adutkowski at gmail.com
Wed Jul 18 19:35:54 UTC 2012


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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"



-- 
pozdrawiam
Aleksander Dutkowski


More information about the freebsd-arm mailing list