User forums > General (but related to Code::Blocks)

TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)

<< < (7/15) > >>

xunxun:
@TDragon
I suggest you to build ld and lto1 using -Wl,--large-address-aware.
This can solve many memory exhausted problems.

thomas:

--- Quote from: xunxun1982 on October 06, 2011, 03:44:56 am ---Then you can try -flto-partition=none
--- End quote ---
Tried, thanks... did not help though, unluckily.

I can only successfully build Code::Blocks with MingW-gcc 4.6.1 without LTO at all (except for Tinyxml and Squirrel/SQPlus). Anything remotely close to wxWidgets in any way blows up and burns. And, although it builds without LTO, it still doesn't run (error 0xc0000005 at startup).

Funnily, I can build wxWidgets with MingW-gcc 4.6.1 and then Code::Blocks with MingW-gcc 4.5.3 using that DLL just fine, and it works...

Has anyone tried using the sjlj version? Maybe it's some interaction with DW2 too, who knows. I'm only ever using DW2 ("DW2 or bust!"), so that might be it.

xunxun:

--- Quote from: thomas on October 07, 2011, 02:04:51 pm ---
--- Quote from: xunxun1982 on October 06, 2011, 03:44:56 am ---Then you can try -flto-partition=none
--- End quote ---
Tried, thanks... did not help though, unluckily.

I can only successfully build Code::Blocks with MingW-gcc 4.6.1 without LTO at all (except for Tinyxml and Squirrel/SQPlus). Anything remotely close to wxWidgets in any way blows up and burns. And, although it builds without LTO, it still doesn't run (error 0xc0000005 at startup).

Funnily, I can build wxWidgets with MingW-gcc 4.6.1 and then Code::Blocks with MingW-gcc 4.5.3 using that DLL just fine, and it works...

Has anyone tried using the sjlj version? Maybe it's some interaction with DW2 too, who knows. I'm only ever using DW2 ("DW2 or bust!"), so that might be it.

--- End quote ---
It's very strange.
May you try my 4.6.1 edition (also dw2) https://pcxprj.googlecode.com/files/MinGW_gcc4.6.1release_static_win32.7z?
I haven't found these issues.

MortenMacFly:

--- Quote from: thomas on October 07, 2011, 02:04:51 pm ---Has anyone tried using the sjlj version? Maybe it's some interaction with DW2 too, who knows. I'm only ever using DW2 ("DW2 or bust!"), so that might be it.

--- End quote ---
So, I tried building wxWidets and C::B on Windows 7 with TDM 4.6.1 sjlj. It works nearly perfectly, only the NassiShneiderman plugin refuses to load. However, it's not an SDK mismatch issue (as C::B complains).

Ps.: Yes, I finally updated my platform from XP. ;-)

Alpha:

--- Quote from: MortenMacFly on October 09, 2011, 02:34:05 pm ---It works nearly perfectly, only the NassiShneiderman plugin refuses to load.

--- End quote ---
I believe that is a symptom of the problem I described here.

In the NassiShneiderman project file, change the linker option -enable-auto-import to -Wl,-enable-auto-import.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version