[MacPorts] #69385: libpixman @0.42.2 fails to compile on ppc
MacPorts
noreply at macports.org
Fri Feb 23 00:29:29 UTC 2024
#69385: libpixman @0.42.2 fails to compile on ppc
-------------------------+-----------------------
Reporter: rmottola | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: leopard gcc | Port: libpixman
-------------------------+-----------------------
on Leopard PPC, pixman fails to compile:
{{{
FAILED: pixman/libpixman-vmx.a.p/pixman-vmx.c.o
/usr/bin/gcc-4.2 -Ipixman/libpixman-vmx.a.p -Ipixman
-I../pixman-0.42.2/pixman -I/opt/local/include -Wall -Winvalid-pch
-std=gnu99 -O2 -g -Wdeclaration-after-statement -fno-strict-aliasing
-fvisibility=hidden -Wundef -ftrapping-math -DHAVE_CONFIG_H -pipe -Os
-arch ppc -maltivec -mabi=altivec -MD -MQ pixman/libpixman-vmx.a.p/pixman-
vmx.c.o -MF pixman/libpixman-vmx.a.p/pixman-vmx.c.o.d -o pixman/libpixman-
vmx.a.p/pixman-vmx.c.o -c ../pixman-0.42.2/pixman/pixman-vmx.c
../pixman-0.42.2/pixman/pixman-vmx.c: In function
‘fast_composite_scaled_nearest_vmx_8888_8888_cover_OVER’:
../pixman-0.42.2/pixman/pixman-vmx.c:2973: error: expected identifier
before ‘__attribute__’
../pixman-0.42.2/pixman/pixman-vmx.c:2973: error: expected identifier
before ‘__attribute__’
../pixman-0.42.2/pixman/pixman-vmx.c:2973: error: expected identifier
before ‘__attribute__’
../pixman-0.42.2/pixman/pixman-vmx.c:2973: error: expected identifier
before ‘__attribute__’
../pixman-0.42.2/pixman/pixman-vmx.c:2973: error: expected identifier
before ‘__attribute__’
../pixman-0.42.2/pixman/pixman-vmx.c:2973: error: expected identifier
before ‘__attribute__’
../pixman-0.42.2/pixman/pixman-vmx.c:2973: error: expected identifier
before ‘__attribute__’
../pixman-0.42.2/pixman/pixman-vmx.c: In function
‘fast_composite_scaled_nearest_vmx_8888_8888_none_OVER’:
../pixman-0.42.2/pixman/pixman-vmx.c:2976: error: expected identifier
before ‘__attribute__’
../pixman-0.42.2/pixman/pixman-vmx.c:2976: error: expected identifier
before ‘__attribute__’
../pixman-0.42.2/pixman/pixman-vmx.c:2976: error: expected identifier
before ‘__attribute__’
../pixman-0.42.2/pixman/pixman-vmx.c:2976: error: expected identifier
before ‘__attribute__’
../pixman-0.42.2/pixman/pixman-vmx.c:2976: error: expected identifier
before ‘__attribute__’
../pixman-0.42.2/pixman/pixman-vmx.c:2976: error: expected identifier
before ‘__attribute__’
../pixman-0.42.2/pixman/pixman-vmx.c:2976: error: expected identifier
before ‘__attribute__’
}}}
I was unable to test gcc 4.8:
{{{
meson.build:21:0: ERROR: Unable to detect linker for compiler
`/opt/local/bin/gcc-mp-4.8 -Wl,--version -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch ppc -pipe -Os -arch ppc
-I/opt/local/include`
stdout:
stderr: gcc-mp-4.8: error: unrecognized command line option '-arch'
gcc-mp-4.8: error: unrecognized command line option '-arch'
}}}
GCC 7.. fails with nm issues, so futher work needed to confirm it works
--
Ticket URL: <https://trac.macports.org/ticket/69385>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list