Re: [MacPorts] #71740: webp @1.5.0 gets built on PPC Leopard, Mac OS X 10.5.6, with SSE2 support – which is odd

MacPorts noreply at macports.org
Sat Jan 4 20:05:08 UTC 2025


#71740: webp @1.5.0 gets built on PPC Leopard, Mac OS X 10.5.6, with SSE2 support –
which is odd
------------------------+-------------------------
  Reporter:  ballapete  |      Owner:  ryandesign
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.10.5
Resolution:             |   Keywords:  leopard ppc
      Port:  webp       |
------------------------+-------------------------
Changes (by ryandesign):

 * owner:  (none) => ryandesign
 * cc: ryandesign@… (removed)
 * status:  new => assigned


Old description:

> (((
> checking whether /usr/bin/gcc-4.2 -std=gnu99 supports -Wvla... no
> checking whether /usr/bin/gcc-4.2 -std=gnu99 supports -msse4.1... no
> checking for smmintrin.h... no
> checking whether /usr/bin/gcc-4.2 -std=gnu99 supports -msse2... yes
> checking for emmintrin.h... no
> checking for __builtin_bswap16... no
> checking for __builtin_bswap32... yes
> checking for __builtin_bswap64... yes
> configure: checking for threading support...
> }}}
>
> and `port` performs things like these:
>
> {{{
> /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2 -std=gnu99
> -DHAVE_CONFIG_H -I. -I../src/webp  -DNDEBUG -I.. -I.. -I../src -I../src
> -I/opt/local/include -fvisibility=hidden -Wall -Wdeclaration-after-
> statement -Wextra -Wformat -Wformat-nonliteral -Wformat -Wformat-security
> -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition
> -Wshadow -Wshorten-64-to-32 -Wstrict-prototypes -Wundef -Wunreachable-
> code -Wunused -Wno-deprecated-declarations  -pipe -Os -arch ppc
> -D_THREAD_SAFE -pthread -MT libsharpyuv_sse2_la-sharpyuv_sse2.lo -MD -MP
> -MF .deps/libsharpyuv_sse2_la-sharpyuv_sse2.Tpo -c -o
> libsharpyuv_sse2_la-sharpyuv_sse2.lo `test -f 'sharpyuv_sse2.c' || echo
> './'`sharpyuv_sse2.c
> libtool: compile:  /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.
> -I../src/webp -DNDEBUG -I.. -I.. -I../src -I../src -I/opt/local/include
> -fvisibility=hidden -Wall -Wdeclaration-after-statement -Wextra -Wformat
> -Wformat-nonliteral -Wformat -Wformat-security -Wmissing-declarations
> -Wmissing-prototypes -Wold-style-definition -Wshadow -Wshorten-64-to-32
> -Wstrict-prototypes -Wundef -Wunreachable-code -Wunused -Wno-deprecated-
> declarations -pipe -Os -arch ppc -D_THREAD_SAFE -pthread -MT
> libsharpyuv_sse2_la-sharpyuv_sse2.lo -MD -MP -MF .deps
> /libsharpyuv_sse2_la-sharpyuv_sse2.Tpo -c sharpyuv_sse2.c  -fno-common
> -DPIC -o .libs/libsharpyuv_sse2_la-sharpyuv_sse2.o
> libtool: compile:  /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.
> -I../src/webp -DNDEBUG -I.. -I.. -I../src -I../src -I/opt/local/include
> -fvisibility=hidden -Wall -Wdeclaration-after-statement -Wextra -Wformat
> -Wformat-nonliteral -Wformat -Wformat-security -Wmissing-declarations
> -Wmissing-prototypes -Wold-style-definition -Wshadow -Wshorten-64-to-32
> -Wstrict-prototypes -Wundef -Wunreachable-code -Wunused -Wno-deprecated-
> declarations -pipe -Os -arch ppc -D_THREAD_SAFE -pthread -MT
> libsharpyuv_sse2_la-sharpyuv_sse2.lo -MD -MP -MF .deps
> /libsharpyuv_sse2_la-sharpyuv_sse2.Tpo -c sharpyuv_sse2.c -o
> libsharpyuv_sse2_la-sharpyuv_sse2.o >/dev/null 2>&1
> mv -f .deps/libsharpyuv_sse2_la-sharpyuv_sse2.Tpo .deps
> /libsharpyuv_sse2_la-sharpyuv_sse2.Plo
> /bin/sh ../libtool  --tag=CC   --mode=link /usr/bin/gcc-4.2 -std=gnu99
> -fvisibility=hidden -Wall -Wdeclaration-after-statement -Wextra -Wformat
> -Wformat-nonliteral -Wformat -Wformat-security -Wmissing-declarations
> -Wmissing-prototypes -Wold-style-definition -Wshadow -Wshorten-64-to-32
> -Wstrict-prototypes -Wundef -Wunreachable-code -Wunused -Wno-deprecated-
> declarations  -pipe -Os -arch ppc -D_THREAD_SAFE -pthread
> -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o
> libsharpyuv_sse2.la  libsharpyuv_sse2_la-sharpyuv_sse2.lo
> libtool: link: ar cr .libs/libsharpyuv_sse2.a .libs/libsharpyuv_sse2_la-
> sharpyuv_sse2.o
> libtool: link: ranlib .libs/libsharpyuv_sse2.a
> libtool: link: ( cd ".libs" && rm -f "libsharpyuv_sse2.la" && ln -s
> "../libsharpyuv_sse2.la" "libsharpyuv_sse2.la" )
> }}}
>
> `configure` offers
> {{{
>   --disable-sse4.1        Disable detection of SSE4.1 support
> [default=auto]
>   --disable-sse2          Disable detection of SSE2 support
> [default=auto]
> }}}

