-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, Customers
于 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
于 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?
--
Best Regards,
PcX
--
Regards,
PcX
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger
于 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
--
EMC VNX
++ -std=c++0x test.cpp
a.exe
it shows
Hello from thread
Hello from thread
--
Best Regards,
PcX
--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified
,
+ ECHILD, ENOSPC, EPERM,
+ ETIMEDOUT, EWOULDBLOCK],
[m4_pushdef([SYSERR], m4_toupper(syserr))dnl
AC_MSG_CHECKING([for syserr])
AC_CACHE_VAL([glibcxx_cv_system_error[]n_syserr], [
--
Best Regards,
PcX
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 without -static is the same for me.
--
Best Regards,
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 only
-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 powerful than alternatives and 25% more
in his CVS, including 64bit patch.
--
Best Regards,
PcX
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super
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.
--
Best Regards,
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 Regards,
PcX
-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 Regards,
PcX
://lists.sourceforge.net/lists/listinfo/mingw-w64-public
HI, Ruben
Did your gccbinutils 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 2GB.
--
Best Regards,
PcX
) 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? Slashdot Needs You.
Take our quick survey online
? 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 Regards,
PcX
/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 the attachment.
--
Best Regards,
PcX
mingw-w64-crt.7z
Description: Binary data
: 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, you'll get a chance to win $100 to spend on ThinkGeek
于 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
于 2011/7/27 17:49, Ruben Van Boxem 写道:
2011/7/27 PcX xunxun1...@gmail.com 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 -lpthread
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 win $100 to spend
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 edition.
--
Best Regards,
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
于 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 '_image_base__' does
. 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 Lean Startup
Secrets Revealed
?
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.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent
need write a bugzilla
report to libgomp.
--
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
于 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
) add
team = gomp_malloc_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
于 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 Regards,
PcX
debug.log
--
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 activity, and more. Splunk
于 2011/7/11 17:15, Kai Tietz 写道:
You need to
configure gcc with --enable-threads=posix to have full feature-set
enabled for winpthread. Then you shouldn't have issues about gomp,
too.
And do I need
change team = gomp_malloc (size) to team = gomp_malloc_cleared
(size)?
--
Best Regards,
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 Regards,
PcX
\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 Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
_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 (pcx32) 7.3.50.20110709
于 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 in your
{
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 your IT infrastructure is seriously
于 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 infrastructure
(_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 application performance
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 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 performance
...
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 Regards,
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 the data
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
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...
--
Best Regards,
PcX
--
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 activity, and more. Sp
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
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:
--
Best
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 your
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
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]
--
Best Regards,
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".
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
54 matches
Mail list logo