Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646108 - sys-libs/glibc-2.26 can't permit to rollback to 2.25; with 2.26: compatibility problems in /usr/include/bits/floatn.h definitions of "float128" checked by packages dependent on all versions of Nvidia cuda
Summary: sys-libs/glibc-2.26 can't permit to rollback to 2.25; with 2.26: compatibilit...
Status: RESOLVED DUPLICATE of bug 638230
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-30 08:44 UTC by Ivan Dorna
Modified: 2018-01-30 09:11 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 Ivan Dorna 2018-01-30 08:44:25 UTC
portage can't permit rollback from sys-libs/glibc-2.26 to 2.25 due system braking check (good!) but if the system it's updated to glibc 2.26 there are compatibility problems in /usr/include/bits/floatn.h definitions of "float128"  checked by packages dependent on all versions of Nvidia cuda 8.x 9.0.x 9.1.x.

Seems the problem it's "only" related to header definitions of float128

I know that it's not (probably) strictly a bug of sys-libs/glibc a but cause a base system incompatibility problem without the possibility to rollback, so can be a nice thing have a patch to provide system compatibility about glibc-2.25 and glibc-2.26 about float128 definition.

I report other links as bibliography of the problem, an example of compilation, 
and emerge --info result.

This bug it's probably related to: #638230 on gentoo bugs.


Links:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1717257

https://devtalk.nvidia.com/default/topic/1023776/-request-add-nvcc-compatibility-with-glibc-2-26/

https://aur.archlinux.org/packages/ccminer-git/


Compilation Example and emerge --info output

:pts/3: [root@box01] /Data/Data01/Miner/xmr-stak-2.2.0 #> make install
-- Set miner currency to 'monero' and 'aeon'
fatal: Not a git repository (or any parent up to mount point /Data)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: Not a git repository (or any parent up to mount point /Data)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- Configuring done
-- Generating done
-- Build files have been written to: /Data/Data01/Miner/xmr-stak-2.2.0
[ 17%] Built target xmr-stak-c
[ 67%] Built target xmr-stak-backend
[ 70%] Building NVCC (Device) object CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/xmrstak_cuda_backend_generated_cuda_extra.cu.o
/usr/include/bits/floatn.h(61): error: invalid argument to attribute "__mode__"

/usr/include/bits/floatn.h(73): error: identifier "__float128" is undefined

2 errors detected in the compilation of "/tmp/tmpxft_00001da0_00000000-14_cuda_extra.compute_70.cpp1.ii".
CMake Error at xmrstak_cuda_backend_generated_cuda_extra.cu.o.Release.cmake:279 (message):
  Error generating file
  /Data/Data01/Miner/xmr-stak-2.2.0/CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/./xmrstak_cuda_backend_generated_cuda_extra.cu.o


