Date: Thu, 31 Oct 2019 08:43:02 +0900 (JST) From: Mori Hiroki <yamori813@yahoo.co.jp> To: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: arm1136 support on CURRENT Message-ID: <71150875.1218169.1572478982147.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <494125213.44147.1572427151682.JavaMail.yahoo@mail.yahoo.co.jp> References: <256784304.3333098.1570612921981.JavaMail.yahoo.ref@jws701102.mail.ssk.yahoo.co.jp> <256784304.3333098.1570612921981.JavaMail.yahoo@jws701102.mail.ssk.yahoo.co.jp> <4f2516e031ce09d161afc63986b54237b5f6d3a6.camel@freebsd.org> <2092111865.1312240.1572341639200.JavaMail.yahoo@mail.yahoo.co.jp> <494125213.44147.1572427151682.JavaMail.yahoo@mail.yahoo.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi This is fix. diff --git a/lib/libc/arm/aeabi/aeabi_vfp.h b/lib/libc/arm/aeabi/aeabi_vfp.= h index 927652f193c..a7b6b7b5461 100644 --- a/lib/libc/arm/aeabi/aeabi_vfp.h +++ b/lib/libc/arm/aeabi/aeabi_vfp.h @@ -67,7 +67,7 @@ =C2=A0 * C Helper macros =C2=A0 */ =C2=A0 -#if __ARM_ARCH >=3D 6 +#if __ARM_ARCH >=3D 6 && !defined(SOFTFLOAT_FOR_GCC) =C2=A0/* =C2=A0 * Generate a function that will either call into the VFP implementat= ion, =C2=A0 * or the soft float version for a given __aeabi_* helper. The functi= on Now build is complete but I have still problem. ----- Original Message ----- > From: Mori Hiroki <yamori813@yahoo.co.jp> > To: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> > Cc:=20 > Date: 2019/10/30, Wed 18:19 > Subject: Re: arm1136 support on CURRENT >=20 > Hi >=20 > This is error message. >=20 > Why use VFP by armv6-soft ? >=20 > cc -target armv6-gnueabi-freebsd13.0 --sysroot=3D/usr/home/hiroki/zobj/us= r/home/hi >=20 > roki/ZRouter/tmp/usr/home/hiroki/freebsd/arm.armv6/tmp -B/usr/home/hiroki= /zobj/u > sr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd/arm.armv6/tmp/usr/bin = -O2 -pi > pe -mfloat-abi=3Dsoftfp -mfloat-abi=3Dsoftfp -DNDEBUG -g -std=3Dgnu99 -Wn= o-format-zero > -length -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -= Wstrict > -prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qua= l -Wwri > te-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subsc= ripts - > Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-po= inter-s > ign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-= string- > plus-int -Wno-unused-const-variable -Qunused-arguments=C2=A0=C2=A0=C2=A0 = -o cat.full cat.o=C2=A0=20 > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_dcmpun_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_dmul_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_dcmplt_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_f2iz_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_dcmpge_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_fdiv_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_i2d_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_fcmpun_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_i2f_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_fcmple_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_fcmpgt_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_fmul_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_fsub_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_dcmple_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_dcmpeq_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_dadd_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_f2d_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_dcmpgt_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_fadd_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_fcmpeq_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_d2iz_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_dsub_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_fcmplt_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_ddiv_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_d2f_vfp' > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /arm.ar > mv6/tmp/lib/libc.so.7: undefined reference to `__aeabi_fcmpge_vfp' > cc: error: linker command failed with exit code 1 (use -v to see invocati= on) > *** Error code 1 >=20 >=20 > ----- Original Message ----- >> From: Mori Hiroki <yamori813@yahoo.co.jp> >> To: Ian Lepore <ian@freebsd.org>; "freebsd-arm@freebsd.org"=20 > <freebsd-arm@freebsd.org> >> Cc:=20 >> Date: 2019/10/29, Tue 18:33 >> Subject: Re: arm1136 support on CURRENT >>=20 >> Hi >>=20 >> I seem this is VFP issue. >>=20 >> Comcerto 1000 is arm1136J-S. It's don't have VFP. >>=20 >>=20 >> I don't set VFP option in kernel build. Then kernel is work fine. >>=20 >> But user land use VFP. >>=20 >> I try to CPUTYPE=3Darmv6-soft, then build is fail. >>=20 >> I want build arm1136J-S user land same as armv5t. >>=20 >> Thanks >>=20 >> Hiroki Mori >>=20 >>=20 >> ----- Original Message ----- >>> =C2=A0 From: Ian Lepore <ian@freebsd.org> >>> =C2=A0 To: Mori Hiroki <yamori813@yahoo.co.jp>;=20 >> "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> >>> =C2=A0 Cc:=20 >>> =C2=A0 Date: 2019/10/9, Wed 23:43 >>> =C2=A0 Subject: Re: arm1136 support on CURRENT >>>=20 >>> =C2=A0 On Wed, 2019-10-09 at 18:22 +0900, Mori Hiroki wrote: >>>> =C2=A0 Hi >>>>=20 >>>> =C2=A0 I try to Mindspeed Comcerto 1000 on CURRENT. >>>>=20 >>>> =C2=A0 Comcerto 1000 is arm1136. >>>>=20 >>>> =C2=A0 I write timer and pic code in kernel. >>>>=20 >>>> =C2=A0 http://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D5136=20 >>>>=20 >>>>=20 >>>> =C2=A0 Now single user sh is crash. >>>>=20 >>>> =C2=A0 arm.armv6 clang default is 1176. But I want >>>> =C2=A0 comple on 1136. >>>>=20 >>>> =C2=A0 How to comple on 1136 on arm.armv6 ? >>>>=20 >>>> =C2=A0 Regards >>>>=20 >>>>=20 >>>=20 >>> =C2=A0 I don't speak officially for the freebsd project when saying thi= s,=20 > but >>> =C2=A0 I don't believe we will ever support compiling for the 1136 or a= ny >>> =C2=A0 other armv6 platform besides the original RPi.=C2=A0 There have = been >>> =C2=A0 increasing calls for dropping current support for armv6 and the = 1176 >>> =C2=A0 chip completely.=C2=A0 (Full disclosure: I am one of the people = constantly >>> =C2=A0 pushing to drop armv6 support.) >>>=20 >>> =C2=A0 As a practical matter:=C2=A0 Already, nobody is willing to work = on >>> =C2=A0 continuing support for armv6 and the 1176 chip, so it's almost= =20 > certain >>> =C2=A0 that nobody is going to put any effort into supporting different= v6 >>> =C2=A0 chips. >>>=20 >>> =C2=A0 -- Ian >>>=20 >>=20 >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm=20 >> To unsubscribe, send any mail to=20 > "freebsd-arm-unsubscribe@freebsd.org" >>=20 >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm=20 > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?71150875.1218169.1572478982147.JavaMail.yahoo>