2012/9/23 KC <[email protected]>

> Hi
>
> I use mingw-w64 WIN64 cross compiler for quite a while under CentOS 6.x
> which use glibc-2.12.
> (I use this version: mingw-w64-1.0-bin_x86_64-linux_20110822.tar.bz2)
> and everything is OK.
>
> Recently, I need to porting my app from WIN64 to WIN32.  As usual, I want
> to use
> WIN32 cross compiler under CentOS 6.x and I
> install similar version: mingw-w32-1.0-bin_x86_64-linux_20110822.tar.bz2
> However, when running gcc, I got the following error message:
> ./i686-w64-mingw32-gcc: /lib64/libc.so.6: version `GLIBC_2.14' not found
> (required by ./i686-w64-mingw32-gcc)
>
> I also try other mingw-w32-1.0-bin_x86_64-linux_xxxx version, all have the
> same problem.
>
> Anyone know how to fix this problem ?
>

There's only one "solution" to that problem: update glibc. But don't do
that. It'll probably mess up your system. The Glibc 2.14 dependency means
the binary was built on a system with a newer Glibc than you have on yours.
There's no sensible way you as a user can solve this. I'm not sure how this
is handled for the Automated builds like the one you downloaded.

I build my toolchains on a Debian Stable box, which is currently at Glibc
2.11, so you should be able to use them without problems.
You can find them here:
64-bit<http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/rubenvb/>and
32-bit<http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/>

I have GCC 4.5, 4.6 and 4.7 builds. I know the latest 4.6 and 4.7 will work
for you, the 4.5 might not. The "release" versions are based off of stable
released GCC and MinGW-w64 versions. Just untar, add mingw??/bin to PATH
and off you go :)

Hope this helps,

Ruben



> Thanks a lot.
> KC
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to