Bug 14254

Summary: xserver fails to build on OpenBSD
Product: xorg Reporter: Mark Kettenis <kettenis>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: eric
Version: gitKeywords: patch
Hardware: x86 (IA32)   
OS: OpenBSD   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 10101    
Attachments:
Description Flags
Fix none

Description Mark Kettenis 2008-01-26 05:34:20 UTC
Created attachment 13956 [details] [review]
Fix

Build fails building hw/xfree86/util/ioport because of unresolved symbols, in particular i386_iopl.  The problem is that it needs to get linked with -li386 but this doesn't happen anymore.  This got broken by Eric Anholt on 2007-08-31 in commit a02db0d500cac20d0f0f107d27c064a175018421 (whee don't you just *love* 30-digit hex numbers to describe commits?).  The problem is that since that commit
SYS_LIBS no longer get substituted by autoconf/automake.  I expect that this brekage is present on NetBSD and FreeBSD too, since by the looks of it they need
the same or similar system libraries to build ioport.

The attached diff fixes things.
Comment 1 Matthieu Herrb 2008-03-02 10:39:29 UTC
Thanks for debugging this. 

I committed different diff in c934366. If I understand the comments in 
configure.ac correclty, the idea of the change that broke ioport build on OpenBSD was to avoid AC_SUBST(SYS_LIBS) 

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.