Skip to contentSkip to conversation

New: Problems building 32bit Mesa

Bug 59332 [email protected] 1 participant 14 messages Jan 14, 2013 – Feb 5, 2013

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 59332
Assignee: [email protected]
Summary: Problems building 32bit Mesa
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa

Created attachment 72977
--> https://bugs.freedesktop.org/attachment.cgi?id=72977&action=edit
32bit build log

I can no longer build a 32bit mesa on my 64bit system

I'm using the same options and using master on both builds

I think this might have something to do with the autotools merge

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 59332] Problems building 32bit Mesa

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

Fabio Pedretti <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Blocks|                            |59304
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 59332] Problems building 32bit Mesa

In reply to [email protected]

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

Mike Lothian <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Mike Lothian <[email protected]> --- I think the issue is in egl - mesa builds fine on 32bit without it

The 64bit version builds fine with it

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 59332] Problems building 32bit Mesa

In reply to [email protected]

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

--- Comment #2 from Mike Lothian <[email protected]> --- I've bisected it back to:

b07ae05a3dccef620c716e821c647413b951051 is the first bad commit commit ab07ae05a3dccef620c716e821c647413b951051

Author: Matt Turner <[email protected]>
Date:   Wed Sep 5 11:12:29 2012 -0700

targets/dri-r600: Convert to automake

v2: Andreas Boll <[email protected]>
- Provide compatibility with scripts for the old Mesa build system

:100644 100644 9c9791b5137525bb22de3439806d565411a698aa
bb287d776c71a849f627af941bdbe0d514282ea1 M configure.ac
:040000 040000 097ecdc98b02d01f522d90cae259f846fac14d64
c3659daefaf1f71454c058590a87603c250d4458 M src

But I don't think that's much of a surprise and might be a bit of a red herring

I've got a feeling the -m32 probably isn't being passed somewhere

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 59332] Problems building 32bit Mesa

In reply to [email protected]

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

Mike Lothian <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Assignee|[email protected] |[email protected]
                   |.org                        |
          Component|Drivers/Gallium/r600        |glsl-compiler

--- Comment #3 from Mike Lothian <[email protected]> ---
I notice in the glsl directory the Makefile has CFLAGS and CFLAGS_FOR_BUILD and the same for CXX too the FOR_BUILD ones don't have -m32 and I think could be causing some of the issues I'm seeing

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 59332] Problems building 32bit Mesa

In reply to [email protected]

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

Matt Turner <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Assignee|[email protected]         |[email protected]
                   |                            |.org
                 CC|                            |[email protected]
          Component|glsl-compiler               |Drivers/Gallium/r600

--- Comment #5 from Matt Turner <[email protected]> --- (In reply to comment #3)

Quoted 3 lines

I notice in the glsl directory the Makefile has CFLAGS and CFLAGS_FOR_BUILD and the same for CXX too the FOR_BUILD ones don't have -m32 and I think could be causing some of the issues I'm seeing

Actually, that doesn't seem related. Looks like this is yet another problem with 32-bit LLVM.

I wonder if Tom's seen this?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 59332] Problems building 32bit Mesa

In reply to [email protected]

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

--- Comment #6 from Mike Lothian <[email protected]> --- Even with the llvm switches set to off I still have issues

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 59332] Problems building 32bit Mesa

In reply to [email protected]

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

--- Comment #7 from Andreas Boll <[email protected]> --- (In reply to comment #6)

Quoted 1 line

Even with the llvm switches set to off I still have issues

Maybe this patch helps:
http://lists.freedesktop.org/archives/mesa-dev/2013-January/033797.html

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 59332] Problems building 32bit Mesa

In reply to [email protected]

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

--- Comment #8 from Mike Lothian <[email protected]> --- It's an improvement I can build mesa again without EGL

building with EGL I get errors such as:

../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_debug.o):lp_bld_debug.cpp:function
lp_disassemble: error: undefined reference to 'std::string::_Rep::_S_empty_rep_storage' ../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_debug.o):lp_bld_debug.cpp:function
lp_disassemble: error: undefined reference to 'std::string::_Rep::_S_empty_rep_storage' ../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_debug.o):lp_bld_debug.cpp:function
lp_disassemble: error: undefined reference to 'std::string::_Rep::_S_empty_rep_storage' ../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_debug.o):lp_bld_debug.cpp:function
lp_disassemble: error: undefined reference to 'std::string::_Rep::_S_empty_rep_storage' /usr/lib32/llvm/libLLVMX86CodeGen.a(X86FrameLowering.o):function emitSPUpdate(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::bundle_iterator<llvm::MachineInstr, llvm::ilist_iterator<llvm::MachineInstr> >&, unsigned int, long long, bool, bool, llvm::TargetInstrInfo const&, llvm::TargetRegisterInfo const&): error:
undefined reference to 'std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' /usr/lib32/llvm/libLLVMX86CodeGen.a(X86FrameLowering.o):function emitSPUpdate(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::bundle_iterator<llvm::MachineInstr, llvm::ilist_iterator<llvm::MachineInstr> >&, unsigned int, long long, bool, bool, llvm::TargetInstrInfo const&, llvm::TargetRegisterInfo const&): error:
undefined reference to 'std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 59332] Problems building 32bit Mesa

In reply to [email protected]

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

Mike Lothian <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #72977|0                           |1

is obsolete| |

--- Comment #9 from Mike Lothian <[email protected]> --- Created attachment 74012
--> https://bugs.freedesktop.org/attachment.cgi?id=74012&action=edit
Updated build log with patch

I had to compress it due to the size

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 59332] Problems building 32bit Mesa

In reply to [email protected]

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

--- Comment #10 from Mike Lothian <[email protected]> --- Equally disabling llvm and leaving egl on works too

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 59332] Problems building 32bit Mesa

In reply to [email protected]

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

Andreas Boll <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #74012|text/plain                  |application/x-xz
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw

[Bug 59332] Problems building 32bit Mesa

In reply to [email protected]

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

Mike Lothian <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #11 from Mike Lothian <[email protected]> --- Seems I had a rogue /usr/lib32/libstdc++.so causing problems with my 32bit builds

Everything is working fine now with LLVM enabled

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw

[Bug 59332] Problems building 32bit Mesa

In reply to [email protected]

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

Matt Turner <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Blocks|59304 |

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel