Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549910 - media-sound/pulseaudio-5.0-r7 with USE=neon - configure fails if -mfpu is in CLFAGS
Summary: media-sound/pulseaudio-5.0-r7 with USE=neon - configure fails if -mfpu is in ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://lists.freedesktop.org/archives...
Whiteboard:
Keywords:
: 700740 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-05-19 17:29 UTC by Alexander Tsoy
Modified: 2021-11-07 02:08 UTC (History)
7 users (show)

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


Attachments
pulseaudio-5.0-r7.build.log (pulseaudio-5.0-r7.build.log,13.40 KB, text/plain)
2015-05-19 17:29 UTC, Alexander Tsoy
Details
pulseaudio-5.0-r7.ebuild.patch (pulseaudio-5.0-r7.ebuild.patch,286 bytes, patch)
2015-05-19 17:43 UTC, Alexander Tsoy
Details | Diff
pulseaudio-9.0.build.log (pulseaudio-9.0.build.log,12.97 KB, text/plain)
2017-02-10 15:47 UTC, Nathan Shearer
Details
build.log (file_549910.txt,134.21 KB, text/plain)
2018-01-30 13:38 UTC, Sleepy Mario
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2015-05-19 17:29:51 UTC
Created attachment 403624 [details]
pulseaudio-5.0-r7.build.log

pulseaudio with USE=neon - configure fails if -mfpu is in CLFAGS

