Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: devel/libffi build fails on macppc-current



On Sun, 18 Oct 2020, John D. Baker wrote:

> On Sun, 18 Oct 2020, Rin Okuyama wrote:
> > happens when you make after ``su -'' to wipe out envs? Or can you
> > ``./configure && gmake'' for libffi manually without pkgsrc?
> 
> Haven't tried that yet.

That configures and starts to build.  One noticable difference is that
the './configure' step outside pkgsrc consistently names the platform
"powerpc-unknown-netbsd9.99" while under pkgsrc it calls it "powerpc--netbsd"
then during the build step gets "powerpc-unknown-netbsd9.99" and fails.

The build ultimately fails with:

[...]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -mcpu=powerpc -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
In file included from ../src/powerpc/ffi.c:33:
../src/powerpc/ffi_powerpc.h:65:9: error: '__int128' is not supported on this target
   65 | typedef __int128 float128;
      |         ^~~~~~~~
gmake[3]: *** [Makefile:1273: src/powerpc/ffi.lo] Error 1
gmake[3]: Leaving directory '/usr/local/src/libffi-3.3/powerpc-unknown-netbsd9.99'
gmake[2]: *** [Makefile:1347: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/local/src/libffi-3.3/powerpc-unknown-netbsd9.99'
gmake[1]: *** [Makefile:622: all] Error 2
gmake[1]: Leaving directory '/usr/local/src/libffi-3.3/powerpc-unknown-netbsd9.99'
gmake: *** [Makefile:592: all-all] Error 2

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index