[Mesa-dev] [Bug 90383] assembly enabled mesa crashes dota2

2015-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90383

--- Comment #10 from Tapani Pälli  ---
(In reply to Sylvain BERTRAND from comment #8)
> I tried -m32. Did not change anything. -m32 and -m64 are only for a gcc
> multilib toolchains. Here, it's a normal x86 toolchain, with i686-pc-gnu-gcc
> calling i686-pc-gnu-as (I checked i686-pc-gnu-gcc verbose output).
> Did you mean something is hardcoded in the build system for the availabily
> of the -m32/-m64 flags? If yes, what is it?

Did you have also '--build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu'? It
could be that '-m32' is not necessary here (I would not count on it though
because I believe libtool needs it) but at least the build and host arguments
are *very* necessary because libtool makes decisions based on them. So when you
feed these to autogen.sh, it should generate you proper libtool file contents.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 90383] assembly enabled mesa crashes dota2

2015-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90383

Sylvain BERTRAND  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #9 from Sylvain BERTRAND  ---
Well, the asm tls path is working 'ok', with only a few "Mesa: User error:
GL_INVALID_OPERATION in function(invalid call)".
It's the relevant code path anyway. Let's deal with this one for good.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 90383] assembly enabled mesa crashes dota2

2015-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90383

--- Comment #8 from Sylvain BERTRAND  ---
I tried -m32. Did not change anything. -m32 and -m64 are only for a gcc
multilib toolchains. Here, it's a normal x86 toolchain, with i686-pc-gnu-gcc
calling i686-pc-gnu-as (I checked i686-pc-gnu-gcc verbose output).
Did you mean something is hardcoded in the build system for the availabily
of the -m32/-m64 flags? If yes, what is it?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 90383] assembly enabled mesa crashes dota2

2015-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90383

--- Comment #7 from Tapani Pälli  ---
(In reply to Sylvain BERTRAND from comment #6)
> It's not a multilib build. It's a standard 32 bits build on x86_64
> (CC="i686-pc-linux-gnu")
> 
> So you think the issue is the assembly code from the glapi dispatch table not
> compiled properly?

Yep, you'll need the arguments in comment #5 for your build. Otherwise
CCASFLAGS wont have -m32.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 90383] assembly enabled mesa crashes dota2

2015-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90383

--- Comment #6 from Sylvain BERTRAND  ---
It's not a multilib build. It's a standard 32 bits build on x86_64
(CC="i686-pc-linux-gnu")

So you think the issue is the assembly code from the glapi dispatch table not
compiled properly?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 90383] assembly enabled mesa crashes dota2

2015-05-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90383

--- Comment #5 from Tapani Pälli  ---
It looks to me you are trying to do a 32bit build (?)

what is included in $steam_i686_gnu_target variable?

You should give following flags to make sure things go ok (see
docs/autoconf.html):

"./configure CC="gcc -m32" CXX="g++ -m32" --build=x86_64-pc-linux-gnu
--host=i686-pc-linux-gnu"

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 90383] assembly enabled mesa crashes dota2

2015-05-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90383

--- Comment #4 from Sylvain BERTRAND  ---
I did excise the glapi/mapi x86 assembly code. Working and no more
"Mesa: User error: GL_INVALID_OPERATION in function(invalid call)".
This is where bad things are happening.

This bug seems to be not related to my bug #90370 (radeon related), did you
have a look at it?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 90383] assembly enabled mesa crashes dota2

2015-05-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90383

--- Comment #3 from Sylvain BERTRAND  ---
I can't, segfault happens into a thread with a corrupted stack (gdb says)
But I get some "Mesa: User error: GL_INVALID_OPERATION in function(invalid
call)"
in log, only when asm is on.
(I suspect strongly x86 assembly code in glapi, I'm going excise it and try
again)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 90383] assembly enabled mesa crashes dota2

2015-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90383

--- Comment #2 from Michel Dänzer  ---
Please attach a backtrace of the crash, preferably from gdb.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 90383] assembly enabled mesa crashes dota2

2015-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90383

--- Comment #1 from Sylvain BERTRAND  ---
http://filebin.ca/21BLOQZgI8Xh/mesa.conf
http://filebin.ca/21BLZM5UsAmW/dmesg
http://filebin.ca/21BLfuazDXEf/Xorg.0.log

linux (radeon drm git), llvm git, xserver git, ati xorg drv git, mesa git

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 90383] assembly enabled mesa crashes dota2

2015-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90383

Bug ID: 90383
   Summary: assembly enabled mesa crashes dota2
   Product: Mesa
   Version: git
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
  Severity: major
  Priority: medium
 Component: Mesa core
  Assignee: mesa-dev@lists.freedesktop.org
  Reporter: sylvain.bertr...@gmail.com
QA Contact: mesa-dev@lists.freedesktop.org

I just changed the configure option from disable-asm to enable-asm.
With asm on, dota2 crashes upon entering a game.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev