[Mesa-dev] [Bug 50754] Building 32 bit mesa on 64 bit OS fails since change for automake

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 14 11:29:55 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=50754

--- Comment #32 from Matt Turner <mattst88 at gmail.com> ---
(In reply to comment #30)
> (In reply to comment #29)
> > While this patch looks correct at first sight I caused quite a few issues
> > with other parts of mesa. As such I've reverted it, removed the hacky
> > --enable-32,64-bit options, and documented (docs/autoconf.html) a reasonable
> > approach towards multilib/cross-compile builds.
> 
> Could you document here what kind of issues it causes?

I don't think that's particularly useful to document in autoconf.html.

Basically, the --enable-{32,64}-bit flags were neither necessary nor
sufficient.

configure.ac is not supposed to modify CFLAGS/CXXFLAGS. The
--enable-{32,64}-bit flags operated by doing exactly that, and as such they
didn't work (see this bug) and caused other problems. To work around this bug,
you ended up setting -m32 in your CFLAGS anyway, so the only thing these flags
did was to set the assembly architecture. Setting the --build and --host does
that anyway.

So throwing out these hacks is the right thing to do.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140814/b7633576/attachment.html>


More information about the mesa-dev mailing list