Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706224 - media-libs/libglvnd-1.3.0 : {standard input}:286562: Error: selected processor does not support `it eq' in Thumb mode
Summary: media-libs/libglvnd-1.3.0 : {standard input}:286562: Error: selected processo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-01-24 04:42 UTC by David Michael
Modified: 2020-02-21 21:33 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 David Michael 2020-01-24 04:42:32 UTC
The asm meson feature enables ARMv7 code when it detects an ARM CPU.  The build fails when using earlier CPUs.  I tried the armv5te profile specifically.

Reproducible: Always

Steps to Reproduce:
1. emerge libglvnd # with an ARM profile earlier than ARMv7
Actual Results:  
Thousands of lines repeating this:
{standard input}:286562: Error: selected processor does not support `it eq' in Thumb mode
{standard input}:286566: Error: cannot honor width suffix -- `mov r2,#4'
{standard input}:286567: Error: cannot honor width suffix -- `mul r1,r1,r2'
{standard input}:286568: Error: cannot honor width suffix -- `ldr ip,[r0,+r1]'
{standard input}:286579: Error: cannot honor width suffix -- `pop {lr}'

Expected Results:  
It should build successfully.

The live ebuild works.  Maybe this could be applied onto the latest release:

https://github.com/NVIDIA/libglvnd/commit/610305204624578c576543b63b0a2e2502efc77e
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-24 15:29:12 UTC
Please attach the entire build log to this bug report.
Please post your `emerge --info' output in a comment.
Comment 2 David Michael 2020-01-24 18:38:27 UTC
The build log is 3MiB, too big to attach.  I think the linked upstream fix is self-explanatory.  Here is "emerge --info":

Portage 2.3.84 (python 3.6.9-final-0, default/linux/arm/17.0/armv5te, gcc-9.2.0, glibc-2.29-r7, 5.4.12-100.fc30.x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.12-100.fc30.x86_64-x86_64-Intel-R-_Core-TM-_i7-9850H_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    65534780 total,  33612400 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 24 Jan 2020 00:45:01 +0000
Head commit of repository gentoo: 68ba7fe426038ec49b04c84d9d14982080f45dd9
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/python:          3.6.9::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/binutils:       2.33.1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    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-verify-metamanifest: yes
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -g -flto=jobserver -march=armv5te -mtune=arm926ej-s -ftree-vectorize"
CHOST="armv5tel-gentoo-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -g -flto=jobserver -march=armv5te -mtune=arm926ej-s -ftree-vectorize"
DISTDIR="/var/cache/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="-O2 -pipe -g -flto=jobserver -march=armv5te -mtune=arm926ej-s -ftree-vectorize"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -g -flto=jobserver -march=armv5te -mtune=arm926ej-s -ftree-vectorize"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/armv5tel-gentoo-linux-gnueabi/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/usr/armv5tel-gentoo-linux-gnueabi/"
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 apng arm berkdb branding bzip2 cairo caps cli cracklib crypt curl cxx dri dynamic-loading fprint gallium gcrypt gdbm gif git gmp gnutls gpg gtk3 gzip hwaccel iconv icu idn imagemagick ipv6 jbig jit jpeg jpeg2k kms libglvnd libidn2 libkms libxml2 lto lz4 lzma lzo mpfr ncurses nettle nls nptl offensive opengl openmp pam pango pcre pcre2 plymouth png postproc pulseaudio readline seccomp secure-delete smartcard sqlite ssl svg systemd tcpd threads twm udev unicode usb uuid uvm webp wide-int wifi wps xa xattr xcb xcsecurity xinerama xkb xorg xpm xrandr xvmc xz zlib zstd" ADA_TARGET="gnat_2018" 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 thumb v4 v5" 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" 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="python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" 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, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

media-libs/libglvnd-1.3.0::gentoo was built with the following:
USE="X -test"
FEATURES="pid-sandbox protect-owned usersandbox usersync buildpkg multilib-strict pkgdir-index-trusted userpriv installsources sfperms strict distlocks unmerge-logs sandbox fixlafiles userfetch unknown-features-warn ebuild-locks assume-digests unmerge-orphans ipc-sandbox compressdebug binpkg-docompress parallel-install parallel-fetch splitdebug xattr preserve-libs binpkg-logs merge-sync config-protect-if-modified binpkg-dostrip"
Comment 3 Larry the Git Cow gentoo-dev 2020-02-21 21:33:52 UTC
The bug has been closed via the following commit(s):

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

commit f0a1eb678126d6f42dc8078b8f56c9c804c05dd2
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-02-21 21:31:52 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-02-21 21:32:56 +0000

    media-libs/libglvnd: Version bump to 1.3.1
    
    Closes: https://bugs.gentoo.org/706224
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 media-libs/libglvnd/Manifest              |  1 +
 media-libs/libglvnd/libglvnd-1.3.1.ebuild | 66 +++++++++++++++++++++++++++++++
 media-libs/libglvnd/libglvnd-9999.ebuild  |  2 +-
 3 files changed, 68 insertions(+), 1 deletion(-)