Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2016 21:33:10 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-arm@freebsd.org
Subject:   Re: upgrading arm6hf
Message-ID:  <364fe8cb-0cbd-e0d3-5fa4-c2be9f3a8036@denninger.net>
In-Reply-To: <20160520021633.GG1049@www.zefox.net>
References:  <CAFnjQbuH1%2Bmxid6_HdpayejNxayMHahB-JVi8=6oKNGjf9vtow@mail.gmail.com> <CANCZdfrx%2BUJdB0F9CRX=sE=2kfEBDjeLHjvADasvbUd95n56UQ@mail.gmail.com> <CAFnjQbsnEtaxRXHTvFLzWRFndUUFPyV5jW3o%2Bo=gPQxRU5bGCg@mail.gmail.com> <20160519232102.GF1049@www.zefox.net> <20160520021633.GG1049@www.zefox.net>

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

[-- Attachment #1 --]
Ehhhh....

Just tried to use the "mk" script that I've been running to do a
crossbuild on a freshly-updated tree, and it blew up here:

--- flt_rounds.So ---
cc  -fpic -DPIC  -O -pipe   -I/pics/CrossBuild/src/lib/libc/include
-I/pics/CrossBuild/src/lib/libc/../../include
-I/pics/CrossBuild/src/lib/libc/arm -DNLS  -D__DBINTERFACE_PRIVATE
-I/pics/CrossBuild/src/lib/libc/../../contrib/gdtoa
-I/pics/CrossBuild/src/lib/libc/../../contrib/libc-vis -DINET6
-I/pics/CrossBuild/obj/arm.armv6/pics/CrossBuild/src/lib/libc
-I/pics/CrossBuild/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE
-I/pics/CrossBuild/src/lib/libc/../libmd
-I/pics/CrossBuild/src/lib/libc/../../contrib/jemalloc/include
-I/pics/CrossBuild/src/lib/libc/../../contrib/tzcode/stdtime
-I/pics/CrossBuild/src/lib/libc/stdtime
-I/pics/CrossBuild/src/lib/libc/locale -DBROKEN_DES -DPORTMAP
-DDES_BUILTIN -I/pics/CrossBuild/src/lib/libc/rpc -DYP -DNS_CACHING
-DSYMBOL_VERSIONING -MD  -MF.depend.flt_rounds.So -MTflt_rounds.So
-std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter 
-Qunused-arguments  -I/pics/CrossBuild/src/lib/libutil
-I/pics/CrossBuild/src/lib/msun/arm -I/pics/CrossBuild/src/lib/msun/src
-c /pics/CrossBuild/src/lib/libc/arm/gen/flt_rounds.c -o flt_rounds.So
--- arm_initfini.So ---
cc  -fpic -DPIC  -O -pipe   -I/pics/CrossBuild/src/lib/libc/include
-I/pics/CrossBuild/src/lib/libc/../../include
-I/pics/CrossBuild/src/lib/libc/arm -DNLS  -D__DBINTERFACE_PRIVATE
-I/pics/CrossBuild/src/lib/libc/../../contrib/gdtoa
-I/pics/CrossBuild/src/lib/libc/../../contrib/libc-vis -DINET6
-I/pics/CrossBuild/obj/arm.armv6/pics/CrossBuild/src/lib/libc
-I/pics/CrossBuild/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE
-I/pics/CrossBuild/src/lib/libc/../libmd
-I/pics/CrossBuild/src/lib/libc/../../contrib/jemalloc/include
-I/pics/CrossBuild/src/lib/libc/../../contrib/tzcode/stdtime
-I/pics/CrossBuild/src/lib/libc/stdtime
-I/pics/CrossBuild/src/lib/libc/locale -DBROKEN_DES -DPORTMAP
-DDES_BUILTIN -I/pics/CrossBuild/src/lib/libc/rpc -DYP -DNS_CACHING
-DSYMBOL_VERSIONING -MD  -MF.depend.arm_initfini.So -MTarm_initfini.So
-std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter 
-Qunused-arguments  -I/pics/CrossBuild/src/lib/libutil
-I/pics/CrossBuild/src/lib/msun/arm -I/pics/CrossBuild/src/lib/msun/src
-c /pics/CrossBuild/src/lib/libc/arm/gen/arm_initfini.c -o arm_initfini.So
--- flt_rounds.So ---
/pics/CrossBuild/src/lib/libc/arm/gen/flt_rounds.c:34:10: fatal error:
'softfloat-for-gcc.h' file not found
#include "softfloat-for-gcc.h"
         ^
1 error generated.
*** [flt_rounds.So] Error code 1

bmake[4]: stopped in /pics/CrossBuild/src/lib/libc
1 error


On 5/19/2016 21:16, bob prohaska wrote:
> On my RPI2 the OS build/install cycle stopped at installkernel
> (sorry, not buildworld) reporting an unknown architecture.
>
> Using TARGET_ARCH=armv6 allowed the kernel install to complete,
> with a normal reboot. However, an attempt to update and re-run
> buildworld without options triggered the error
> bmake[1]: "/usr/src/Makefile.inc1" line 242: Unknown target armv6hf:arm.
>
> Invoking buildworld with TARGET_ARCH=armv6 then produces
> bmake[1]: "/usr/src/Makefile.inc1" line 266: To cross-build, set TARGET_ARCH.
>
> World and kernel were thus built with no options but the kernel was installed with
> TARGET_ARCH=armv6, apparently causing an identity crisis 8-)
>
> Uname -a reports
> FreeBSD www.zefox.com 11.0-CURRENT FreeBSD 11.0-CURRENT #100 r300176M: Thu May 19 15:08:18 PDT 2016     root@www.zefox
> .com:/usr/obj/usr/src/sys/RPI2  arm 
>
> What's the best way to repair the damage?
>
> Thanks for reading,
>
> bob prohaska
>
>
>
> On Thu, May 19, 2016 at 04:21:02PM -0700, bob prohaska wrote:
>> On RPI2
>>  
>> make installworld TARGET_ARCH=armv6
>>
>> was sufficient.
>>
>> The only visible glitch on reboot was
>>
>> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 03 c9 6b a8 00 00 28 00 
>> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
>> (da0:umass-sim0:0:0:0): Retrying command
>>
>> but that seems unrelated. Boot was otherwise normal.
>>
>> bob prohaska
>>
>> On Wed, May 18, 2016 at 12:24:21PM -1000, David Cornejo wrote:
>>> I am trying that now, I'll report back when it finishes
>>>
>>> thanks!
>>>
>>> On Wed, May 18, 2016 at 12:12 PM, Warner Losh <imp@bsdimp.com> wrote:
>>>> I believe, but I haven't tested, that all that should be required is
>>>> an installworld / installkernel.
>>>> You'll need to build with TARGET_ARCH=armv6 and may need to say DESTDIR=/ to get
>>>> around the cross-threading safety checks.
>>>>
>>>> Warner
>>>>
>>>> On Wed, May 18, 2016 at 1:40 PM, David Cornejo <dave@dogwood.com> wrote:
>>>>> Hi,
>>>>>
>>>>> What needs to be done to convert an arm6hf system to the new
>>>>> hard-float arm6? can it be done?
>>>>>
>>>>> dave c
>>>>> _______________________________________________
>>>>> freebsd-arm@freebsd.org mailing list
>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
>>> _______________________________________________
>>> freebsd-arm@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
>> _______________________________________________
>> freebsd-arm@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"

