Summary: | xc doesn't compile anymore on netbsd > 2.1 | ||
---|---|---|---|
Product: | xorg | Reporter: | germain <germain.le-chapelain> |
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | CC: | reed |
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | NetBSD | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 1690 |
Description
germain
2005-10-20 11:50:26 UTC
applied, thanks Please reopen this. The change indicates that NetBSD does not have threads. The problem is only missing threadlib.h related to USE_NBSD_THREADLIB. Here is fix from NetBSD's own xsrc: http://cvsweb.netbsd.org/bsdweb.cgi/xsrc/xfree/xc/config/cf/NetBSD.cf The patch I used: --- config/cf/NetBSD.cf.orig 2005-11-10 10:53:04.000000000 -0800 +++ config/cf/NetBSD.cf 2005-11-10 10:57:40.000000000 -0800 @@ -123,7 +123,11 @@ # define ThreadedX YES # define HasThreadSafeAPI YES # define ThreadsLibraries -lpthread -# define LibraryMTDefines -DUSE_NBSD_THREADLIB +# if ((OSMajorVersion == 2 && OSMinorVersion == 99 && OSTeenyVersion < 11) || \ + (OSMajorVersion == 2 && OSMinorVersion < 99) || \ + (OSMajorVersion < 2)) +# define LibraryMTDefines -DUSE_NBSD_THREADLIB +# endif # define SystemMTDefines -D_REENTRANT # define MTSafeAPIDefines -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI #else Set that it blocks 1690 "Tracker for X11R6.9 and X11R7". re-fixed. jeremy, it'd probably be quite a bit easier if we just hooked you up with commit access so you can fix this stuff directly. pop open an account request and i'll hook you up. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.