Bug 4434 - freebsd-dri does not honor ASM_FLAGS and so fails to compile
Summary: freebsd-dri does not honor ASM_FLAGS and so fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: GLX (show other bugs)
Version: unspecified
Hardware: x86 (IA32) FreeBSD
: high normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 17:14 UTC by Diego Elio Pettenò
Modified: 2005-09-12 05:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
mesa-6.3.2-freebsd.patch (1.09 KB, patch)
2005-09-12 17:15 UTC, Diego Elio Pettenò
Details | Splinter Review

Description Diego Elio Pettenò 2005-09-12 17:14:24 UTC
I don't have the build log at hand, but basically when building 
freebsd-dri-x86 (in this case on Gentoo/FreeBSD, but it's the same on a 
by-hand compile) the build failed because of double-definition of all the gl* 
functions. This because dispatch.c included, in some way, glapitemp.h when 
X86_ASM was not defined, and it wasn't also if ASM_FLAGS were set as 
freebsd-dri config does not honor ASM_FLAGS setting. 
The attached patch fixes the build problem. 
 
HTH, 
Diego
Comment 1 Diego Elio Pettenò 2005-09-12 17:15:37 UTC
Created attachment 3242 [details] [review]
mesa-6.3.2-freebsd.patch
Comment 2 Eric Anholt 2005-09-12 22:19:09 UTC
Committed, thanks!


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.