Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295075 - media-sound/mpg123 breaks with multilib
Summary: media-sound/mpg123 breaks with multilib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 313729 317069 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-29 18:01 UTC by ferret
Modified: 2010-04-25 13:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mpg123-1.9.0.ebuild (mpg123-1.9.0.ebuild,1.75 KB, text/plain)
2009-11-29 18:01 UTC, ferret
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ferret 2009-11-29 18:01:24 UTC
mpg123 ebuild has 'use amd64' and 'use x86' to decide how to build things.  On multilib / xcompiling configurations, this is not sufficient.

For example, use amd64 could be true, but ABI could be set to x86.  In this case, the mpg123 ebuild tries to compile x86_64 targeted asm for x86 processor, which crashes mid-compile when it tries to use non-existant registers

Changing use x86 to [[ $ABI = x86 ]] should solve it.  Fixed ebuild attached.
Comment 1 ferret 2009-11-29 18:01:55 UTC
Created attachment 211529 [details]
mpg123-1.9.0.ebuild
Comment 2 Wormo (RETIRED) gentoo-dev 2009-11-30 01:22:10 UTC
Thanks for submitting your ebuild update, assigning to maintainers.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-12-01 18:20:57 UTC
+*mpg123-1.9.2 (01 Dec 2009)
+
+  01 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> +mpg123-1.9.2.ebuild,
+  +files/mpg123-1.9.2-libtool.patch:
+  Version bump wrt #294106, thanks to Shark <shark at bitchx.it> for
+  reporting. Fix ABI handling wrt #295075, thanks to Ferret <ferret at
+  explodingferret.com> for reporting.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-04-25 13:33:17 UTC
*** Bug 317069 has been marked as a duplicate of this bug. ***
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-04-25 13:33:23 UTC
*** Bug 313729 has been marked as a duplicate of this bug. ***
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-04-25 13:35:24 UTC
media-sound/mpg123-1.12.1 is using now,

	if [[ $(tc-arch) == amd64 ]]; then
		use sse && _cpu=x86-64
	else
		use mmx && _cpu=mmx
		use 3dnow && _cpu=3dnow
		use sse && _cpu=x86
		use 3dnowext && _cpu=x86
	fi