-- 
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

[-- Attachment #2 --]
0	*H
010
	`He0	*H
_0[0C)0
	*H
010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA0
150421022159Z
200419022159Z0Z10	UUS10UFlorida10U
Cuda Systems LLC10UKarl Denninger (OCSP)0"0
	*H
0
X@vkY
Tq/vE]5#֯MX\8LJ/V?5Da+
sJc*/r{ȼnS+w")ąZ^DtdCOZ ~7Q '@a#ijc۴oZdB&!Ӝ-<	?HN5y
5}F|ef゘"Vلio74zn">a1qWuɖbFeGE&3(KhixG3!#e_XƬϜ/,$+;4y'Bz<qT9_?rRUpn5
Jn&Rx/p Jyel*pN8/#9u/YPEC)TY>~/˘N[vyiDKˉ,^" ?$T8v&K%z8C @?K{9f`+@,|Mbia007++0)0'+0http://cudasystems.net:88880	U00	`HB0U0,	`HB
OpenSSL Generated Certificate0U-h\Ff Y0U#0$q}ݽʒm50U0karl@denninger.net0
	*H
Owbabɺx&Uk[(Oj!%pMQ0I!#QH}.>~2&D}<wm_>V6v]f>=Nn+8;q wfΰ/RLyUG#b}n!Dր_up|_ǰc/%ۥ
nN8:d;-UJd/m1~VނיnN I˾$tF1&}|?q?\đXԑ&\4V<lKۮ3%Am_(q-(cAeGX)f}-˥6cv~Kg8m~v;|9:-iAPқ6ېn-.)<[$KJtt/L4ᖣ^Cmu4vb{+BG$M0c\[MR|0FԸP&78"4p#}DZ9;V9#>Sw"[UP7100010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0
	`HeM0	*H
	1	*H
0	*H
	1
160520023310Z0O	*H
	1B@(SȆ(}aP(fA*:h79܌AhŶ
0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0*H
	1010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0
	*H
dVc@l4Ru\1XnPG7G@k8fZaǐwF(Gxk7[X^jUqM@vڊ\@ 2F(ҾlRH9-L쎩)A|VǢVHZ=643ryA9"#nB_TW8a<ySblxO਴ݖ֨{z6

˜<[%<k8a9ujvJmBVdDꇘO66jHTJ{03bں;f}UGR;b;dQTsa,Vػ(EܻO)g[qE:(72'o_}Q9WW@s~IDMZ5P?%ޮl!29Y֋3LfQvn)ԋCƓ$:'
=bh|H
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?364fe8cb-0cbd-e0d3-5fa4-c2be9f3a8036>