Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 311663 Details for
Bug 451668
Mesa cannot be built for i386 on x86-64
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Modified specfile, use the new patch
mesa.spec-v5.patch (text/plain), 2.14 KB, created by
Zoltan Boszormenyi
on 2008-07-13 13:46:56 UTC
(
hide
)
Description:
Modified specfile, use the new patch
Filename:
MIME Type:
Creator:
Zoltan Boszormenyi
Created:
2008-07-13 13:46:56 UTC
Size:
2.14 KB
patch
obsolete
>--- mesa.spec.orig 2008-07-13 15:09:40.000000000 +0200 >+++ mesa.spec 2008-07-13 15:45:23.000000000 +0200 >@@ -1,5 +1,7 @@ > # When bootstrapping an arch, omit the -demos subpackage. > >+%{expand: %%define we_are_really_x86_64 %(uname -a | grep x86_64 | wc -l)} >+ > # S390 doesn't have video cards, so it's not much use building DRI there. > %ifarch s390 s390x > %define with_dri 0 >@@ -37,6 +39,8 @@ > > Patch12: mesa-7.1-disable-intel-classic-warn.patch > >+Patch20: mesa-7.1-use-CC-CFLAGS-for-libdricore.so.patch >+ > BuildRequires: pkgconfig autoconf automake > %if %{with_dri} > BuildRequires: libdrm-devel >= 2.4.0-0.12 >@@ -166,6 +170,7 @@ > %patch4 -p1 -b .disable-tex-offset > %patch7 -p1 -b .dricore > %patch12 -p1 -b .intel-nowarn >+%patch20 -p1 -b .use-CC-CFLAGS-for-libdricore.so > > # WARNING: The following files are copyright "Mark J. Kilgard" under the GLUT > # license and are not open source/free software, so we remove them. >@@ -184,20 +189,29 @@ > export CFLAGS="$RPM_OPT_FLAGS -fvisibility=hidden -Os" > export CXXFLAGS="$RPM_OPT_FLAGS -fvisibility=hidden -Os" > >+# Cheat for building i386 binaries on x86-64 systems >+%ifarch i386 >+%if %{we_are_really_x86_64} >+%define bitwidth --enable-32-bit --disable-64-bit >+export MKLIB_OPTIONS="-ldflags \"-m32\"" >+export LDFLAGS="-m32" >+%endif >+%endif >+ > # first, build the osmesa variants. XXX this is overkill. osmesa32 is > # sufficient to render to any of the channel sizes, according to the > # docs. should fix this someday. >-%configure --with-driver=osmesa --with-osmesa-bits=8 >+%configure %{bitwidth} --with-driver=osmesa --with-osmesa-bits=8 > make %{_smp_mflags} SRC_DIRS=mesa > mv %{_lib} osmesa8 > make clean > >-%configure --with-driver=osmesa --with-osmesa-bits=16 >+%configure %{bitwidth} --with-driver=osmesa --with-osmesa-bits=16 > make %{_smp_mflags} SRC_DIRS=mesa > mv %{_lib} osmesa16 > make clean > >-%configure --with-driver=osmesa --with-osmesa-bits=32 >+%configure %{bitwidth} --with-driver=osmesa --with-osmesa-bits=32 > make %{_smp_mflags} SRC_DIRS=mesa > mv %{_lib} osmesa32 > make clean >@@ -211,6 +225,7 @@ > > # now build the rest of mesa > %configure \ >+ %{bitwidth} \ > --disable-glw \ > --disable-glut \ > --disable-gl-osmesa \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 451668
:
309537
|
309538
|
311662
| 311663