Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643754 - x11-drivers/nvidia-drivers-390.12 - CONFIG_UNWINDER_ORC=y instead of CONFIG_FRAME_POINTER=y
Summary: x11-drivers/nvidia-drivers-390.12 - CONFIG_UNWINDER_ORC=y instead of CONFIG_F...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: David Seifert
Depends on:
Reported: 2018-01-07 06:50 UTC by Denis Descheneaux
Modified: 2021-03-03 00:20 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,12.11 KB, text/x-log)
2018-01-07 06:50 UTC, Denis Descheneaux

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Descheneaux 2018-01-07 06:50:54 UTC
Created attachment 513580 [details]

Fails to build if kernel has

instead of
Comment 1 Denis Descheneaux 2018-01-07 06:53:19 UTC
Portage 2.3.19 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.2.0, glibc-2.26-r5, 4.14.12-gentoo x86_64)
System uname: Linux-4.14.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.4.1
KiB Mem:    24656956 total,   4352308 free
Timestamp of repository gentoo: Sun, 07 Jan 2018 04:45:01 +0000
Head commit of repository gentoo: 8e08e84712565beacae1de58acb7fb944756fb14
Head commit of repository ROKO__: b002cf3e48ac9063ed38f9228e59575534ed3967

Head commit of repository abendbrot: 3d57fc6afbca4802679224305c7e12f0e78942b7

Head commit of repository activehome: 240bf53b1c41d58acaf6173ad3cdb47ffdd2ec6c

Head commit of repository bobwya: e4203b601986986008d03f1a794f6fb9bf0050e5

Head commit of repository cg: 9269c04197b462724bab32f8448b2edd59e5a28e

Head commit of repository docker: fc9f16b44839f8d313a61312eded9d9769f2f0c1

Head commit of repository dotnet: ce9f9307defa146fb290cec1e7a4836588d2bece

Head commit of repository ennui: ba9b3ddd05b3989707d621baf13011efe79079cf

Head commit of repository fkmclane: e087a00b096a9246d40014162c29218bf7d9c4db

Head commit of repository genealogy: 786fb47a732d460ac48c030a26c6774abe58b056

Head commit of repository gnome: c7531c44e7b7be5ee795894aa6de15c182ef0f15

Head commit of repository hamper-overlay: 146379bab337fc87387b993d266ec65f8a755cda

Head commit of repository java: a4416ff4084ca806661d79a641e2efc19ae3bd5b

Head commit of repository jorgicio: ce54cbab76c4dbaf44a34cefd2c1b7648e580bac

Head commit of repository mv: 750da59a930da0cd979e826b91150268022184f3

Head commit of repository observer: 5d0522491ef8fbc525848fcd3ac87f12d4186ab6

Head commit of repository pentoo: 14196f855d735f2debc15dc2a4b8949334a813ec

Head commit of repository pg_overlay: 78ecdd915707d52c8e0493100cdcc697f3bf09c7

Head commit of repository ssnb: 8958d53d0c638d287b5d1033e1a402b014044374

Head commit of repository steam-overlay: 699d267a7358ca340ee684e68e5366419f8e0ded

Head commit of repository torbrowser: 117bc44985cafcb19c42de298e25e62353955b93

Head commit of repository vmware: bb6d9202314c04df7fbe301e171ada73ff0bfc52

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::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::maolang, 3.5.4-r1::maolang, 3.6.4::maolang
dev-util/cmake:           3.10.1::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.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo, 7.2.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::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

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000

    location: /etc/portage/local
    masters: gentoo
    priority: 100

