Opened 13 years ago

Closed 11 years ago

#33956 closed defect (fixed)

libvpx XCode + 3.2.6 + ppc build fails

Reported by: james.goppert@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: libvpx

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Configure for ppc fails due to Unknown option "--host=powerpc-apple-darwin10.8.0". During universal build (ppc x86 x86_64). Building on snow leopard.

:debug:configure Environment: CPATH='/opt/local/include' LD='/usr/bin/gcc-4.2' CFLAGS='-pipe -O2 -arch ppc' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch ppc' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_libvpx/libvpx/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2' LDFLAGS='-L/opt/local/lib -arch ppc' FCFLAGS='-pipe -O2' OBJC='/usr/bin/gcc-4.2' GI_SCANNER_DISABLE_CACHE='1' INSTALL='/usr/bin/install -c' NM='/usr/bin/nm' OBJCFLAGS='-pipe -O2 -arch ppc' FFLAGS='-pipe -O2' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_libvpx/libvpx/work/libvpx-v1.0.0-ppc" && ./configure --prefix=/opt/local --enable-vp8 --enable-internal-stats --enable-pic --enable-postproc --enable-multithread --enable-runtime-cpu-detect --disable-install-docs --disable-debug-libs --disable-examples --host=powerpc-apple-darwin10.8.0 --target=ppc32-darwin10-gcc'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_libvpx/libvpx/work/libvpx-v1.0.0-ppc" && ./configure --prefix=/opt/local --enable-vp8 --enable-internal-stats --enable-pic --enable-postproc --enable-multithread --enable-runtime-cpu-detect --disable-install-docs --disable-debug-libs --disable-examples --host=powerpc-apple-darwin10.8.0 --target=ppc32-darwin10-gcc 
:info:configure Unknown option "--host=powerpc-apple-darwin10.8.0".

Change History (7)

comment:1 Changed 13 years ago by james.goppert@…

After changeset:91751, new error is:

:info:configure Unrecognized toolchain 'ppc32-darwin10-gcc'

comment:2 in reply to:  1 ; Changed 13 years ago by james.goppert@…

Replying to james.goppert@…:

After changeset:91751, new error is:

:info:configure Unrecognized toolchain 'ppc32-darwin10-gcc'

./configure -h reveals possible targets as: ppc32-darwin9-gcc, x86-darwin10-gcc, x86_64-darwin10-gcc etc.

comment:3 in reply to:  2 Changed 13 years ago by james.goppert@…

Replying to james.goppert@…:

Replying to james.goppert@…:

After changeset:91751, new error is:

:info:configure Unrecognized toolchain 'ppc32-darwin10-gcc'

./configure -h reveals possible targets as: ppc32-darwin9-gcc, x86-darwin10-gcc, x86_64-darwin10-gcc etc.

An ugly fix but changing the line

  set merger_configure_args(${my_arch}) --target=$my_targets(${my_arch})-${os.patform}${os.major}-gcc 

to

  set merger_configure_args(${my_arch}) --target=$my_targets(${my_arch})-${os.patform}9-gcc 

works for me.

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: libvpx added

Please remember to use WikiFormatting.

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… added

Did r91751 help?

comment:6 in reply to:  5 Changed 13 years ago by james.goppert@…

Replying to ryandesign@…:

Did r91751 help?

It did help, but did not fix it. libvpx doesn't support darwin10 builds on ppc, only darwin9.

comment:7 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.