Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448002 - media-sound/pulseaudio-2.99.3 fails to build on arm without neon support
Summary: media-sound/pulseaudio-2.99.3 fails to build on arm without neon support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Arun Raghavan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-20 20:16 UTC by Markus Meier
Modified: 2012-12-21 16:57 UTC (History)
2 users (show)

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


Attachments
media-sound:pulseaudio-2.99.3:20121220-054437.log (media-sound:pulseaudio-2.99.3:20121220-054437.log,35.84 KB, text/plain)
2012-12-20 20:16 UTC, Markus Meier
Details
pulseaudio-3.0-neon.patch (pulseaudio-3.0-neon.patch,1.14 KB, text/plain)
2012-12-20 20:20 UTC, Markus Meier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier gentoo-dev 2012-12-20 20:16:47 UTC
Created attachment 332828 [details]
media-sound:pulseaudio-2.99.3:20121220-054437.log

media-sound/pulseaudio-2.99.3 fails to build on armv5, which does not have neon support:

  CC     libpulsecore_sconv_neon_la-sconv_neon.lo
  CC     cli.lo
In file included from pulsecore/sconv_neon.c:30:0:
/usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.7.2/include/arm_neon.h:32:2: error: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
make[3]: *** [libpulsecore_sconv_neon_la-sconv_neon.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/media-sound/pulseaudio-2.99.3/work/pulseaudio-2.99.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-sound/pulseaudio-2.99.3/work/pulseaudio-2.99.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/pulseaudio-2.99.3/work/pulseaudio-2.99.3'
make: *** [all] Error 2
 * ERROR: media-sound/pulseaudio-2.99.3 failed (compile phase):
 *   emake failed
 * 

I propose to add USE=neon and conditionally --enable/disable-neon-opt.
Comment 1 Markus Meier gentoo-dev 2012-12-20 20:20:20 UTC
Created attachment 332830 [details]
pulseaudio-3.0-neon.patch
Comment 2 SpanKY gentoo-dev 2012-12-21 03:33:28 UTC
(In reply to comment #1)

pretty obvious change -- just commit it

i'd also point out that "$(use_enable lirc)" is duplicated, so might want to cut one while you're in there
Comment 3 Arun Raghavan (RETIRED) gentoo-dev 2012-12-21 05:36:45 UTC
It should be $(use_enable neon neon-opt), iirc. Also, feel free to fix it (with my thanks)
Comment 4 Markus Meier gentoo-dev 2012-12-21 16:57:07 UTC
(In reply to comment #2)
> (In reply to comment #1)
> i'd also point out that "$(use_enable lirc)" is duplicated, so might want to
> cut one while you're in there

fixed.

(In reply to comment #3)
> It should be $(use_enable neon neon-opt), iirc. Also, feel free to fix it
> (with my thanks)

yup it's neon-opt, thanks for pointing that out.

+  21 Dec 2012; Markus Meier <maekke@gentoo.org> pulseaudio-3.0.ebuild:
+  introduce USE=neon for bug #448002, remove duplicate use_enable lirc
+