$ emerge --info pulseaudio
Portage 2.2.18 (python 2.7.9-final-0, hardened/linux/arm/armv7a, gcc-4.7.4, glibc-2.19-r1, 3.14.42 armv7l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.14.42-armv7l-with-gentoo-2.2
KiB Mem:      502692 total,     13908 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 19 May 2015 00:45:01 +0000
sh dash 0.5.7.4
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 armv7a-hardfloat-linux-gnueabi [enabled]
app-shells/bash:          4.2_p53::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo
dev-util/pkgconfig:       0.28-r1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.7.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.19-r1::gentoo
Repositories:

gentoo
    location: /var/cache/portage/repos/gentoo
    sync-type: websync
    sync-uri: http://mirror.yandex.ru/gentoo-distfiles/
    priority: -1000

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

puleglot
    location: /var/cache/portage/repos/puleglot
    sync-type: git
    sync-uri: git://puleglot.ru/gentoo/puleglot-overlay.git
    masters: gentoo

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard -pipe"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard -pipe"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y --ask-enter-invalid"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-logs buildpkg buildsyspkg compress-build-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="acl aio alsa arm armv5te armv6 armv6t2 avahi bash-completion berkdb bzip2 caps cli cracklib crypt cxx dbus dri gdbm gpm hardened iconv idn ipv6 lz4 lzma modules ncurses nls nptl ogg openmp pam pax_kernel pcre pic pulseaudio readline sasl session ssl systemd tcpd tls udev unicode urandom vim-syntax xattr xtpax xz zeroconf zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-sound/pulseaudio-5.0-r7::gentoo was built with the following:
USE="alsa alsa-plugin asyncns caps dbus gdbm glib ipv6 ssl systemd tcpd udev zeroconf -X -bluetooth -doc -equalizer -gnome -gtk -jack -libsamplerate (-lirc) -neon (-orc) (-oss) -qt4 -realtime (-system-wide) -test (-webrtc-aec) (-xen)"
Comment 1 Alexander Tsoy 2015-05-19 17:43:23 UTC
Created attachment 403626 [details, diff]
pulseaudio-5.0-r7.ebuild.patch

Possible fix.

I suspect the same problem with pulseaudio-6.0 but didn't test it yet.
Comment 2 Alexander Tsoy 2015-05-19 17:47:33 UTC
It seems the check in configure was added to avoid problems like in bug 547194
Comment 3 Alexander Tsoy 2015-05-19 19:00:01 UTC
Comment on attachment 403626 [details, diff]
pulseaudio-5.0-r7.ebuild.patch

>+	use neon && filter-flags "-mfpu=*"

The following should also work:

use neon & append-cflags -mfpu=neon
Comment 4 Pacho Ramos gentoo-dev 2015-05-26 20:47:45 UTC
After reading:
https://bugs.gentoo.org/show_bug.cgi?id=547194#c10

I am really unsure about how to handle this, @arm team, what do you prefer?
Comment 5 Alexander Tsoy 2015-05-27 06:52:47 UTC
It turned out that libvpx bug is a packaging issue. As for pulseaudio, it has a strange build system that pass -mfpu=neon before CFLAGS (see ${URL}). So I don't see any solution other than playing with CFLAGS in ebuild. =/
Comment 6 SpanKY gentoo-dev 2015-05-27 08:49:01 UTC
Comment on attachment 403626 [details, diff]
pulseaudio-5.0-r7.ebuild.patch

no, i don't think we should be messing with user's CFLAGS at all.  instead, i'd use this unconditional sed in src_prepare:
  sed -i '/NEON_CFLAGS=/s:="[^"]*"::' configure.ac
or i guess patch out the NEON_CFLAGS=-mfpu=neon lines.

side note: pkg_* funcs are never the place to touch compiler settings ... that's what src_* funcs are for.

using neon simd hardware is normally orthogonal to also generating floating point code using neon.  assuming of course PA doesn't change its ABI in weird ways to assume/require the FPU is being handled by NEON, but a glance at the code shows that isn't the case.
Comment 7 Alexander Tsoy 2015-05-27 09:35:42 UTC
(In reply to SpanKY from comment #6)
> i'd use this unconditional sed in src_prepare:
>   sed -i '/NEON_CFLAGS=/s:="[^"]*"::' configure.ac
> or i guess patch out the NEON_CFLAGS=-mfpu=neon lines.

You cannot enable neon optimizations in pulseaudio and remove -mfpu=neon. This flag is required for arm_neon.h. You'll get a compile error if this flag is not passed at all or if it is overrided by another -mfpu= flag. For example:
http://lists.freedesktop.org/archives/pulseaudio-discuss/2012-December/015570.html

$ sed -n '/#ifndef __ARM_NEON__/,/#else/p' /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.4/include/arm_neon.h
#ifndef __ARM_NEON__
#error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
#else
Comment 8 Pacho Ramos gentoo-dev 2015-09-24 18:27:09 UTC
@arm team, what solution do you prefer? (I think I have seen more similar bugs like this one and it would be better to fix/workaround them in a coherent way)

Thanks
Comment 9 Pacho Ramos gentoo-dev 2015-11-07 11:22:51 UTC
@arm team, feel free to fix it as you think it is correct

Thanks
Comment 10 Pacho Ramos gentoo-dev 2016-07-02 16:05:49 UTC
arm, ping! Thanks
Comment 11 Nathan Shearer 2017-02-10 15:36:49 UTC
This is happening in media-sound/pulseaudio-9.0 too
Comment 12 Nathan Shearer 2017-02-10 15:47:51 UTC
Created attachment 463148 [details]
pulseaudio-9.0.build.log
Comment 13 Sleepy Mario 2018-01-30 13:31:25 UTC
Same problem on pulseaudio 11.1
Comment 14 Sleepy Mario 2018-01-30 13:38:50 UTC
Created attachment 517126 [details]
build.log
Comment 15 Sleepy Mario 2018-02-14 09:54:51 UTC
UPDATE: Changing "-mfpu=-vfpv4" to "-mvpu=neon-vfpv4" in the CFLAGS solved the problem here.
Comment 16 Alexandru N. Barloiu 2019-02-13 07:41:59 UTC
problem still present in version 12.2. Manually edited Makefiles and compiles ok.
Comment 17 Paul Osmialowski 2019-09-18 08:10:19 UTC
I'm facing the same with media-sound/pulseaudio-13.0 and CPU_FLAGS_ARM="neon"
Comment 18 Mart Raudsepp gentoo-dev 2019-09-18 08:19:16 UTC
If you have neon, why do you set a non-neon -mfpu to override the upstream set one? If you do that, at least have neon or don't enable CPU_FLAGS_ARM=neon on pulseaudio?
Comment 19 Mart Raudsepp gentoo-dev 2019-09-18 08:21:18 UTC
For any solution that would work with any user CFLAGS, I believe we are still waiting for input from @arm
Comment 20 Steve Arnold archtester gentoo-dev 2019-11-07 23:17:33 UTC
I've been looking at this in arm/arm64 with 13.0 and gcc-9.2, and afaik any neon asm code currently in the tree is specific to arm32 and generally needs "Advanced SIMD (Neon) v1" (as defined in gcc man page) and *not* "Advanced SIMD (Neon) v2" where the extensions/flags are:

Advanced SIMD (Neon) v1: +simd == mfpu=neon with aliases +neon and +neon-vfpv3

Advanced SIMD (Neon) v2: +neon-vfpv4 == mfpu=neon-vfpv4

Other (less wonky) packages with USE=neon all seem to build fine *iff* the build flags have only the -mfpu=neon form and *not* any of the +alias or other "equivalent" forms like -mfpu=neon-fp16.

The workaround I came up with for this one is basically don't enable the config on anything except arm with neon in cpu flags:

--- /usr/portage/media-sound/pulseaudio/pulseaudio-13.0.ebuild	2019-10-22 12:27:07.000000000 -0700
+++ /usr/local/portage/media-sound/pulseaudio/pulseaudio-13.0.ebuild	2019-11-07 15:05:41.520156879 -0800
@@ -188,7 +188,6 @@
 		$(multilib_native_usex gdbm '--with-database=gdbm' '--with-database=simple')
 		$(use_enable glib glib2)
 		$(use_enable asyncns)
-		$(use_enable cpu_flags_arm_neon neon-opt)
 		$(use_enable tcpd tcpwrap)
 		$(use_enable dbus)
 		$(use_enable X x11)
@@ -200,6 +199,14 @@
 		$(use_with caps)
 	)
 
+	if use cpu_flags_arm_neon && use arm64; then
+		myconf+=( --disable-neon-opt )
+	elif use cpu_flags_arm_neon && use arm; then
+		replace-flags -mfpu* -mfpu=neon
+		myconf+=( --enable-neon-opt )
+	fi
+
 	if use elogind && multilib_is_native_abi; then
 		myconf+=(
 			--enable-systemd-login
Comment 21 Steve Arnold archtester gentoo-dev 2019-11-07 23:19:36 UTC
Note I did remove the configure check to try an arm64 build, but it just blows up as expected.
Comment 22 Steve Arnold archtester gentoo-dev 2019-11-07 23:21:57 UTC
Linux genbook 5.3.0-00001-gc094c373f029 #6 SMP Sun Oct 13 15:29:07 PDT 2019 armv7l ARMv7 Processor rev 3 (v7l) NVIDIA Tegra SoC (Flattened Device Tree) GNU/Linux

Portage 2.3.76 (python 3.6.9-final-0, default/linux/arm/17.0/armv7a, gcc-9.2.0, glibc-2.29-r5, 5.3.0-00001-gc094c373f029 armv7l)
=================================================================
System uname: Linux-5.3.0-00001-gc094c373f029-armv7l-ARMv7_Processor_rev_3_-v7l-with-gentoo-2.6
KiB Mem:     4021728 total,   3370948 free
KiB Swap:          0 total,         0 free
Head commit of repository gentoo: c34134b001a7b63190cb982c3bd380f7c2d70d24

sh bash 5.0_p11
ld GNU gold (Gentoo 2.32 p2 2.32.0) 1.16
distcc 3.3.3 armv7a-unknown-linux-gnueabihf [disabled]
app-shells/bash:          5.0_p11::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.15.3::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-umask: 022
    sync-uri: git://github.com/gentoo/gentoo.git
    sync-user: portage:portage
    priority: -1000

nerdboy
    location: /usr/local/portage
    masters: gentoo
    priority: 0

arm_nerdboy
    location: /usr/local/arm
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="@FREE @GPL-COMPATIBLE @FREE @OSI-APPROVED @EULA dlj-1.1 skype-eula googleearth AdobeFlash-10.1 linux-firmware freedist xv bh-luxi free-noncomm MSttfEULA MPEG-4 android GPL no-source-code fping linux-fw-redistributable Oracle-BCLA-JavaSE google-chrome MSttfEULA BSL-1.1"
CBUILD="armv7a-unknown-linux-gnueabihf"
CFLAGS="-march=armv7-a+mp+sec+simd -mtune=generic-armv7-a -flto -mfpu=neon-fp16 -mfp16-format=ieee -mfloat-abi=hard -O2 -pipe -ftree-vectorize -ftree-loop-distribution -fvect-cost-model=cheap"
CHOST="armv7a-unknown-linux-gnueabihf"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=armv7-a+mp+sec+simd -mtune=generic-armv7-a -flto -mfpu=neon-fp16 -mfp16-format=ieee -mfloat-abi=hard -O2 -pipe -ftree-vectorize -ftree-loop-distribution -fvect-cost-model=cheap"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=armv7-a+mp+sec+simd -mtune=generic-armv7-a -flto -mfpu=neon-fp16 -mfp16-format=ieee -mfloat-abi=hard -O2 -pipe -ftree-vectorize -ftree-loop-distribution -fvect-cost-model=cheap"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nodoc parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=armv7-a+mp+sec+simd -mtune=generic-armv7-a -flto -mfpu=neon-fp16 -mfp16-format=ieee -mfloat-abi=hard -O2 -pipe -ftree-vectorize -ftree-loop-distribution -fvect-cost-model=cheap"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-march=armv7-a+mp+sec+simd -mtune=generic-armv7-a -flto -mfpu=neon-fp16 -mfp16-format=ieee -mfloat-abi=hard -O2 -pipe -ftree-vectorize -ftree-loop-distribution -fvect-cost-model=cheap -Wl,-O1 -Wl,--as-needed -fuse-linker-plugin"
LINGUAS="en_US en"
MAKEOPTS="-j5"
PKGDIR="//usr/portage/packages"
PORTAGE_BZIP2_COMMAND="/bin/bzip2"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa arm armv5te armv6 armv6t2 bzip2 cairo caps cli consolekit crypt curl cxx dbus dnotify dri dri3 drm egl fam fbcon ffmpeg filecaps fortran gallium gbm gcrypt gdbm gif gles2 gnome-keyring gnutls gold gtk gtk3 gudev guile harfbuzz iconv icu inotify introspection iptables ipv6 jpeg json kms libinput libnotify llvm logrotate lto lua minizip ncurses neon nls nolvmstatic nptl nss opengl openmp openssl pam pcre pcre16 pkcs11 png policykit postproc ppp python qt5 readline sasl script seccomp spell split-usr sqlite ssh ssl svc svg tcpd text threads tiff tls udev unicode v4l vala virt-network wheel xattr xcb xkb xvfb zlib" ADA_TARGET="gnat_2018" ALSA_CARDS="snd_soc_tegra_max98090 usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 v4 v5 v6 v7 thumb2" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="en en-US en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="tegra fbdev exynos panfrost" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 23 Steve Arnold archtester gentoo-dev 2019-11-07 23:31:34 UTC
Linux genplus 5.2.0 #2 SMP PREEMPT Mon Aug 5 17:11:57 PDT 2019 aarch64 GNU/Linux

chroot /var/tmp/arm64-gnome/ emerge --info
Portage 2.3.78 (python 3.6.9-final-0, default/linux/arm64/17.0/desktop/gnome, gcc-9.2.0, glibc-2.29-r6, 5.2.0 aarch64)
=================================================================
System uname: Linux-5.2.0-aarch64-with-gentoo-2.6
KiB Mem:     3966172 total,    370828 free
KiB Swap:    5242872 total,   5177608 free
Timestamp of repository gentoo: Thu, 07 Nov 2019 22:30:01 +0000
Head commit of repository gentoo: 80d5df7cfad77d7315092ba706e551838c51bbc6
Head commit of repository sakaki-tools: 0a6d1b558a8bf4100f0a682542359d160778c112

sh bash 5.0_p11
ld GNU gold (Gentoo 2.32 p2 2.32.0) 1.16
app-shells/bash:          5.0_p11::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.15.5::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

sakaki-tools
    location: /usr/local/portage/sakaki-tools
    sync-type: git
    sync-uri: https://github.com/sakaki-/sakaki-tools.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="@FREE CC-Sampling-Plus-1.0"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-march=armv8-a+crc+fp+simd -mabi=lp64 -mcpu=cortex-a53 -O2 -pipe -ftree-vectorize -ftree-loop-distribution -fvect-cost-model=cheap -flto"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=armv8-a+crc+fp+simd -mabi=lp64 -mcpu=cortex-a53 -O2 -pipe -ftree-vectorize -ftree-loop-distribution -fvect-cost-model=cheap -flto"
DISTDIR="/var/cache/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=armv8-a+crc+fp+simd -mabi=lp64 -mcpu=cortex-a53 -O2 -pipe -ftree-vectorize -ftree-loop-distribution -fvect-cost-model=cheap -flto"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=armv8-a+crc+fp+simd -mabi=lp64 -mcpu=cortex-a53 -O2 -pipe -ftree-vectorize -ftree-loop-distribution -fvect-cost-model=cheap -flto"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
INSTALL_MASK=" /usr/lib/systemd *.la"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--fix-cortex-a53-843419 -Wl,--fix-cortex-a53-835769 -Wl,--no-map-whole-files -flto -fuse-linker-plugin"
LINGUAS="en en_US"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa arm64 berkdb bluetooth branding bzip2 cairo caps cdda cdr cli colord crypt cups cxx dbus dri dts dvdr eds egl elogind emboss encode evo exif fam flac fortran gdbm gif gles2 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv icu introspection ipv6 jpeg lcms ldap libnotify libsecret libtirpc logrotate mad mng mp3 mp4 mpeg nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vala vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zlib" ADA_TARGET="gnat_2018" ALSA_CARDS="rk3399-gru-sound usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 crc32 v4 v5 v6 v7 v8 thumb2" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="aarch64 arm" QEMU_USER_TARGETS="aarch64 arm" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="panfrost vc4" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 24 Pacho Ramos gentoo-dev 2019-11-20 21:10:01 UTC
*** Bug 700740 has been marked as a duplicate of this bug. ***
Comment 25 Igor V. Kovalenko 2021-07-06 20:31:01 UTC
With CFLAGS="-mfpu=vfpv3" I can reproduce this issue with pulseaudio-13.0 ebuild, but not with pulseaudio-14.99.2_pre1. That uses meson build system where -mfpu=neon is appended to CFLAGS
Comment 26 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-07 02:08:25 UTC
(In reply to Igor V. Kovalenko from comment #25)
> With CFLAGS="-mfpu=vfpv3" I can reproduce this issue with pulseaudio-13.0
> ebuild, but not with pulseaudio-14.99.2_pre1. That uses meson build system
> where -mfpu=neon is appended to CFLAGS

Thanks!