Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1420 - xorg won't build against nptl

Attached to Project: Arch Linux
Opened by LavaPunk (LavaPunk) - Saturday, 11 September 2004, 19:51 GMT
Last edited by Judd Vinet (judd) - Sunday, 12 September 2004, 17:47 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

If using nptl gcc xorg won't build:

n file included from /home/mirek/pakiety/ignored/x/src/xc/extras/drm/shared/drm.h:41,
from ../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:39,
from ../../../extras/Mesa/include/GL/internal/dri_interface.h:48,
from glxclient.h:82,
from clientattrib.c:39:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)";
make[5]: *** [clientattrib.o] Blad 1


I grabbed that off the forums because it is identicle to my error, mine just isn't on hand.

Xorg builds fine if one doesn't use nptl gcc.
This task depends upon

Closed by  Judd Vinet (judd)
Wednesday, 22 September 2004, 16:05 GMT
Reason for closing:  Fixed
Comment by LavaPunk (LavaPunk) - Sunday, 19 September 2004, 17:52 GMT
And here's my error with xorg 6.8.1

In file included from ../../../extras/drm/shared/drm.h:41,
from ../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:39,
from ../../../extras/Mesa/include/GL/internal/dri_interface.h:48,
from glxclient.h:82,
from clientattrib.c:39:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)";
make[5]: *** [clientattrib.o] Error 1
make[5]: Leaving directory `/var/abs/x11/xorg/src/xc/lib/GL/glx'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/abs/x11/xorg/src/xc/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/abs/x11/xorg/src/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/abs/x11/xorg/src/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/abs/x11/xorg/src/xc'
make: *** [World] Error 2
==> ERROR: Build Failed. Aborting...
Error: Failed to build "xorg"
Comment by Jan de Groot (JGC) - Monday, 20 September 2004, 07:10 GMT
This is because the nptl glibc includes kernelheaders from the linux-libc-headers project, which states in the FAQ that programs including /usr/include/linux/config.h is wrong. To make it hard for those programmers, they put only one statement in that file: ##error with the message you're getting.

This can be fixed by making the file empty.

Currently I'm working on a glibc that will work on 2.2, 2.4 and 2.6 kernels, while having NPTL enabled for 2.6. (yes, that builds 3 glibc packages in one package: one for 2.2.5, one for 2.4.1 with i686 code, one for 2.6.0 with NPTL)
Comment by LavaPunk (LavaPunk) - Wednesday, 22 September 2004, 03:55 GMT
Thanks for the new gcc in testing! I grabbed it tonight and just finished building xorg with nptl running on my custom 2.6.8.1 kernel! So far no problems!

Loading...