Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2012 22:26:11 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        Aleksander Dutkowski <adutkowski@gmail.com>
Cc:        arm@freebsd.org
Subject:   Re: TARGET_ARCH=armv6
Message-ID:  <1CA1AE7F-9CA1-4035-BFF5-20961DAA3BEB@freebsd.org>
In-Reply-To: <CABkKHSasEjBAHUPRJ7LDtVsv_R7nFB3EWjJfrCGQXnkrVb=cYg@mail.gmail.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> <CABkKHSasEjBAHUPRJ7LDtVsv_R7nFB3EWjJfrCGQXnkrVb=cYg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I recently brought over some changes to the armv6 project tree
to build correctly with the new byacc that was imported into
-CURRENT.

But I did not bring over all of the buildworld fixes to correctly
choose whether to build a new byacc.

So you either need a very recent -CURRENT (after
the byacc import) or need to merge over the buildworld
fixes.

Tim

On Jul 18, 2012, at 12:35 PM, Aleksander Dutkowski wrote:

> hello!
>=20
> I am following your conversation about removing TARGET_CPUTYPE. I am
> not sure if everyone has that, but my latest world is crashing.
>=20
> $ 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
>=20
> Stop in /usr/home/alek/armv6/bin/expr.
> *** [all] Error code 1
>=20
> Stop in /usr/home/alek/armv6/bin.
> *** [bin.all__D] Error code 1
>=20
> Stop in /usr/home/alek/armv6.
> *** [everything] Error code 1
>=20
> Stop in /usr/home/alek/armv6.
> *** Error code 1
>=20
> Stop in /usr/home/alek/armv6.
>=20
> On Tue, Jul 10, 2012 at 7:24 AM, Warner Losh <imp@bsdimp.com> wrote:
>>=20
>> On Jul 9, 2012, at 10:52 PM, Tim Kientzle wrote:
>>=20
>>>>>>> <armv6-target-arch.patch>
>>>>>>=20
>>>>>> This looks good enough to commit to the projects/armv6 branch.
>>>>>=20
>>>>> Done.
>>>>>=20
>>>>> 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.
>>>=20
>>> More missing pieces:
>>> * 'make universe' doesn't yet know about armv6
>>=20
>> Easy enough to add :)
>>=20
>>> * I don't know how 'make universe' can distinguish between 'arm' =
kernels and 'armv6' kernels. Any ideas?
>>=20
>> 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...
>>=20
>>> More generally:
>>> * What's required before the 'armv6' tree can be merged into =
-CURRENT?
>>=20
>> PROFIT!
>>=20
>> Honestly, I'm not sure, just had to say that.
>>=20
>> Warner
>>=20
>> _______________________________________________
>> 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
>=20
>=20
> --=20
> pozdrawiam
> Aleksander Dutkowski
>=20
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1CA1AE7F-9CA1-4035-BFF5-20961DAA3BEB>