View previous topic :: View next topic |
Author |
Message |
Skippy204 Guru
Joined: 09 May 2008 Posts: 339 Location: Colorado, USA
|
Posted: Tue Jul 10, 2018 2:01 pm Post subject: [solved] nvidia-drivers-387.34 fails to emerge |
|
|
Code: |
[ebuild U ] x11-drivers/nvidia-drivers-387.34:0/387::gentoo [384.130:0/384::gentoo] USE="X acpi driver gtk3 kms multilib tools -compat -pax_kernel -static-lib
s -uvm -wayland" ABI_X86="32 (64) (-x32)" 0 KiB
Total: 1 package (1 upgrade), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Running pre-merge checks for x11-drivers/nvidia-drivers-387.34
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/4.15.14-gentoo/build
* Found sources for kernel version:
* 4.15.14-gentoo
* Gentoo supports kernels which are supported by NVIDIA
* which are limited to the following kernels:
* <sys-kernel/gentoo-sources-4.15
* <sys-kernel/vanilla-sources-4.15
*
* You are free to utilize epatch_user to provide whatever
* support you feel is appropriate, but will not receive
* support as a result of those changes.
*
* Do not file a bug report about this.
*
* Checking for suitable kernel configuration options... [ ok ]
>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-387.34::gentoo
* NVIDIA-Linux-x86_64-387.34.run BLAKE2B SHA512 size ;-) ...
|
Code: |
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_driver_has_set_busid
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_init_function_args
CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
CONFTEST: drm_helper_mode_fill_fb_struct
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_mode_config_funcs_has_atomic_state_alloc
CONFTEST: drm_driver_unload_has_int_return_type
CONFTEST: kref_has_refcount_of_type_refcount_t
CONFTEST: drm_crtc_helper_funcs_has_atomic_enable
CONFTEST: dom0_kernel_present
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: drm_available
CONFTEST: drm_atomic_available
CONFTEST: drm_atomic_modeset_nonblocking_commit_available
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/nvidia/.nv-gpu-numa.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc
-linux-gnu/7.3.0/include -I/usr/src/linux-4.15.14-gentoo/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-4.15.14-gentoo/include -I./include -I/us
r/src/linux-4.15.14-gentoo/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-4.15.14-gentoo/include/uapi -I./include/generated/uapi -inclu
de /usr/src/linux-4.15.14-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-dr
ivers-387.34/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-dec
laration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-38
7 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONF
IG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1
-DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-n
ull-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO
-Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration
-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=s
trict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -I/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/com
mon/inc -I/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERS
ION_STRING=\"387.34\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-a
rgs -Werror=undef -I/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -
U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv_gpu_numa"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/nvi
dia/nv-gpu-numa.o /var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/nvidia/nv-gpu-numa.c
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/nvidia/nv-gpu-numa.o";
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/nvidia/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include -I/usr/src/linux-4.15.14-gentoo/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-4.15.14-gentoo/include -I./include -I/usr/src/linux-4.15.14-gentoo/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-4.15.14-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.15.14-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -I/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/common/inc -I/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"387.34\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -I/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/nvidia/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/nvidia/nv.c
/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/nvidia/nv.c: In function ‘nv_start_rc_timer’:
/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/nvidia/nv.c:3389:5: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
init_timer(&nvl->rc_timer);
^~~~~~~~~~
init_timers
/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/nvidia/nv.c:3390:28: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
nvl->rc_timer.function = nvidia_rc_timer;
^
/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/nvidia/nv.c:3391:18: error: ‘struct timer_list’ has no member named ‘data’
nvl->rc_timer.data = (unsigned long) nvl;
^
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-4.15.14-gentoo/scripts/Makefile.build:325: /var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel/nvidia/nv.o] Error 1
make[2]: *** [/usr/src/linux-4.15.14-gentoo/Makefile:1523: _module_/var/tmp/portage/x11-drivers/nvidia-drivers-387.34/work/kernel] Error 2
make[2]: Leaving directory '/usr/src/linux-4.15.14-gentoo'
make[1]: *** [Makefile:146: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.15.14-gentoo'
make: *** [Makefile:84: modules] Error 2
* ERROR: x11-drivers/nvidia-drivers-387.34::gentoo failed (compile phase):
* emake failed
|
Code: |
root # emerge --info '=x11-drivers/nvidia-drivers-387.34::gentoo'
Portage 2.3.41 (python 2.7.15-final-0, default/linux/amd64/17.0/desktop, gcc-7.3.0, glibc-2.27-r5, 4.15.14-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.15.14-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.6
KiB Mem: 12267624 total, 364372 free
KiB Swap: 19535036 total, 19535036 free
Timestamp of repository gentoo: Tue, 10 Jul 2018 01:30:01 +0000
Head commit of repository gentoo: 3e46d29e8dcf02894fc54868ad537cc27ca6cc64
sh bash 4.4_p23
ld GNU ld (Gentoo 2.30 p3) 2.30.0
app-shells/bash: 4.4_p23::gentoo
dev-java/java-config: 2.2.0-r4::gentoo
dev-lang/perl: 5.26.2::gentoo
dev-lang/python: 2.7.15::gentoo, 3.4.8-r1::gentoo, 3.5.5-r1::gentoo
dev-util/cmake: 3.11.4::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.6::gentoo
sys-apps/openrc: 0.38.1::gentoo
sys-apps/sandbox: 2.13::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils: 2.30-r3::gentoo
sys-devel/gcc: 7.3.0-r3::gentoo
sys-devel/gcc-config: 1.9.1::gentoo
sys-devel/libtool: 2.4.6-r5::gentoo
sys-devel/make: 4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc: 2.27-r5::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: no
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 24
Skippy
location: /usr/local/portage/skippy
masters: gentoo
x-portage
location: /usr/local/portage
masters: gentoo
priority: 0
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /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="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo ftp://cosmos.illinois.edu/pub/gentoo/ http://91.121.188.201/gentoo-distfiles/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB en_US"
MAKEOPTS="-j7"
PKGDIR="/usr/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 aim alsa amd64 amrnb amrub arts aspell berkdb branding bzip2 cairo cdda cddb cdr cli consolekit crypt css cups cxx dbus dillo dri dts dvd dvdr emboss encode exif extensions extras fam ffmpeg flac fontconfig fortran fts3 gdbm gif gimp glamor gnutls gpm gstreamer gtk hddtemp iconv id3tag imagemagick imap ipod ipv6 jack jadetex java jpeg jpeg2k kipi ladspa lcms ldap libnotify libsamplerate libtirpc lm_sensors mad midi mikmod mjpeg mmx mng modules mono mp3 mp4 mpeg mplayer multilib musepack musicbrainz mysql ncurses nls nptl nvidia offensive ogg opengl openmp oscar pam pango pcre pdf png policykit portaudio ppds qt3support qt5 quicktime readline redeyes scanner sdl seccomp secure-delete semantic-desktop smp sndfile soundtouch spamassassin spell sql sqlite sse sse2 ssl startup-notification svg tcpd theora tiff truetype twolame udev udisks ukit unicode upower usb vamp vcd vorbis wavpack wmf wxwidgets x264 xattr xcb xinerama xml xmp xv xvid xvmc zlib" ABI_X86="32 64" ALSA_CARDS="hda-intel intel8x0 intel8x0m" 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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="keyboard mouse" KERNEL="linux" L10N="en en_GB en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby23 ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev vesa" 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_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
Last edited by Skippy204 on Sun Jul 22, 2018 2:02 am; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Tue Jul 10, 2018 2:11 pm Post subject: |
|
|
Try to use this patch _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
ali3nx l33t
Joined: 21 Sep 2003 Posts: 722 Location: Winnipeg, Canada
|
Posted: Tue Jul 10, 2018 6:01 pm Post subject: |
|
|
This is likely a large contributing part of the issue.
Code: | ACCEPT_KEYWORDS="amd64 ~amd64" |
Global unmasking every unstable package will cause many things to not compile or function properly.
The CFLAGS are also incorrect for gcc 7.3 and an intel core i7 920
Code: | CFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe" |
They may work but they are obsolete cflags from gcc 4 or gcc 5 before -march=nehalem was added to gcc. If your not using distcc just use -match=native
Good luck, Just a couple issues i spotted that could cause problems with many things not compiling or functioning properly.
Code: | xartin@erebus ~ $ emerge --info
Portage 2.3.40 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-7.3.0, glibc-2.26-r7, 4.16.15-gentoo x86_64)
=================================================================
System uname: Linux-4.16.15-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.4.1
KiB Mem: 24685540 total, 23996700 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Fri, 15 Jun 2018 16:15:01 +0000
Head commit of repository gentoo: c660433b8bc48e33d10235252f8e28f3ca835db2
Head commit of repository steam-overlay: 46d2624c5f248bf28e25c25e172e60c2eb988e5f
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash: 4.4_p12::gentoo
dev-java/java-config: 2.2.0-r4::gentoo
dev-lang/perl: 5.24.3-r1::gentoo
dev-lang/python: 2.7.14-r1::gentoo, 3.6.5::gentoo
dev-util/cmake: 3.9.6::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.4.1-r2::gentoo
sys-apps/sandbox: 2.13::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils: 2.30-r2::gentoo
sys-devel/gcc: 7.3.0-r3::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r3::gentoo
sys-devel/make: 4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc: 2.26-r7::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.ca.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:
steam-overlay
location: /usr/local/portage/steam-overlay
sync-type: git
sync-uri: https://github.com/anyc/steam-overlay.git
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nehalem -mtune=nehalem -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
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=nehalem -mtune=nehalem -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --complete-graph y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j8"
PKGDIR="/usr/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="10bit 12bit X a52 aac aacplus aacs acl acpi activities alsa amd64 berkdb bluray branding bzip2 cairo cdda cdr cjk clang cli conntrack cpudetection crypt cups custom-cflags cxx dbus declarative device-mapper dri dts dvd dvdr emboss encode epoll exif expat fam fat flac fontconfig fontforge fortran fuse gdbm gif glamor go gtk iconv icu idn inotify iproute2 ipv6 ithreads javafx jpeg jpeg2k kde kipi kwallet lcms ldap libevent libnotify libtirpc lz4 lzma lzo mad mdnsresponder-compat minizip mng modules mp3 mp4 mpeg multilib mysql nat ncurses netlink nfs nfsidmap nfsv4 nfsv41 nls nptl nsplugin nvenc objc objc++ objc-gc ogg opengl openmp openssl pam pango pcre pdf perl phonon pic plasma png policykit posix ppds python qml qt3support qt5 raw rdp readline sdl seccomp semantic-desktop speex spell ssl startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upnp upnp-av upower urandom usb user-session uvm uxa v4l v4l2 vaapi vdpau vorbis widgets wxwidgets x264 x265 xattr xcb xcomposite xml xv xvid zeroconf zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="unixd authn_core authz_core authz_dbd socache_shmcb apache2_modules_unixd actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status slotmem_shm unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="pc efi-64" 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="x86_64 mips mips64 mips64el mipsel ppc ppc64 arm arm64 aarch64 i386 sparc sparc64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LANG, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
_________________ Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper! |
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Tue Jul 10, 2018 10:44 pm Post subject: |
|
|
Running unstable branch (the ~amd64) does not necessarily add to the problem. The issue ends up being when you mix stable and unstable branches, in that you will encounter issues. Beyond that, running unstable branch isn't that much a problem, assuming you keep the machine up to date. The big thing to remember, is that unstable branch is updated more frequently than stable branch. Otherwise, there is an occasional compile issue, but that is more of you wait for the package to be updated to resolve that.
For me, I like the part I don't need to worry about the glsa issues, because unstable branch is already running the new version before the glsa is published. |
|
Back to top |
|
|
Skippy204 Guru
Joined: 09 May 2008 Posts: 339 Location: Colorado, USA
|
Posted: Sun Jul 22, 2018 2:06 am Post subject: |
|
|
The problem with the nvidia-driver turned out to be user stupidity.
False alarm... |
|
Back to top |
|
|
Skippy204 Guru
Joined: 09 May 2008 Posts: 339 Location: Colorado, USA
|
Posted: Sun Jul 22, 2018 2:15 am Post subject: |
|
|
ali3nx wrote: | This is likely a large contributing part of the issue.
Code: | ACCEPT_KEYWORDS="amd64 ~amd64" |
Global unmasking every unstable package will cause many things to not compile or function properly.
The CFLAGS are also incorrect for gcc 7.3 and an intel core i7 920
Code: | CFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe" |
They may work but they are obsolete cflags from gcc 4 or gcc 5 before -march=nehalem was added to gcc. If your not using distcc just use -match=native
Good luck, Just a couple issues i spotted that could cause problems with many things not compiling or functioning properly.
|
Hello and thank you for the information. The CFLAGS are something I don't think I've ever changed, or if I did, it was long ago. Mostly because I don't know enough to mess about with such things.
I'm not sure what distcc is, but is if do 'eix distcc' I see it's a package related to C code and I don't have it installed. So if that's what you are referencing I don't use it.
I just did a bit of looking around the forum and https://wiki.gentoo.org/wiki/Safe_CFLAGS#Intel_Core
Would this be . . . more correct?
Code: | CFLAGS="-march=native -O2 -pipe" |
Thanks again. |
|
Back to top |
|
|
ali3nx l33t
Joined: 21 Sep 2003 Posts: 722 Location: Winnipeg, Canada
|
Posted: Sun Jul 22, 2018 7:44 am Post subject: |
|
|
Yes that would be perfect. gcc has been capable of autodetecting cflags for several years using -march=native _________________ Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper! |
|
Back to top |
|
|
Skippy204 Guru
Joined: 09 May 2008 Posts: 339 Location: Colorado, USA
|
Posted: Fri Jul 27, 2018 1:38 pm Post subject: |
|
|
Thanks very much! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|