make[2]: *** [CMakeFiles/xmrstak_cuda_backend.dir/build.make:353: CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/xmrstak_cuda_backend_generated_cuda_extra.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/xmrstak_cuda_backend.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
:pts/3: [root@box01] /Data/Data01/Miner/xmr-stak-2.2.0 #> nano /usr/include/bits/floatn.h
:pts/3: [root@box01] /Data/Data01/Miner/xmr-stak-2.2.0 #> emerge --info
Portage 2.3.20 (python 3.6.4-final-0, default/linux/amd64/17.0/systemd, gcc-6.4.0, glibc-2.26-r5, 4.12.3-gentoo x86_64)
=================================================================
System uname: Linux-4.12.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700K_CPU_@_4.20GHz-with-gentoo-2.4.1
KiB Mem:    65790780 total,  53534764 free
KiB Swap:   64652280 total,  64652280 free
Timestamp of repository gentoo: Mon, 29 Jan 2018 00:45:01 +0000
sh bash 4.4_p12-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo, 3.6.4::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.10.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 7.2.0-r1::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r5::gentoo
Repositories:

gentoo
    location: /ports/portage
    sync-type: webrsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=32 -Wformat -Wformat-security -Wl,--copy-dt-needed-entries -Wno-error -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-z,max-page-size=0x1000 -ftree-vectorize -ftree-loop-vectorize -fopt-info-vec -march=native -mtune=native -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wp,-D_REENTRANT"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/share/gnupg/qualified.txt /var/bind"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=32 -Wformat -Wformat-security -Wl,--copy-dt-needed-entries -Wno-error -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-z,max-page-size=0x1000 -ftree-vectorize -ftree-loop-vectorize -fopt-info-vec -march=native -mtune=native -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wp,-D_REENTRANT"
DISTDIR="/ports/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-write --quiet --jobs=1 --keep-going --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup compressdebug config-protect-if-modified distlocks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
LINGUAS="en"
MAKEOPTS="-j8"
PKGDIR="/ports/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="/ports/tmp"
USE="X acl acpi aes alsa amd64 audit avx berkdb bzip2 c++11 c++14 c++17 clang cli crypt cuda cxx dbus default-compiler-rt default-libcxx dri evdev event eventhandler fortran gdbm glamor gmp gnutls grub gstreamer gtk3 hardened http2 iconv inotify introspction ipc ipmi iproute2 ipv6 ithreads jemalloc jfs kdbus kms kvm lapack libevent libnotify libunwind live lm_sensors logind lz4 lzma lzo mmx mmxext modules multilib ncurses net40 net45 net46 netlink network nls nptl ntfs numa nvcontrol nvenc nvidia opencl opencv opencv3 openexr opengl openh264 openssl pam pcre policykit polkit pulseaudio rar rdma readline reiserfs romio rtmp sasl seccomp smp squashfs sse sse2 sse3 sse4 sse4_1 sse4_2 sse4a ssl ssp ssse3 stream sysfs system-sqlite systemd tcpd tesseract threaded threads udev udisks unicode urandom usb v4l v4l2 vtv vulkan wayland webp webrtc-aec websocket websockets wifi wireless x264 x265 xattr xfs zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859" COLLECTD_PLUGINS="aggregation ascent battery bind cgroups conntrack contextswitch cpu cpufreq csv curl curl_json curl_xml dbi df disk dns entropy ethstat exec filecount fscache hddtemp interface iptables irq load logfile lvm madwifi match_empty_counter match_hashed match_regex match_timediff match_value mbmon md memcached memory multimeter mysql netlink network nfs nginx notify_email ntpd numa olsrd openvpn ping powerdns processes protocols routeros rrdcached rrdtool sensors serial snmp statsd swap syslog table tail target_notification target_replace target_scale target_set tcpconns ted thermal threshold unixsock uptime users uuid vmem wireless write_graphite write_http ipc modbus python smart tail_csv zfs_arc" CPU_FLAGS_X86="fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" ENLIGHTENMENT_MODULES="appmenu backlight battery bluez4 clock conf conf-applications conf-bindings conf-dialogs conf-display conf-interaction conf-intl conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq everything fileman fileman-opinfo gadman geolocation ibar ibox lokker mixer msgbus music-control notification pager pager-plain quickaccess shot start syscon systray tasks teamwork temperature tiling time winlist wizard wl-weekeyboard wl-wl xkbswitch packagekit" 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" GRUB_PLATFORMS="efi-32 efi-64 pc emu ieee1275 multiboot qemu coreboot" INPUT_DEVICES="evdev void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access addition auth_basic auth_pam auth_request autoindex browser cache_purge charset dav dav_ext echo empty_gif fancyindex fastcgi flv geo geoip gunzip gzip headers_more image_filter limit_conn limit_req map memcached metrics mp4 naxsi perl proxy push push_stream random_index realip referer rewrite scgi secure_link slowfs_cache split_clients ssi stub_status sub upload_progress upstream_check upstream_ip_hash userid uwsgi xslt upstream_least_conn upstream_hash upstream_zone upstream_keepalive" NGINX_MODULES_MAIL="imap pop3 smtp" NGINX_MODULES_STREAM="access geo geoip map realip ssl_preread upstream_hash upstream_least_conn upstream_zone" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_6 python2_7" QEMU_SOFTMMU_TARGETS="x86_64 arm cris i386 m68k microblaze mips mips64 mips64el mipsel ppc ppc64 ppcemb sh4 sh4eb sparc sparc64 aarch64 moxie tricore unicore32" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze mips mipsel ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus sparc64 x86_64 aarch64" RUBY_TARGETS="ruby23" SANE_BACKENDS="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_pp cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s hs2p ibm kodak kvs1025 leo lexmark ma1509 matsushita microtek microtek2 mustek mustek_pp mustek_usb nec net niash p5 pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp pnm" USERLAND="GNU" VIDEO_CARDS="intel i915 i965 modesetting fbdev vesa" VOICEMAIL_STORAGE="file" XFCE_PLUGINS="clock power trash" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

:pts/3: [root@box01] /Data/Data01/Miner/xmr-stak-2.2.0 #>
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-30 08:50:41 UTC

*** This bug has been marked as a duplicate of bug 638230 ***
Comment 2 Ivan Dorna 2018-01-30 09:03:19 UTC
(In reply to Jeroen Roovers from comment #1)
> 
> *** This bug has been marked as a duplicate of bug 638230 ***

????
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-30 09:06:58 UTC

*** This bug has been marked as a duplicate of bug 638230 ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-30 09:11:23 UTC
(In reply to Ivan Dorna from comment #2)
> (In reply to Jeroen Roovers from comment #1)
> > 
> > *** This bug has been marked as a duplicate of bug 638230 ***
> 
> ????

nvidia-cuda-* has a problem. We fix that problem, not glibc preventing rollbacks.