Date: Mon, 20 Jul 2020 16:33:27 -0700 From: Mark Millard <marklmi@yahoo.com> To: Piotr Kubaj <pkubaj@anongoth.pl> Cc: FreeBSD ports <freebsd-ports@freebsd.org> Subject: Re: devel/libffi build broken for head -r363123 32-bit powerpc contexts (poudriere bulk): error: __int128 is not supported on this target Message-ID: <6D95E526-A71D-4176-8524-00010E855883@yahoo.com> In-Reply-To: <20200720231315.GB1968@KGPE-D16> References: <78D67C3E-BDCE-4CF6-8C6F-55A00EFA1C59.ref@yahoo.com> <78D67C3E-BDCE-4CF6-8C6F-55A00EFA1C59@yahoo.com> <20200720231315.GB1968@KGPE-D16>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-Jul-20, at 16:13, Piotr Kubaj <pkubaj at anongoth.pl> wrote: >=20 > Thanks for your report. I'm currently testing whether powerpc(64) on > 12.1 and head can build with this patch > = https://github.com/libffi/libffi/commit/01a75ed76ea7e57f1b7a5c183e2b1e890e= 6aa0fd.patch FYI: I did the powerpc64 bulk build first and it had no problems. As far as libffi goes, __int128 exists for powerpc64. I'm not implying that __int128 should be used for powerpc64. I'll note that, depending on where/how float128 is used, typedef char float128[16] __attribute__((aligned(16))); use as float128 might decay to a pointer in some contexts, unlike what __float128 or __int128 would have done. > On 20-07-20 15:27:01, Mark Millard wrote: >> This resulted in: Failed: 1 Skipped: 181 >>=20 >> # poudriere jail -l >> JAILNAME VERSION ARCH METHOD TIMESTAMP = PATH >> FBSDpowerpc 13.0-CURRENT powerpc null 2019-12-31 = 01:21:28 /usr/obj/DESTDIRs/clang-powerpc-installworld-poud >> FBSDpowerpc64 13.0-CURRENT powerpc.powerpc64 null 2020-01-01 = 15:22:36 /usr/obj/DESTDIRs/clang-powerpc64-installworld-poud >>=20 >> # svnlite info /usr/ports/ >> Path: /usr/ports >> Working Copy Root Path: /usr/ports >> URL: svn://svn.freebsd.org/ports/head >> Relative URL: ^/head >> Repository Root: svn://svn.freebsd.org/ports >> Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 >> Revision: 542111 >> Node Kind: directory >> Schedule: normal >> Last Changed Author: vanilla >> Last Changed Rev: 542111 >> Last Changed Date: 2020-07-12 21:32:18 -0700 (Sun, 12 Jul 2020) >>=20 >> That gets the errors: >>=20 >> --- src/powerpc/ffi.lo --- >> libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include = -Iinclude -I../src -O2 -pipe -g -fstack-protector-strong = -fno-strict-aliasing -Wall -fexceptions -MT src/powerpc/ffi.lo -MD -MP = -MF src/powerpc/.deps/ffi.Tpo -c ../src/powerpc/ffi.c -fPIC -DPIC -o = src/powerpc/.libs/ffi.o >> --- src/powerpc/ffi_sysv.lo --- >> libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include = -Iinclude -I../src -O2 -pipe -g -fstack-protector-strong = -fno-strict-aliasing -Wall -fexceptions -MT src/powerpc/ffi_sysv.lo -MD = -MP -MF src/powerpc/.deps/ffi_sysv.Tpo -c ../src/powerpc/ffi_sysv.c = -fPIC -DPIC -o src/powerpc/.libs/ffi_sysv.o >> --- src/powerpc/ffi.lo --- >> In file included from ../src/powerpc/ffi.c:33: >> ../src/powerpc/ffi_powerpc.h:65:9: error: __int128 is not supported = on this target >> typedef __int128 float128; >> ^ >> 1 error generated. >> --- src/powerpc/ffi_sysv.lo --- >> In file included from ../src/powerpc/ffi_sysv.c:35: >> ../src/powerpc/ffi_powerpc.h:65:9: error: __int128 is not supported = on this target >> typedef __int128 float128; >> ^ >> 1 error generated. >> --- src/powerpc/sysv.lo --- >>=20 >> For reference: >>=20 >> =3D>> Building devel/libffi >> build started at Mon Jul 20 14:47:19 PDT 2020 >> port directory: /usr/ports/devel/libffi >> package name: libffi-3.3 >> building for: FreeBSD FBSDG5L 13.0-CURRENT FreeBSD 13.0-CURRENT = powerpc >> maintained by: zeising@FreeBSD.org >> Makefile ident: $FreeBSD: head/devel/libffi/Makefile 541239 = 2020-07-04 22:15:48Z pkubaj $ >> Poudriere version: 3.3.99.20200326 >> Host OSVERSION: 1300101 >> Jail OSVERSION: 1300101 >> . . . >> #### /usr/ports/Mk/Scripts/ports_env.sh #### >> _CCVERSION_921dbbb2=3DFreeBSD clang version 10.0.1 = (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-rc2-0-g77d76b71d7d) = Target: powerpc-unknown-freebsd13.0 Thread model: posix InstalledDir: = /usr/bin >> _ALTCCVERSION_921dbbb2=3Dnone >> _CXXINTERNAL_acaad9ca=3DFreeBSD clang version 10.0.1 = (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-rc2-0-g77d76b71d7d) = Target: powerpc-unknown-freebsd13.0 Thread model: posix InstalledDir: = /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" = "/libexec/ld-elf.so.1" "--enable-new-dtags" "-m" "elf32ppc_fbsd" "-o" = "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" = "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" = "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" = "/usr/lib/crtend.o" "/usr/lib/crtn.o" >> . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6D95E526-A71D-4176-8524-00010E855883>