Executing wine over make segfaults.
I got a simple problem, that got really hard to fix. I am trying to cross-compile stuff over a Makefile with ms compiler. Problem is that when make are executing wine as a command, wine segfaults. An example: # wine --version Works! But: Makefile --------- test: wine --version --------- Then run: #make test Wine will segfault! I have tried making a wrapper that will reset env and argv fith static values, and then exec wine with totally new variables, and still fails. Specifications: ubuntu edgy, wine 0.9.22 running as local user. Thankfull for all help. Jimmy Wennlund
On 10/29/06, Jimmy W <jimmy.wennlund(a)gmail.com> wrote:
I got a simple problem, that got really hard to fix.
I am trying to cross-compile stuff over a Makefile with ms compiler.
Problem is that when make are executing wine as a command, wine segfaults.
An example:
# wine --version Works!
But:
Makefile --------- test: wine --version ---------
Then run: #make test
Wine will segfault!
Your problem might be that the Edgy gcc has stack-protector on. I ran across a segfault when building on my newly upgraded Edgy Eft machine this morning. See 'Edgy Eft Notes' at http://wiki.winehq.org/Recommended_Packages for info and a link to an Ubuntu bug discussion. -Tommy
It says that wine is compiled with the: ./configure CFLAGS=-fno-stack-protector So the bug shud not apply, also i have been installing binaries for other distribution (debian binaries) also from winehq own ubuntu rep. I think the problem is deeper in wine. /Jimmy sön 2006-10-29 klockan 13:09 -0800 skrev Thomas Kho:
On 10/29/06, Jimmy W <jimmy.wennlund(a)gmail.com> wrote:
I got a simple problem, that got really hard to fix.
I am trying to cross-compile stuff over a Makefile with ms compiler.
Problem is that when make are executing wine as a command, wine segfaults.
An example:
# wine --version Works!
But:
Makefile --------- test: wine --version ---------
Then run: #make test
Wine will segfault!
Your problem might be that the Edgy gcc has stack-protector on. I ran across a segfault when building on my newly upgraded Edgy Eft machine this morning. See 'Edgy Eft Notes' at http://wiki.winehq.org/Recommended_Packages for info and a link to an Ubuntu bug discussion.
-Tommy
On Mon, Oct 30, 2006 at 08:36:48AM +0100, Jimmy W wrote:
It says that wine is compiled with the:
./configure CFLAGS=-fno-stack-protector
So the bug shud not apply, also i have been installing binaries for other distribution (debian binaries) also from winehq own ubuntu rep.
I think the problem is deeper in wine.
Do you have any special kernel compile options in use? Any other deriviations from traditional distribution kernels? Ciao, Marcus
participants (3)
-
Jimmy W -
Marcus Meissner -
Thomas Kho