Re: [Mingw-w64-public] ffmpeg.c:4492: undefined reference to `_avdevice_register_all'

2011-09-10 Thread PcX
于 2011/9/10 18:51, PcX 写道: i686-w64-mingw32-gcc -Wl,--as-needed -Wl,--warn-common -Wl,-rpath-link=libpostproc:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil -o ffmpeg_g.exe ffmpeg.o cmdutils.o-Wl,--start-group -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat

Re: [Mingw-w64-public] ffmpeg.c:4492: undefined reference to `_avdevice_register_all'

2011-09-10 Thread PcX
es/sdl/sdl-1.2.14-win32/lib -lmingw32 -lSDLmain -lSDL -lm -luser32 -lgdi32 -lwinmm -ldxguid -lm -lpthread -lpsapi -lavdevice -Wl,--end-group -- Best Regards, PcX -- Malware Security Report: Protecting Your Business, Customer

Re: [Mingw-w64-public] C++ exception handling might be broken with build i686-w64-mingw32-gcc-4.7.0-stdthread_rubenvb.7z

2011-09-08 Thread PcX
于 2011/9/8 18:28, Kai Tietz 写道: Does this testcase also by using '-shared-libgcc' switch on linking? As execptions normally are requiring shared libgcc and shared libstdc++ to work proper? My static mingw64 gcc edition has no crash. Try to add "-static" to linker option?

Re: [Mingw-w64-public] Mixing VC++ and MinGW-W64: __chkstk

2011-08-30 Thread PcX
___ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > -- Regards, PcX -- Special Offer -- Download ArcSigh

Re: [Mingw-w64-public] GCC 4.7.0 with std::thread: the sequel

2011-08-29 Thread PcX
he crash. I've > dug up my GCC 4.7 build and am going to upload it now, with the > warning that if you try std::thread, link with -static :) I have forgot to put the header files. As I built gcc and winpthreads with "--enable-static --disable-shared", with or with

Re: [Mingw-w64-public] GCC 4.7.0 with std::thread: the sequel

2011-08-29 Thread PcX
于 2011/8/29 20:42, Ruben Van Boxem 写道: There's a bit more, check the libstdc++/configure bit of my patch. And rev 4428 of mingw-w64 I note that mingw-w64 has rev 4430, and winpthread has rev 4429. You may test them? -- Best Regards

Re: [Mingw-w64-public] GCC 4.7.0 with std::thread: the sequel

2011-08-29 Thread PcX
于 2011/8/29 20:40, Ruben Van Boxem 写道: > Yes I did. Might be a GCC 4.7 issue? I have no idea. I only test this for gcc4.6. -- Best Regards, PcX -- EMC VNX: the world's simplest storage, starting under $10K

Re: [Mingw-w64-public] GCC 4.7.0 with std::thread: the sequel

2011-08-29 Thread PcX
EOVERFLOW, +#endif // wrong_protocol_type = EPROTOTYPE }; Index: acinclude.m4 === --- acinclude.m4(revision 178145) +++ acinclude.m4(working copy) @@ -1700,7 +1700,9 @@ m4_pushdef

Re: [Mingw-w64-public] GCC 4.7.0 with std::thread: the sequel

2011-08-29 Thread PcX
rds, PcX -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guarante

Re: [Mingw-w64-public] GCC 4.7.0 with std::thread: the sequel

2011-08-29 Thread PcX
; s.join(); > return 0; > } I'm very annoyed. My built edition works well. g++ -std=c++0x test.cpp a.exe it shows Hello from thread Hello from thread -- Best Regards, PcX -- EMC VNX: the world'

Re: [Mingw-w64-public] GCC 4.7.0 with std::thread: the sequel

2011-08-29 Thread PcX
于 2011/8/29 20:04, Ruben Van Boxem 写道: > I am experiencing a std::system_error: Operation not permitted. in a > simple std::thread::join example. Can you supply some examples? Thanks. -- Best Regards, PcX -- E

Re: [Mingw-w64-public] enable std::thread experimental patch

2011-08-27 Thread PcX
Here is the test gcc package: http://pcxprj.googlecode.com/files/MinGW_gcc4.6.2.20110826_static_enable_std_thread_test.7z -- Best Regards, PcX -- EMC VNX: the world's simplest storage, starting under $10K The

