FS#54845 - [xf86-video-nouveau] undefined symbol 'exaDriverAlloc'
Attached to Project:
Arch Linux
Opened by Jerome (sinatosk) - Monday, 17 July 2017, 06:36 GMT
Last edited by Laurent Carlier (lordheavy) - Friday, 11 August 2017, 09:53 GMT
Opened by Jerome (sinatosk) - Monday, 17 July 2017, 06:36 GMT
Last edited by Laurent Carlier (lordheavy) - Friday, 11 August 2017, 09:53 GMT
|
Details
Description: since pacman 5.0.2-2. I've recompiled
xorg-server, xf86-input-libinput and xf86-video-nouveau
packages using makechrootpkg and when I attempt to start X
server using "startx" command ( I don't use a display
manager ), There is an error in the Xorg.0.log saying
undefined symbol 'exaDriverAlloc'
going back to the previous settings in makepkg.conf by removing "-fno-plt" from CFLAGS and CXXFLAGS and ",-z,now" from LDFLAGS and recompiling the xf86-video-nouveau package, X starts fine even though xorg-server is still compiled with the new pacman 5.0.2-2 changes Additional info: * package version(s) 1.0.15-1 * config and/or log files etc. parts from makepkg.conf BEFORE 5.0.2-2 update CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong" CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong" LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro" parts from makepkg.conf AFTER 5.0.2-2 update CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt" CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt" LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" parts from Xorg.0.log [ 21220.550] (II) LoadModule: "nouveau" [ 21220.550] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so [ 21220.550] (EE) Failed to load /usr/lib/xorg/modules/drivers/nouveau_drv.so: /usr/lib/xorg/modules/drivers/nouveau_drv.so: undefined symbol: exaDriverAlloc [ 21220.550] (II) UnloadModule: "nouveau" [ 21220.550] (II) Unloading nouveau [ 21220.550] (EE) Failed to load module "nouveau" (loader failed, 7) [ 21220.550] (EE) No drivers available. [ 21220.550] (EE) Fatal server error: [ 21220.550] (EE) no screens found(EE) [ 21220.550] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 21220.550] (EE) Please also check the log file at "/home/user/.local/share/xorg/Xorg.0.log" for additional information. [ 21220.550] (EE) [ 21220.587] (EE) Server terminated with error (1). Closing log file. Steps to reproduce: compile xorg-server and xf86-video-nouveau with pacman 5.0.2-2 default settings in makepkg.conf CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt" CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt" LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" start X ( I used the command "startx" ) and this is where it fails to start. Look in your Xorg log file and you should see an error saying (EE) Failed to load /usr/lib/xorg/modules/drivers/nouveau_drv.so: /usr/lib/xorg/modules/drivers/nouveau_drv.so: undefined symbol: exaDriverAlloc recompile xf86-video-nouveau with default settings before pacman 5.0.2-2 in makepkg.conf CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong" CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong" LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro" starting X works fine |
This task depends upon
and contents from file /etc/xorg.conf
Section "ServerLayout"
Identifier "MainLayout"
Screen 0 "MainScreen" 0 0
Option "Xinerama" "0"
EndSection
Section "Monitor"
Identifier "Laptop"
Option "Primary" "true"
Option "DPMS" "false"
EndSection
Section "Device"
Identifier "VideoDevice0"
Driver "nouveau"
VendorName "Nvidia"
BoardName "Quadro K4000M"
Option "Monitor-LVDS-1" "Laptop"
EndSection
Section "Screen"
Identifier "MainScreen"
Device "VideoDevice0"
Monitor "Laptop"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
from xorg.log:
[ 345.170] (EE) Failed to load /usr/lib/xorg/modules/drivers/intel_drv.so: /usr/lib/xorg/modules/drivers/intel_drv.so: undefined symbol: vgaHWFreeHWRec
...
[ 345.171] (EE) Failed to load /usr/lib/xorg/modules/drivers/amdgpu_drv.so: /usr/lib/xorg/modules/drivers/amdgpu_drv.so: undefined symbol: fbImageGlyphBlt
without -z,now in LDFLAGS and -fplt in CFLAGS works good.