Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546074 - media-sound/jack-audio-connection-kit-0.124.1 should never pass --enable-sse to configure
Summary: media-sound/jack-audio-connection-kit-0.124.1 should never pass --enable-sse ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-09 16:11 UTC by Karl Lindén
Modified: 2015-06-08 09:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Lindén 2015-04-09 16:11:17 UTC
According to [1] ebuilds should not have use flags for build system options that do not pull in conditional assembly code. The --enable-sse option to configure only adds "-msse -mfpmath=sse" to CFLAGS. Take a look at configure.ac (search for sse) to verify this. Thus $(use_enable cpu_flags_x86_sse sse) should be replaced with --disable-sse.

[1] https://wiki.gentoo.org/wiki/CPU_FLAGS_X86_conversion (point 6)

Reproducible: Always
Comment 1 Alexis Ballier gentoo-dev 2015-06-08 09:45:44 UTC
well, -mfpmath=sse must not be used at global scope since it breaks standards; however, some packages do not rely on standard-compliant floating point computations and can add this; but this obviously adds sse instructions so they should add this only with sse (or its use-expanded equivalent) useflag enabled

this is clearly something that should be fixed in the documentation