[Mingw-w64-public] enable std::thread experimental patch

2011-08-27 Thread PcX
ou must configure gcc with "--enable-threads=posix", and should use Kai's winpthreads. -- Best Regards, PcX diff -ruNa old/gcc/config/i386/mingw32.h build/gcc/config/i386/mingw32.h --- old/gcc/config/i386/mingw32.h 2010-09-30 02:55:44 +0800 +++ build/gcc/config/i386/mingw32.h 2011-08-27

Re: [Mingw-w64-public] rubenvb's GCC 4.6.2 (prerelease) Personal build

2011-08-24 Thread PcX
tion is not enable on x86 -O1,-O2,-O3,-Os? -- Best Regards, PcX -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerfu

Re: [Mingw-w64-public] rubenvb's GCC 4.6.2 (prerelease) Personal build

2011-08-23 Thread PcX
is the same type of function, "-momit-leaf-frame-pointer" will override "-fomit-frame-pointer" and creating less optimized code. So I suggest get rid of "-momit-leaf-frame-pointer". 2) --enable-sjlj-exceptions I think most newer gcc use "--di

Re: [Mingw-w64-public] winpthreads issue

2011-08-16 Thread PcX
ublic@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public Good job, Kai. Thanks. -- Best Regards, PcX * 英 文 - 检测到 * 英文 * 中文(简体) * 英文 * 中文(简体) -- uberSVN's rich system and user admi

Re: [Mingw-w64-public] winpthreads issue

2011-08-11 Thread PcX
mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public Yea, I also think it's not gcc4.6 OpenMP problem. When I use gcc4.6 with winpthreads, my issue is the same as you. -- Best Regards, PcX

Re: [Mingw-w64-public] FYI: Welcome Ruben in his new role as packager for pre-build binaries for releases

2011-08-08 Thread PcX
于 2011/8/9 1:06, Ruben Van Boxem 写道: > Ah, right, it was a libgomp thing. Hmm... can't help there:( So I am only able to use pthreads-w32 :-[ , and the pthreads-w32 cvs is very new, and improve many 64bit compatibilities.:-) -- Best Rega

Re: [Mingw-w64-public] FYI: Welcome Ruben in his new role as packager for pre-build binaries for releases

2011-08-08 Thread PcX
ded a posix threaded GCC. That is unfortunately, still madness, as you nicely put Yea, I know. I try your edition and also my gcc --enable-threads=win32 with built winpthreads, but all crash with OpenMP. And only using winpthreads thread, that's no problem... I don't know why. -- Be

Re: [Mingw-w64-public] FYI: Welcome Ruben in his new role as packager for pre-build binaries for releases

2011-08-08 Thread PcX
... pthreads-w32 is very new in his CVS, including 64bit patch. -- Best Regards, PcX -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get

Re: [Mingw-w64-public] rubenvb's GCC 4.6.2 (prerelease) Personal build

2011-08-04 Thread PcX
net/#mingw-w64 Well, if I have the PE Programming knowledge, I will try to write one... I have some spare time now, but very sorry have not the PE structure technique. Could you provide some programming knowledge about the large address of the 32bit PE access? -- Best Re

Re: [Mingw-w64-public] rubenvb's GCC 4.6.2 (prerelease) Personal build

2011-08-03 Thread PcX
the limitation? Thanks. -- Best Regards, PcX -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the late

Re: [Mingw-w64-public] rubenvb's GCC 4.6.2 (prerelease) Personal build

2011-08-03 Thread PcX
于 2011/8/3 18:07, PcX 写道: > Yea, we can use VC tools editbin to do the same thing. btw, can MinGW64 project develop a tool like the editbin? -- Best Regards, PcX -- BlackBerry® DevCon Americas, Oct. 18-20,

Re: [Mingw-w64-public] rubenvb's GCC 4.6.2 (prerelease) Personal build

2011-08-03 Thread PcX
re: > mingw32/bin/ld.exe > mingw32/i686-w64-mingw32/bin/ld.exe > mingw32/libexec/gcc/i686-w64-mingw32/4.6.2/lto1.exe > > This should have the same result, so should get you past this problem > until my next build. > > Ruben Yea, we can use VC tools editbin to

