Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832619 - sys-devel/llvm & Co do not set correct LLVM_TARGETS
Summary: sys-devel/llvm & Co do not set correct LLVM_TARGETS
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-03 08:23 UTC by Cănărău Constantin
Modified: 2022-02-03 08: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 Cănărău Constantin 2022-02-03 08:23:01 UTC
sys-devel/llvm 13.0.1 set automatically multiple unsolicited targets

LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k) (-VE)"

In /etc/make.conf: LLVM_TARGETS="BPF NVPTX X86 AArch64"

This is since 13.0.1_rc

emerge -pvO =llvm-13.0.0

These are the packages that would be merged, in order:

[ebuild     UD ] sys-devel/llvm-13.0.0:13::gentoo [13.0.1_rc3:13::gentoo] USE="gold%* libffi ncurses -debug -doc -exegesis -libedit -test -xar -xml -z3 (-binutils-plugin%*)" LLVM_TARGETS="AArch64 BPF NVPTX (X86) -AMDGPU* (-ARC) -ARM* -AVR* (-CSKY) -Hexagon* -Lanai* (-M68k) -MSP430* -Mips* -PowerPC* -RISCV* -Sparc* -SystemZ* (-VE) -WebAssembly* -XCore*" 144.022 KiB

Portage 3.0.30 (python 3.10.2-final-0, default/linux/amd64/17.1/no-multilib/systemd, gcc-11.2.1, glibc-2.34-r7, 5.16.5-gentoo-costel x86_64)
=================================================================
System uname: Linux-5.16.5-gentoo-costel-x86_64-Intel-R-_Core-TM-_i7-6700K_CPU_@_4.00GHz-with-glibc2.34
KiB Mem:    32736808 total,  23017164 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 03 Feb 2022 08:00:01 +0000
Head commit of repository gentoo: 80805d85ad317c4c9e484b68272552f6aedfc8d9
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           3.10.2-r1::gentoo
dev-lang/rust:             1.58.1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          3.1::gentoo
sys-apps/systemd:          250.3::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           13.0.1_rc3::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.1_rc3::gentoo
sys-devel/llvm:            13.0.1_rc3::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.16::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r7::python
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-vcs-ignore: true
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: --human-readable --delete-before --progress --new-compress
    sync-rsync-verify-jobs: 8

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo python newer
    priority: 10

added
    location: /var/db/repos/added
    masters: gentoo
    priority: 100

newer
    location: /var/db/repos/newer
    masters: gentoo
    priority: 100

python
    location: /var/db/repos/python
    masters: gentoo
    priority: 100

Installed sets: @crossdev, @desktop, @dev, @minimal, @vpn, @xfce
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Ofast -pipe -march=native -w -g0 -ffunction-sections -fdata-sections -falign-functions=32 -fipa-pta -fno-semantic-interposition -fno-plt -flto=auto -flto-compression-level=9 -fdevirtualize-at-ltrans -ffunction-sections -fdata-sections"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Ofast -pipe -march=native -w -g0 -ffunction-sections -fdata-sections -falign-functions=32 -fipa-pta -fno-semantic-interposition -fno-plt -flto=auto -flto-compression-level=9 -fdevirtualize-at-ltrans -ffunction-sections -fdata-sections"
DISTDIR="/mnt/linux/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=3 --load-average=10 --keep-going --with-bdeps=y --complete-graph --quiet-build=n --autounmask-write"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy cgroup collision-protect config-protect-if-modified distlocks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nodoc noinfo parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-filter unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.xservers.ro/gentoo/ http://distfiles.gentoo.org/"
INSTALL_MASK="/usr/share/locale -/usr/share/locale/ro -/usr/share/locale/en -/usr/share/locale/en_US"
LANG="ro_RO.UTF-8"
LC_ALL="ro_RO.UTF-8"
LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--enable-new-dtags,--as-needed -Wl,--gc-sections -flto=auto"
MAKEOPTS="-j8 --load-average=10"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e -T0"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable --delete-before --progress --new-compress"
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"
RUSTFLAGS="-C debuginfo=0 -C opt-level=3 -C target-cpu=native"
SHELL="/bin/bash"
USE="X aac acpi aes alsa amd64 avx avx2 branding bzip2 cairo caps cli crypt dbus dri f16c fam flac fma3 gdbm gif gpm gtk gtk3 iconv icu ipv6 jpeg jpeg2k libglvnd libtirpc lm-sensors lto lz4 mmx mmxext mp3 ncurses networkmanager nls nptl ogg opengl openmp pam pango pclmul pcre pdf pgo png policykit popcnt portaudio pulseaudio readline seccomp server split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 systemd threads truetype udev udisks unicode upower usb vdpau vhosts vorbis vulkan webp x264 zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" ALSA_CARDS="hda-intel 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_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="ro en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF NVPTX X86 AArch64" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset fastcgi geoip2 gunzip gzip limit_conn limit_req memcached realip referer rewrite split_clients ssi userid" NGINX_MODULES_STREAM="access geoip2 limit_conn realip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel i965 iris nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS



Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-03 08:24:50 UTC
(X) means forced on, see 'man emerge'. This was done because of e.g. bug 767700.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-03 08:25:00 UTC
(In reply to Sam James from comment #1)
> (X) means forced on, see 'man emerge'. This was done because of e.g. bug
> 767700.

(and you can override it via package.use.force)
Comment 3 Cănărău Constantin 2022-02-03 08:33:56 UTC
(In reply to Sam James from comment #2)
> (In reply to Sam James from comment #1)
> > (X) means forced on, see 'man emerge'. This was done because of e.g. bug
> > 767700.
> 
> (and you can override it via package.use.force)

I see now. Thank you! 
On amd64 it is not a big deal, but on Raspberry Pi compile time basically double.