Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2020 02:39:33 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Piotr Kubaj <pkubaj@anongoth.pl>
Cc:        FreeBSD ports <freebsd-ports@freebsd.org>, zeising@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:  <1AE03E27-4079-462C-9393-1C85531D6D59@yahoo.com>
In-Reply-To: <20200721084556.GD1968@KGPE-D16>
References:  <78D67C3E-BDCE-4CF6-8C6F-55A00EFA1C59.ref@yahoo.com> <78D67C3E-BDCE-4CF6-8C6F-55A00EFA1C59@yahoo.com> <20200720231315.GB1968@KGPE-D16> <6D95E526-A71D-4176-8524-00010E855883@yahoo.com> <20200721084556.GD1968@KGPE-D16>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-Jul-21, at 01:45, Piotr Kubaj <pkubaj@anongoth.pl> wrote:

> Please try after r542724.

For 32-bit powerpc: devel/libffi built. Some dependent ports have built. =
(More are building.)

It will be a while before I try powerpc64: There are 130+ 32-bit ports =
still to build. It  takes
a while.

> On 20-07-20 16:33:27, Mark Millard wrote:
>>=20
>>=20
>> 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
>>=20
>> 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.
>>=20
>> I'll note that, depending on where/how float128 is
>> used,
>>=20
>> typedef char float128[16] __attribute__((aligned(16)));
>>=20
>> use as float128 might decay to a pointer in some contexts,
>> unlike what __float128 or __int128 would have done.
>>=20
>>=20
>>> 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"
>>>> . . .
>=20

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net <http://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?1AE03E27-4079-462C-9393-1C85531D6D59>