Re: [Mingw-w64-public] rubenvb's GCC 4.6.2 (prerelease) Personal build

2011-08-03 Thread PcX
rceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public HI, Ruben Did your gcc&binutils 32bit have built with -Wl,--large-address-aware? Because ld.exe and lto1.exe 32bit default built edition can't allocate the memory more than

Re: [Mingw-w64-public] MinGW64 CRT built using PGO Optimization has some problems

2011-07-31 Thread PcX
? 2011/8/1 2:36, Kai Tietz ??: Wouldn't that destroy the license of mingwex? > > Earnie Duh ... good point. You are right no way here. Is there some way to add the ld option : -Wl,--start-group and -Wl,--end-group ? -- Best R

Re: [Mingw-w64-public] MinGW64 CRT built using PGO Optimization has some problems

2011-07-31 Thread PcX
d to review (and maybe improve) libgcov code, > so that we are sure it doesn't rely on libmingwex library. > > Kai So I temporarily merge the libmingwex and libgcov. -- Best Regards, PcX -- Got Input? Slash

Re: [Mingw-w64-public] MinGW64 CRT built using PGO Optimization has some problems

2011-07-29 Thread PcX
于 2011/7/29 18:32, PcX 写道: Hi ,all I try to use PGO Optimization to build MinGW64 CRT, but in the check, it has some link stage errors. 1) I use the configure option below: ./configure --prefix=/mingw --enable-lib32 --enable-wildcard --enable-tests-unicode 2) make

Re: [Mingw-w64-public] Enable ld.exe --large-address-aware on Win 32bit toolchain binaries.

2011-07-29 Thread PcX
ourself. Or you can use VC tools: "editbin /largeaddressaware ld.exe" -- Best Regards, PcX -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, yo

[Mingw-w64-public] MinGW64 CRT built using PGO Optimization has some problems

