Hi,
On Windows x86_64 host, targeting x86_64, a segfault occurs when
-flto, -static and any -O are used together; details are as follows.
> #include
>
> int main() {
> std::cout << std::endl;
> }
> D:\>g++ -flto -static -Og -g test.cpp
>
> D:\>gdb a
> GNU gdb (GDB) 7.6
> Copyright (C) 2013
Ruben
>
>
>
>
> ------
> *From:* Ruben Van Boxem
> *To:* mingw-w64-public@lists.sourceforge.net
> *Sent:* Thursday, April 4, 2013 9:15 AM
> *Subject:* Re: [Mingw-w64-public] segfault
>
> 2013/4/4 Ahso Aa
>
> Thanks Ruben. Now I se
@lists.sourceforge.net
Sent: Thursday, April 4, 2013 11:43 AM
Subject: Re: [Mingw-w64-public] segfault
2013/4/4 Ahso Aa
Ruben thanks, rebuilt with mingw32 and 64. -32 works fine and in dependency
walker I only see msvcrt.dll. (no more msvcr80.dll) Should I be fine with that
to not need redist anymore?
Yes
l
>
>
>
> --
> *From:* Ruben Van Boxem
> *To:* mingw-w64-public@lists.sourceforge.net
> *Sent:* Wednesday, April 3, 2013 6:29 PM
> *Subject:* Re: [Mingw-w64-public] segfault
>
> Op 3 apr. 2013 18:21 schreef "Ahso Aa" het volgen
bject: Re: [Mingw-w64-public] segfault
2013/4/4 Ahso Aa
Thanks Ruben. Now I see in a dependency dll from curl that it uses msvcr80.dll.
That's VS2008? Could I most easily resolve that by downloading VC2008 and
compile my stuff with that
>
>and /MT flag?
>Or what do you sugge
e bottom there's 64-bit
MinGW-w64 binaries).
This might not be related to the segfault though...
Ruben
> Many thanks again
> Michael
>
>
>
> --
> *From:* Ruben Van Boxem
> *To:* mingw-w64-public@lists.sourceforge.net
> *Sent:* We
chael
From: Ruben Van Boxem
To: mingw-w64-public@lists.sourceforge.net
Sent: Wednesday, April 3, 2013 6:29 PM
Subject: Re: [Mingw-w64-public] segfault
Op 3 apr. 2013 18:21 schreef "Ahso Aa" het volgende:
>
>
>
> The MSVC++ DLL's are also ABI incompatible am
Op 3 apr. 2013 18:21 schreef "Ahso Aa" het volgende:
>
>
>
> The MSVC++ DLL's are also ABI incompatible among versions. Even Service
Packs break ABI compatibility.
>
> sigh...I'm a happy Linux user but need to support Windows...of course.
>
> How to see the toolchain? I remember to have seen (vc b
The MSVC++ DLL's are also ABI incompatible among versions. Even Service Packs
break ABI compatibility.
sigh...I'm a happy Linux user but need to support Windows...of course.
How to see the toolchain? I remember to have seen (vc build?) in dependency
walker msvcpd80.dll or alike. Would that
w64-public@lists.sourceforge.net" <
> mingw-w64-public@lists.sourceforge.net>
> *Sent:* Wednesday, April 3, 2013 2:54 PM
> *Subject:* Re: [Mingw-w64-public] segfault
>
> On Wed, Apr 3, 2013 at 6:08 AM, Ahso Aa wrote:
>
> > Can you try a 32-bit MinGW-w64, recompile ever
?
From: NightStrike
To: "mingw-w64-public@lists.sourceforge.net"
Sent: Wednesday, April 3, 2013 2:54 PM
Subject: Re: [Mingw-w64-public] segfault
On Wed, Apr 3, 2013 at 6:08 AM, Ahso Aa wrote:
> Can you try a 32-bit MinGW-w64, recompile everything, and see if you hit the
> same
On Wed, Apr 3, 2013 at 6:08 AM, Ahso Aa wrote:
> Can you try a 32-bit MinGW-w64, recompile everything, and see if you hit the
> same problem?
>
> How, only add -m32 to compiler options?
> Thanks
That only works if you are using a multilib compiler, which you are
probably not using.
Instead, you
On Wed, Apr 3, 2013 at 6:08 AM, Ahso Aa wrote:
>> Are all dependencies compiled with the same toolchain?
>
> No I don't think so
>
Then this is the most likely candidate of issue. ABI differences can
and will cause you problems.
--
Earnie
-- https://sites.google.com/site/earnieboyd
On Wed, Apr 3, 2013 at 2:48 PM, Ahso Aa wrote:
> I've recompiled with the new gdbinit but still the same. Also tried with
> -m32 and 32bit libs but it says skipping incompatible libs.
> Thanks
>
> --
> Microsoft Windows [Version 6.0.6002]
> Copyright (c) 2006 Microsoft Corporation. Alle Rec
I've recompiled with the new gdbinit but still the same. Also tried with -m32
and 32bit libs but it says skipping incompatible libs.
Thanks
--
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Users\michael>f:
F:\>cd X*o
F:\X-
03.04.2013, в 14:13, Alexpux написал(а):03.04.2013, в 14:08, Ahso Aa написал(а):Hi RubenIf you could provide a sensible backtrace (gdb command "bt") that would help.pasted belowAre all dependencies compiled with the same toolchain?
No I don't think soCan you t
03.04.2013, в 14:08, Ahso Aa написал(а):
> Hi Ruben
> If you could provide a sensible backtrace (gdb command "bt") that would help.
>
> pasted below
>
> Are all dependencies compiled with the same toolchain?
>
> No I don't think so
>
> Can you try a 32-bit MinGW-w64, recompile everything, an
Hi Ruben
If you could provide a sensible backtrace (gdb command "bt") that would help.
pasted below
Are all dependencies compiled with the same toolchain?
No I don't think so
Can you try a 32-bit MinGW-w64, recompile everything, and see if you hit the
same problem?
How, only add -m32 to co
MinGW-w64, recompile everything, and see if you hit
the same problem?
Ruben
>
>
>
>
> --
> *From:* Ruben Van Boxem
> *To:* mingw-w64-public@lists.sourceforge.net
> *Sent:* Wednesday, April 3, 2013 7:54 AM
> *Subject:* Re: [Mingw-w64-
/MinGW-64-bit
(recommended 64bit package)
So anything I could try? Thanks
From: Ruben Van Boxem
To: mingw-w64-public@lists.sourceforge.net
Sent: Wednesday, April 3, 2013 7:54 AM
Subject: Re: [Mingw-w64-public] segfault
Op 3 apr. 2013 07:41 schreef "Ah
Op 3 apr. 2013 07:41 schreef "Ahso Aa" het volgende:
>
> Hi
> it works with mingw32 on Vista64 or on Linux/gcc 32 and 64bit. But with
mingw64 I get:
> a segmentation fault at IMG_Load:
>
> static int LoadGLTex(char *pFileName, int TextureId)
> {
> SDL_Surface* image = IMG_Load(pFileName);
>
> Any
Hi
it works with mingw32 on Vista64 or on Linux/gcc 32 and 64bit. But with
mingw64 I get:
a segmentation fault at IMG_Load:
static int LoadGLTex(char *pFileName, int TextureId)
{
SDL_Surface* image = IMG_Load(pFileName);
Any help on what to change?
Many thanks
Mike
Hi,
I'm having some trouble with my personal project I develop using mingw-w64.
I tried different compiler versions (sezero's 4.4 and 4.5, and the november
mingw autobuild). All segfault, at the same spot in libstdc++-v3 (gdb info
from sezero's 4.4 build seemed to provide the most information):
P
23 matches
Mail list logo