Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792621 - >=www-client/firefox-78.10.1 with armv7 generates many thousand warnings of: '-d16' is not a recognized feature for this target (ignoring feature)
Summary: >=www-client/firefox-78.10.1 with armv7 generates many thousand warnings of: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-28 12:19 UTC by tt_1
Modified: 2021-06-01 08:13 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 tt_1 2021-05-28 12:19:07 UTC
I got around 2600 of these rustc warnings when compiling firefox on armv7 with neon+thumb:

> 1:02.59 '-d16' is not a recognized feature for this target (ignoring feature)


cargo was initially invoked with target_feature=+neon,-d16 as in:' 

CARGO_PKG_HOMEPAGE='https://github.com/alexcrichton/cfg-if' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cfg-if CARGO_PKG_REPOSITORY='https://github.com/alexcrichton/cfg-if' CARGO_PKG_VERSION=0.1.10 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=10 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-88.0.1/work/firefox_build/release/deps:/usr/lib' /usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-88.0.1/work/firefox-88.0.1/third_party/rust/cfg-if-0.1.10/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C embed-bitcode=no -C metadata=f10b9f12f0edf0f0 -C extra-filename=-f10b9f12f0edf0f0 --out-dir /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-88.0.1/work/firefox_build/thumbv7neon-unknown-linux-gnueabihf/release/deps --target thumbv7neon-unknown-linux-gnueabihf -C linker=/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-88.0.1/work/firefox-88.0.1/build/cargo-linker -L dependency=/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-88.0.1/work/firefox_build/thumbv7neon-unknown-linux-gnueabihf/release/deps -L dependency=/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-88.0.1/work/firefox_build/release/deps --cap-lints warn -C force-frame-pointers=yes --cap-lints warn -C target_feature=+neon,-d16 -Cembed-bitcode=yes -C codegen-units=1` '

I'm using thumbv7neon-unknown-linux-gnueabihf to compile (it's cross, but that shouldn't matter) and my rustc is v1.51.0
Comment 1 tt_1 2021-05-28 12:31:14 UTC
spidermonkey also affected, and thunderbird most likely too

I hopefully linked the bug report, the one liner patch can be pulled from https://hg.mozilla.org/integration/autoland/rev/005374812ac0

can this please be added to the patchset of firefox-89.0 and, if possible, to esr/thunderbird/spidermonkey via the esr patchset? It is supposed to be fixed in firefox-90.0
Comment 2 Larry the Git Cow gentoo-dev 2021-06-01 08:13:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b86cac032b295f44fe488cbeac9894cf2a3dc17c

commit b86cac032b295f44fe488cbeac9894cf2a3dc17c
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-06-01 07:52:35 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-06-01 08:08:49 +0000

    www-client/firefox: bump to v78.11.0 ESR
    
    Closes: https://bugs.gentoo.org/792621
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox/Manifest               |   97 +++
 www-client/firefox/firefox-78.11.0.ebuild | 1183 +++++++++++++++++++++++++++++
 2 files changed, 1280 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c0aeacf20bb7172fdb9dc93413edcf5585591b2

commit 2c0aeacf20bb7172fdb9dc93413edcf5585591b2
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-06-01 07:53:24 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-06-01 08:08:45 +0000

    www-client/firefox: update patch set
    
    Bug: https://bugs.gentoo.org/792621
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox/Manifest            | 2 +-
 www-client/firefox/firefox-89.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)