Gentoo Archives: gentoo-user

From: Corbin <corbinbird@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Anybody got a Gentoo system working under uclibc?
Date: Thu, 28 Apr 2016 13:33:10
Message-Id: 5722110D.8070207@charter.net
In Reply to: Re: [gentoo-user] Anybody got a Gentoo system working under uclibc? by waltdnes@waltdnes.org
1 On 04/27/2016 10:16 PM, waltdnes@××××××××.org wrote:
2 > On Wed, Apr 27, 2016 at 07:30:12PM -0500, Corbin wrote
3 >>
4 >>
5 >>
6 >> Your Welcome.
7 >>
8 >> Link for "evdev" : https://en.wikipedia.org/wiki/Evdev
9 >>
10 >> The default kernel config has "evdev" built into the kernel.
11 >>
12 >> On my desktop, Nvidia drivers do look for and use "evdev" without
13 >> Wayland support in Xorg. ( XFCE )
14 >>
15 >> This might be pedantic ...
16 >> ... add "sse sse2 sse3 ssse3 mmx acpi -mmxext" to your USE flags in
17 >> "make.conf" ( if not already present. ) Some packages look for those
18 >> flags in strange ways.
19 >>
20 >> Using a one-problem-at-a-time approach ...
21 >>
22 >> < Proposed Test / Xorg Fix >
23 >> ... adding "libinput" to the USE flags in your "make.conf".
24 >> ... setting INPUT_DEVICES="evdev" in "make.conf".
25 >>
26 >> Desktops that should work with "libinput/evdev" ONLY are QT4, QT5, XFCE.
27 >> XFCE provides its own keyboard library and config applets/plugins. Don't
28 >> know about QT4 / QT5.
29 >>
30 >> If you have not already done this ... might want to set
31 >> VIDEO_CARDS="fbdev vesa" or just "fbdev" to save compile time.
32 >>
33 >> This is getting very interesting.
34 >> Please let us know how this works out :)
35 >
36 > It's not the cpu flags. I have an identical glibc-based VM where the
37 > drivers build just fine. Also, this is a code problem... both with and
38 > without "evdev"...
39 >
40 >> libtool: compile: i686-gentoo-linux-uclibc-gcc -std=gnu99 -DHAVE_CONFIG_H -I.
41 >> -I/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src
42 >> -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1
43 >> -I/usr/include/X11/dri -I/usr/include/libdrm -Wall -Wpointer-arith
44 >> -Wmissing-declarations -Wformat=2 -Wstrict-prototypes
45 >> -Wmissing-prototypes -Wnested-externs -Wbad-function-cast
46 >> -Wold-style-definition -Wdeclaration-after-statement -Wunused
47 >> -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute
48 >> -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull
49 >> -Werror=init-self -Werror=main -Werror=missing-braces
50 >> -Werror=sequence-point -Werror=return-type -Werror=trigraphs
51 >> -Werror=array-bounds -Werror=write-strings -Werror=address
52 >> -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
53 >> -fno-strict-aliasing -O2 -march=native -mfpmath=sse -fomit-frame-pointer
54 >> -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables -c
55 >> /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/at_scancode.c
56 >> -fPIC -DPIC -o .libs/at_scancode.o
57 >> /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/lnx_kbd.c:
58 >> In function 'OpenKeyboard':
59 >> /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/lnx_kbd.c:194:8:
60 >> error: implicit declaration of function 'getpgid'
61 >> [-Werror=implicit-function-declaration]
62 >> rc = tcsetpgrp(pInfo->fd, getpgid(0));
63 >> ^
64 >> /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/lnx_kbd.c:194:8:
65 >> warning: nested extern declaration of 'getpgid' [-Wnested-externs]
66 >
67
68 Did some searching on "getpgid" ... looks to be related to GNU glibc.
69 > https://www.gnu.org/software/libc/manual/html_node/Process-Group-Functions.html
70
71 > error: implicit declaration of function 'getpgid'
72 Maybe they used an implicit glibc getpgid call instead of the specific
73 posix_getpgid call? ( guessing )
74
75 ( Is Xorg dumping POSIX compliance? Or is this a bug? )
76
77 Questions ... if you will permit :
78
79 Are you saying that in "make.conf" you set INPUT_DEVICES="evdev" and did
80 a test compile run?
81 The emerge you tried ... was it "xorg-base/xorg-x11"?
82 Or did you try a meta package for a desktop?
83
84 If a hard dependency link between Xorg server -> xf86-input-keyboard
85 exists, this will never work. I have no idea at this point if this is
86 true. What I have been reading suggests that the xf86-input keyboard and
87 mouse libs are being phased out.
88
89 With that call ?error? ... Xorg may be an impossible goal / waste of
90 time on uClibc.
91
92 Thank you for sharing this info.

Replies

Subject Author
[gentoo-user] Re: Anybody got a Gentoo system working under uclibc? James <wireless@×××××××××××.com>
Re: [gentoo-user] Anybody got a Gentoo system working under uclibc? waltdnes@××××××××.org