2011-07-29 Thread PcX
: *** [testcases/t_ansi_io.exe] Error 1 make[2]: Leaving directory `/e/new/gcc/mingw-w64/build/mingw-w64-crt' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/e/new/gcc/mingw-w64/build/mingw-w64-crt' make: *** [check] Error 2 All log is in th

Re: [Mingw-w64-public] Trouble with build gcc-4.6.2_rubenvb.tar.lzma

2011-07-27 Thread PcX
tested other edition. But tdm's edition has no problem. -- Best Regards, PcX -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to

Re: [Mingw-w64-public] Trouble with build gcc-4.6.2_rubenvb.tar.lzma

2011-07-27 Thread PcX
于 2011/7/27 17:49, Ruben Van Boxem 写道: 2011/7/27 PcX mailto:xunxun1...@gmail.com>> Hi, Ruben Your gcc-4.6.2's OpenMP (-fopenmp) seems to lack the linker option "-lpthread". I have to build OpenMP program using "gcc -fopenmp main.c -lgomp -l

Re: [Mingw-w64-public] Trouble with build gcc-4.6.2_rubenvb.tar.lzma

2011-07-26 Thread PcX
Hi, Ruben Your gcc-4.6.2's OpenMP (-fopenmp) seems to lack the linker option "-lpthread". I have to build OpenMP program using "gcc -fopenmp main.c -lgomp -lpthread" with your editio

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-26 Thread PcX
于 2011/7/23 20:43, NightStrike 写道: PcX, Is this still an issue, or did you figure it out in other threads? It also has the problem. I try to debug other thread: (gdb) thread 2 [Switching to thread 2 (Thread

Re: [Mingw-w64-public] MinGW64 CRT built with "-flto" can't be used with gcc4.6 lto plugin

2011-07-22 Thread PcX
于 2011/7/13 22:00, PcX 写道: > (3)gcc -g -flto -c main.c >gcc main.o -flto -fuse-linker-plugin >a.exe >it will crash. > In addition, the linker stage have some warnings: > -- > crt/pseudo-reloc.c:49:13: warning: type of

Re: [Mingw-w64-public] May MinGW64 CRT add dlfcn?

2011-07-22 Thread PcX
(DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > ___ > Mingw-w64-public mailing list > Mingw-w64-public@lists.s

[Mingw-w64-public] May MinGW64 CRT add dlfcn?

2011-07-22 Thread PcX
Hi, all As gcc with plugin needs dlfcn, we may add dlfcn-win32 (http://code.google.com/p/dlfcn-win32/downloads/list) to MinGW64. The dlfcn.h is compatible with MS. Thanks. -- Best Regards, PcX dlfcn-win32-r19.7z Description: Binary data

Re: [Mingw-w64-public] MinGW64 CRT built with "-flto" can't be used with gcc4.6 lto plugin

2011-07-14 Thread PcX
ight code with lto. But now, the code with lto will crash. -- Best Regards, PcX -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Le

[Mingw-w64-public] MinGW64 CRT built with "-flto" can't be used with gcc4.6 lto plugin

2011-07-13 Thread PcX
n attachment. I don't know this is the gcc4.6 lto plugin bug or mingw64 crt bug? Thanks. -- Best Regards, PcX GNU gdb (pcx32) 7.3.50.20110709 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-11 Thread PcX
= (_pthread_v *) TlsGetValue (_pthread_tls); (gdb) -- Best Regards, PcX debug.log Description: Binary data -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-11 Thread PcX
于 2011/7/11 19:13, Kai Tietz 写道: > Another thing missing here is the use of lock as prefix Er.. I have to go out for some moment and sorry... -- Best Regards, PcX -- All of the data generated in your IT infrastruct

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-11 Thread PcX
于 2011/7/11 19:11, Kai Tietz 写道: > 2011/7/11 PcX: >> 于 2011/7/11 19:02, Kai Tietz 写道: >>> So I don't understand here this ill-instruction failure you see. xadd >>> (which is used here underhood for .InterlockedDecrement is present >>> beginning with

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-11 Thread PcX
very strange. I write : __asm{ mov eax, 16 mov ebx, b xadd [ebx], eax } The code can be runed by VC. -- Best Regards, PcX -- All of the data generated in you

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-11 Thread PcX
于 2011/7/11 18:57, Kai Tietz 写道: > What funny CPU you are using? It seems that xadd isn't supported by it. Intel(R) Core(TM)2 Duo CPU T6600 @ 2.20GHz 2.20 GHz -- Best Regards, PcX -- All of the data generated

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-11 Thread PcX
. Here is: (gdb) p _pthread_tls $1 = 2 (gdb) c Continuing. Program received signal SIGILL, Illegal instruction. 0x00409310 in _spin_lite_lock (l=0x40e040) at e:\new\gcc\mingw-w64\build\winpthreads\src\spinlock.c:169 169_spin_lite_lock_dec(bscnt); (gdb) -- Best Regards, PcX GNU gdb (pc

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-11 Thread PcX
tdll.dll #14 0x00694558 in ?? () #15 0x76f69ea5 in wcscat () from C:\Windows\system32\ntdll.dll #16 0x755b12e5 in msvcrt!_endthreadex () from C:\Windows\syswow64\msvcrt.dll #17 0x in ?? () (gdb) -- Best Regards, PcX GNU gdb (pcx32) 7.3.50.20110709 Copyright (C) 2011 Free Software Foundati

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-11 Thread PcX
于 2011/7/11 17:19, Kai Tietz 写道: > Yes, this is for sure something good, as it pre-initialize memory here. OK, I'll try again. I will go to dinner, and after that, I will email to you. Wait for my information please. Thanks. -- Best Rega

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-11 Thread PcX
lloc_cleared (size)"? -- Best Regards, PcX -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-11 Thread PcX
struct __emutls_array *arr = __gthread_getspecific (emutls_key); (gdb) step __gthread_getspecific (__key=3) at e:\new\gcc\gcc4.6\build\gcc\gthr-win32.h:609 609 __lasterror = GetLastError (); (gdb) step 611 __ptr = TlsGetValue (__key); (gdb) step [New Thread 4880.0xca0] [Inferior 1 (process

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-11 Thread PcX
于 2011/7/11 16:06, Kai Tietz 写道: I mean change "team = gomp_malloc (size)" to "team = gomp_malloc_cleared (size)" I do that, but seem not be functional. It's debug log. It stops at 611 __ptr = TlsGetValue (__key); Then it seems to enter an endless lopp. -- Best

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-11 Thread PcX
ed (size)", or after ""team = gomp_malloc (size)"" add "team = gomp_malloc_cleared (size)"? -- Best Regards, PcX -- All of the data generated in your IT infrastructure is serious

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-11 Thread PcX
于 2011/7/11 15:17, Kai Tietz 写道: could you test this modification and see You say the libgomp modification ? I have to recompile gcc... -- Best Regards, PcX -- All of the data generated in your IT infrastructure is

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-11 Thread PcX
I help you? I don't know how the problem is described? Do we need write a bugzilla report to libgomp. -- Best Regards, PcX -- All of the data generated in your IT infrastructure is seriously valuable. Why?

Re: [Mingw-w64-public] Building GCC with my scripts under MSYS

2011-07-10 Thread PcX
open for MSYS giving the details of how to reproduce it. Yea, I agree with your point. But I only say "*sometimes on msys*"... I don't know why this come out, as when I use Linux, I don't meet the kind of question.

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-10 Thread PcX
into an end loop but doesn't crash: It keeps the same always. So I type "ctrl-c" to stop this: What problem is this? -- Best Regards, PcX --

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-10 Thread PcX
于 2011/7/10 17:29, Kai Tietz 写道: > Sorry, but I will stop here further investigations as it seems to be a > bug somewhere else. Thanks. I will use pthread-win32 temporarily. -- Best Regards, PcX -- All of th

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-10 Thread PcX
ction... gdb outputs: If I change sem.c 123 line to if (!sem || (sv = *sem) == NULL || IsBadReadPtr (sv, sizeof (*sv)) || sv->valid == DEAD_SEM) gdb output: -- Best Rega

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-10 Thread PcX
AD_SEM) It doesn't help: -- Best Regards, PcX -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-10 Thread PcX
Hi, Kai Tietz     I update to svn 4266, and there is also the problem, but is different: -- Best Regards, PcX -- All of the data generated in your IT

Re: [Mingw-w64-public] Building GCC with my scripts under MSYS

2011-07-09 Thread PcX
cc on msys, I will build in the source directory. For a long time, this method make the build stage easy. Using the same directory, I have built gcc 4.5-4.6 edition successfully. [http://code.google.com/p/pcxprj/downloads/list] --

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-09 Thread PcX
于 2011/7/9 19:15, PcX 写道: 于 2011/7/9 18:36, Kai Tietz 写道: The potential fix for this is at rev 4265. I update to 4265, but it also has the problem: -- Best Regards, PcX This is more information: -- Best

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-09 Thread PcX
于 2011/7/9 18:36, Kai Tietz 写道: The potential fix for this is at rev 4265. I update to 4265, but it also has the problem: -- Best Regards, PcX -- All of the data generated in

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-09 Thread PcX
于 2011/7/9 17:59, PcX 写道: 于 2011/7/9 17:50, PcX 写道: then all work well. I fix my result. It can run, but seem to enter an endless loop. -- Best Regards, PcX This is more information

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-09 Thread PcX
于 2011/7/9 17:50, PcX 写道: then all work well. I fix my result. It can run, but seem to enter an endless loop. -- Best Regards, PcX -- All of the data generated in your IT

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-09 Thread PcX
t the code, then all work well. Thanks. -- Best Regards, PcX -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security thr

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-08 Thread PcX
于 2011/7/9 13:05, PcX 写道:     I tried to debug winpthread, and I found the crash stopped at src/mutex.c:38 38 if (!m || !*m) And I tried to print the value of the *m (gdb) p *m Cannot access memory at address 0xbaadf019

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-08 Thread PcX
Hi, all     I tried to debug winpthread, and I found the crash stopped at src/mutex.c:38 38 if (!m || !*m) -- Best Regards, PcX -- All of the data generated in

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-08 Thread PcX
于 2011/7/9 1:33, PcX 写道: Hi, all     I built winpthread with "./configure --enable-static --disable-shared", and I use it to build gcc4.6.1 with "./configure --enable-libgomp --enable-static --disable-shared".

[Mingw-w64-public] winpthread build with static edition

2011-07-08 Thread PcX
        But if I use pthread-win32 static edition to build libgomp, all work fine.         Where am I wrong?         Thanks. -- Best Regards, PcX -- All of the data generated in your