Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 501010

Summary: media-libs/libvpx on sparc64 - configure: Unrecognized toolchain 'sparc-linux-gcc'
Product: Gentoo Linux Reporter: Dustin <dustin.glidden>
Component: [OLD] LibraryAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: chromium, dustin.glidden, jer, sparc
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: Sparc64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 501854    

Description Dustin 2014-02-11 19:32:43 UTC
libvpx-1.1.0 and higher fail to compile on sparc64 with an error of "Unrecognized toolchain 'sparc-linux-gcc'".  the following patch to configure fixes the issue:

+++ configure   2014-02-11 18:07:57.144465654 -0500
@@ -104,6 +104,7 @@
 all_platforms="${all_platforms} ppc64-darwin9-gcc"
 all_platforms="${all_platforms} ppc64-linux-gcc"
 all_platforms="${all_platforms} sparc-solaris-gcc"
+all_platforms="${all_platforms} sparc-linux-gcc"
 all_platforms="${all_platforms} x86-darwin8-gcc"
 all_platforms="${all_platforms} x86-darwin8-icc"
 all_platforms="${all_platforms} x86-darwin9-gcc"

Reproducible: Always

Steps to Reproduce:
1.emerge libvpx on sparc64
2.
3.
Actual Results:  
libvpx fails to compile.

Expected Results:  
libvpx compiles and installs successfully.
Comment 1 Mike Gilbert gentoo-dev 2014-03-12 02:19:31 UTC
Can we get a developer on sparc to confirm this issue and the patch please?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-05 00:49:56 UTC
HPPA certainly didn't need this and is not in that list (and has many more problems with toolchain definitions than SPARC) so something else is causing the error. Build log?
Comment 3 Pacho Ramos gentoo-dev 2014-04-05 11:09:18 UTC
+  05 Apr 2014; Pacho Ramos <pacho@gentoo.org>
+  +files/libvpx-1.3.0-sparc-configure.patch, libvpx-1.3.0.ebuild:
+  Fix build on sparc (#501010 by Dustin, thanks to Ago for testing and his
+  acknowledge)
+