New description:

 {{{
 checking whether /usr/bin/gcc-4.2 -std=gnu99 supports -Wvla... no
 checking whether /usr/bin/gcc-4.2 -std=gnu99 supports -msse4.1... no
 checking for smmintrin.h... no
 checking whether /usr/bin/gcc-4.2 -std=gnu99 supports -msse2... yes
 checking for emmintrin.h... no
 checking for __builtin_bswap16... no
 checking for __builtin_bswap32... yes
 checking for __builtin_bswap64... yes
 configure: checking for threading support...
 }}}

 and `port` performs things like these:

 {{{
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2 -std=gnu99
 -DHAVE_CONFIG_H -I. -I../src/webp  -DNDEBUG -I.. -I.. -I../src -I../src
 -I/opt/local/include -fvisibility=hidden -Wall -Wdeclaration-after-
 statement -Wextra -Wformat -Wformat-nonliteral -Wformat -Wformat-security
 -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition
 -Wshadow -Wshorten-64-to-32 -Wstrict-prototypes -Wundef -Wunreachable-code
 -Wunused -Wno-deprecated-declarations  -pipe -Os -arch ppc -D_THREAD_SAFE
 -pthread -MT libsharpyuv_sse2_la-sharpyuv_sse2.lo -MD -MP -MF .deps
 /libsharpyuv_sse2_la-sharpyuv_sse2.Tpo -c -o libsharpyuv_sse2_la-
 sharpyuv_sse2.lo `test -f 'sharpyuv_sse2.c' || echo './'`sharpyuv_sse2.c
 libtool: compile:  /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.
 -I../src/webp -DNDEBUG -I.. -I.. -I../src -I../src -I/opt/local/include
 -fvisibility=hidden -Wall -Wdeclaration-after-statement -Wextra -Wformat
 -Wformat-nonliteral -Wformat -Wformat-security -Wmissing-declarations
 -Wmissing-prototypes -Wold-style-definition -Wshadow -Wshorten-64-to-32
 -Wstrict-prototypes -Wundef -Wunreachable-code -Wunused -Wno-deprecated-
 declarations -pipe -Os -arch ppc -D_THREAD_SAFE -pthread -MT
 libsharpyuv_sse2_la-sharpyuv_sse2.lo -MD -MP -MF .deps
 /libsharpyuv_sse2_la-sharpyuv_sse2.Tpo -c sharpyuv_sse2.c  -fno-common
 -DPIC -o .libs/libsharpyuv_sse2_la-sharpyuv_sse2.o
 libtool: compile:  /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.
 -I../src/webp -DNDEBUG -I.. -I.. -I../src -I../src -I/opt/local/include
 -fvisibility=hidden -Wall -Wdeclaration-after-statement -Wextra -Wformat
 -Wformat-nonliteral -Wformat -Wformat-security -Wmissing-declarations
 -Wmissing-prototypes -Wold-style-definition -Wshadow -Wshorten-64-to-32
 -Wstrict-prototypes -Wundef -Wunreachable-code -Wunused -Wno-deprecated-
 declarations -pipe -Os -arch ppc -D_THREAD_SAFE -pthread -MT
 libsharpyuv_sse2_la-sharpyuv_sse2.lo -MD -MP -MF .deps
 /libsharpyuv_sse2_la-sharpyuv_sse2.Tpo -c sharpyuv_sse2.c -o
 libsharpyuv_sse2_la-sharpyuv_sse2.o >/dev/null 2>&1
 mv -f .deps/libsharpyuv_sse2_la-sharpyuv_sse2.Tpo .deps
 /libsharpyuv_sse2_la-sharpyuv_sse2.Plo
 /bin/sh ../libtool  --tag=CC   --mode=link /usr/bin/gcc-4.2 -std=gnu99
 -fvisibility=hidden -Wall -Wdeclaration-after-statement -Wextra -Wformat
 -Wformat-nonliteral -Wformat -Wformat-security -Wmissing-declarations
 -Wmissing-prototypes -Wold-style-definition -Wshadow -Wshorten-64-to-32
 -Wstrict-prototypes -Wundef -Wunreachable-code -Wunused -Wno-deprecated-
 declarations  -pipe -Os -arch ppc -D_THREAD_SAFE -pthread
 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o
 libsharpyuv_sse2.la  libsharpyuv_sse2_la-sharpyuv_sse2.lo
 libtool: link: ar cr .libs/libsharpyuv_sse2.a .libs/libsharpyuv_sse2_la-
 sharpyuv_sse2.o
 libtool: link: ranlib .libs/libsharpyuv_sse2.a
 libtool: link: ( cd ".libs" && rm -f "libsharpyuv_sse2.la" && ln -s
 "../libsharpyuv_sse2.la" "libsharpyuv_sse2.la" )
 }}}

 `configure` offers
 {{{
   --disable-sse4.1        Disable detection of SSE4.1 support
 [default=auto]
   --disable-sse2          Disable detection of SSE2 support [default=auto]
 }}}

--

Comment:

 We're not doing anything strange in the Portfile to cause this, so if you
 think it's doing the wrong thing for your hardware, please report the
 problem to the developers and let us know the URL.

-- 
Ticket URL: <https://trac.macports.org/ticket/71740#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list