Bug 8865 - compiler.h:1430: error: impossible constraint in 'asm' in Mac OS X
Summary: compiler.h:1430: error: impossible constraint in 'asm' in Mac OS X
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.1 (2006.05)
Hardware: PowerPC Mac OS X (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-02 15:18 UTC by Peter Dyballa
Modified: 2007-03-11 13:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Dyballa 2006-11-02 15:18:39 UTC
While making the xserver this now happened:

compiler.h:1430: error: impossible constraint in 'asm'

The file is xserver/hw/xfree86/common/compiler.h, the code is:

1427:	static __inline__ void
1428:	outb(unsigned short port, unsigned char val)
1429:	{
1430:	  __asm__ __volatile__("out%B0 (%1)" : :"a" (val), "d" (port));
1431:	}

plus some more of these! And the building process looked this evening so nice, despite the weather 
outside ...

Mac OS X 10.4.8, PowerPC
GCC 4.0.1
Xorg 7.1.99.2
Comment 1 Daniel Stone 2007-02-27 01:34:18 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 2 Peter Dyballa 2007-03-11 13:25:41 UTC
This seems to be GLX related, too, which is not supported for XDarwin, so it's a faulty bug report. At least, when I build with --disable-glx this error is not reported.


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.