Installed sets: @steam
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeAIRSDK AdobeFlash-11.x dotnet-eula FraunhoferFDK google-chrome MEGA-Code-Review NVIDIA-CUDA OPERA-2014 Oracle-BCLA-JavaSE PUEL RAR TeamViewer Vivaldi icaclient genymotion MSjdbcEULA40"
CFLAGS="-march=sandybridge -O2 -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -pipe"
CONFIG_PROTECT="/etc /etc/grs/systems.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /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=sandybridge -O2 -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -pipe"
EMERGE_DEFAULT_OPTS=" --alert=y --ask-enter-invalid --color=y --keep-going --verbose --verbose-conflicts"
FCFLAGS="-march=sandybridge -O2 -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -pipe"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance buildpkg candy clean-logs config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox selinux sesandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=sandybridge -O2 -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=gold"
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"
USE="X Xaw3d a52 aac acl acpi alsa amd64 apparmor asyncns avahi bash-completion berkdb bluetooth boost branding byte-compile bzip2 cairo caps cdda cdr clang cleartype_hinting cli colord compiler-rt cracklib crypt cups custom-cflags cxx dbus default-compiler-rt default-libcxx dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fontconfig fortran gdbm gif glamor glib gmp gnome gnome-keyring gnome-online-accounts gold gpm graphite gstreamer gtk gtkstyle harfbuzz hscolour iconv icu initramfs introspection ipv6 jack jit jpeg kmod lcms ldap libcxx libcxxabi libinput libnotify libsamplerate libsecret lirc mad math mng modules mp3 mp4 mpeg mtp multilib multiuser nautilus ncurses nethack nls nptl ocamlopt offensive ogg open_perms opengl openmp oss pam pango pcre pdf peer_perms pic pie png policykit postgres ppds pulseaudio qt5 readline realtime scanner sdl seccomp selinux smp spell ssl ssp startup-notification static stemmer svg symlink systemd tcpd threads tiff tinfo toolbar tracker truetype ubac udev udisks unconfined unicode upower usb v4l vorbis wxwidgets x264 xattr xcb xinerama xml xv xvid zlib" ABI_X86="64" 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="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_EXPERIMENTAL_FEATURES="braindump stage" CALLIGRA_FEATURES="author braindump flow gemini karbon kexi krita plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory network rrdtool swap syslog" CPU_FLAGS_X86="aes avx 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 packagekit pager pager-plain policy-mobile quickaccess shot start syscon systray tasks teamwork temperature tiling time winlist wireless wizard wl-desktop-shell wl-drm wl-text-input wl-weekeyboard wl-wl wl-x11 xkbswitch xwayland" 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="emu efi-64 pc" INPUT_DEVICES="evdev libinput lirc synaptics wacom elographics" KERNEL="linux" L10N="fr en de ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5 python3_6" PYTHON_TARGETS="python3_6" QEMU_SOFTMMU_TARGETS="x86_64 aarch64 arm i386 ppc ppc64 ppcemb" QEMU_USER_TARGETS="x86_64 aarch64 arm i386 ppc ppc64 ppc64abi32 ppc64le" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu i915 i965 intel modesetting nvidia radeon radeonsi vmware dummy qxl" XFCE_PLUGINS="brightness clock multiload-nandhp 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"
Comment 2 Denis Descheneaux 2018-01-10 03:34:12 UTC
I am using LLVM + gold linker as default

It does not seem to override with a package.env declaration switch of gold to BFD.

If switched using the utility which changes the symlink etc.

it builds

It does seem at the moment that the LLVM gold linker is not able to link packages that build out of tree kernel modules if the kernel has been configured and is with CONFIG_UNWINDER_ORC=y

instead of


Package also builds fine with bfd or gold if using FRAME_POINTER....
Comment 3 Denis Descheneaux 2018-01-11 04:08:35 UTC
Also seems to not like gold, fine if you use bfd there as well

LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=gold"
Comment 4 Ionen Wolkens 2021-03-03 00:20:01 UTC
/bin/sh : ligne 1 : 17767 Erreur de segmentation  (core dumped)

Segmentation fault could've been a lot of things, but 3 years later I assume there's good odds this is obsolete. Gave it a try and seems to build fine with ORC unwinder (460.56 driver + 5.11.2 kernel).

Please open a new bug if still having problems.