[MacPorts] #59866: libde265 @1.0.3 does not build on PPC Tiger because 'memalign' was not declared in this scope
MacPorts
noreply at macports.org
Fri Dec 20 16:57:21 UTC 2019
#59866: libde265 @1.0.3 does not build on PPC Tiger because 'memalign' was not
declared in this scope
-----------------------+----------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: tiger | Port: libde265
-----------------------+----------------------
{{{
/bin/sh ../libtool --tag=CXX --mode=compile /opt/local/bin/g++-mp-7
-DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -DLIBDE265_EXPORTS -pipe
-Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -Werror=return-ty\
pe -Werror=unused-result -Werror=reorder -DDE265_LOG_ERROR -MT
libde265_la-image.lo -MD -MP -MF .deps/libde265_la-image.Tpo -c -o
libde265_la-image.lo `test -f 'image.cc' || echo './'`image.cc
libtool: compile: /opt/local/bin/g++-mp-7 -DHAVE_CONFIG_H -I. -I..
-I/opt/local/include -DLIBDE265_EXPORTS -pipe -Os
-D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -Werror=return-type -Werror=unused-
result -Werror\
=reorder -DDE265_LOG_ERROR -MT libde265_la-image.lo -MD -MP -MF .deps
/libde265_la-image.Tpo -c image.cc -fno-common -DPIC -o .libs
/libde265_la-image.o
image.cc: In function 'void* de265_alloc_image_plane(de265_image*, int,
void*, int, void*)':
image.cc:60:45: error: 'memalign' was not declared in this scope
#define ALLOC_ALIGNED(alignment, size) memalign((alignment), (size))
^
image.cc:64:45: note: in expansion of macro 'ALLOC_ALIGNED'
#define ALLOC_ALIGNED_16(size) ALLOC_ALIGNED(16, size)
^~~~~~~~~~~~~
image.cc:75:27: note: in expansion of macro 'ALLOC_ALIGNED_16'
uint8_t* p = (uint8_t *)ALLOC_ALIGNED_16(stride * height +
MEMORY_PADDING);
^~~~~~~~~~~~~~~~
image.cc: In function 'int de265_image_get_buffer(de265_decoder_context*,
de265_image_spec*, de265_image*, void*)':
image.cc:60:45: error: 'memalign' was not declared in this scope
#define ALLOC_ALIGNED(alignment, size) memalign((alignment), (size))
^
image.cc:64:45: note: in expansion of macro 'ALLOC_ALIGNED'
#define ALLOC_ALIGNED_16(size) ALLOC_ALIGNED(16, size)
^~~~~~~~~~~~~
image.cc:127:21: note: in expansion of macro 'ALLOC_ALIGNED_16'
p[0] = (uint8_t *)ALLOC_ALIGNED_16(luma_height * luma_bpl +
MEMORY_PADDING);
^~~~~~~~~~~~~~~~
make[3]: *** [libde265_la-image.lo] Error 1
make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_multimedia_libde265/libde265/work/libde265-1.0.3/libde265'
}}}
Which port needs `libde265`?
--
Ticket URL: <https://trac.macports.org/ticket/59866>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list