[Bug ld/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file

2007-10-05 Thread drangon dot mail at gmail dot com
--- Additional Comments From drangon dot mail at gmail dot com 2007-10-05 09:18 --- this is a bug of mingw-w64 crt, not binutils -- What|Removed |Added Status

[Bug ld/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file

2007-10-05 Thread drangon dot mail at gmail dot com
--- Additional Comments From drangon dot mail at gmail dot com 2007-10-05 08:14 --- Subject: Re: x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file After some more log, I think this is a bug of mingw-crt, After some special read, the "ftello64()" wi

[Bug ld/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file

2007-10-04 Thread drangon dot mail at gmail dot com
--- Additional Comments From drangon dot mail at gmail dot com 2007-10-05 03:43 --- Subject: Re: x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file your command works. I add some log in bfd_seek() and bfd_pread(), it seems that the file offset suddenly minus by

[Bug ld/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file

2007-10-04 Thread drangon dot mail at gmail dot com
--- Additional Comments From drangon dot mail at gmail dot com 2007-10-04 15:50 --- I add some printf in binutils/bfd/archive.c to print out some value. -- 380 if (bfd_bread (hdrp, sizeof (struct ar_hdr), abfd

[Bug ld/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file

2007-10-04 Thread drangon dot mail at gmail dot com
--- Additional Comments From drangon dot mail at gmail dot com 2007-10-04 15:49 --- Created an attachment (id=2034) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2034&action=view) log output info when running the modified code -- http://sourceware.org/bugzilla/show_

[Bug ld/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file

2007-10-04 Thread drangon dot mail at gmail dot com
--- Additional Comments From drangon dot mail at gmail dot com 2007-10-04 15:48 --- Created an attachment (id=2033) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2033&action=view) modified bfd/archive.c, add some log print -- http://sourceware.org/bugzilla/show_bug

[Bug ld/5105] New: x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file

2007-10-04 Thread drangon dot mail at gmail dot com
32 native ld.exe randomly failed to read the archive file Product: binutils Version: 2.19 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com

[Bug gas/5035] x86_64-pc-mingw32-as.exe failed to work

2007-09-16 Thread drangon dot mail at gmail dot com
--- Additional Comments From drangon dot mail at gmail dot com 2007-09-16 08:37 --- the same t2.cpp, if compiled by the cross compiler, doesn't has the ".hidden" section. see cross-t2.s , it seems cross g++ has some difference with native g++ for x86_64-pc-mingw32 targ

[Bug gas/5035] x86_64-pc-mingw32-as.exe failed to work

2007-09-16 Thread drangon dot mail at gmail dot com
-- What|Removed |Added Attachment #2009|asm code by cross compiler |asm code by cross compiler description|under linux, x86_64-pc- |under linux, x86_64-pc-

[Bug gas/5035] x86_64-pc-mingw32-as.exe failed to work

2007-09-16 Thread drangon dot mail at gmail dot com
--- Additional Comments From drangon dot mail at gmail dot com 2007-09-16 08:31 --- Created an attachment (id=2009) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2009&action=view) asm code by cross compiler under linux, x86_64-pc-mingw32-g++.exe -S -- http://sourcew

[Bug gas/5035] x86_64-pc-mingw32-as.exe failed to work

2007-09-16 Thread drangon dot mail at gmail dot com
--- Additional Comments From drangon dot mail at gmail dot com 2007-09-16 06:47 --- the testcase t1.c t2.s t2.cpp t2.s has upload as attachment /c/tools/target.old/bin/as.exe is the native x86_64-pc-mingw32 execute file compile from CVS head by cross compiler. /c/tools/target/bin/as.exe

[Bug gas/5035] x86_64-pc-mingw32-as.exe failed to work

2007-09-15 Thread drangon dot mail at gmail dot com
--- Additional Comments From drangon dot mail at gmail dot com 2007-09-16 06:36 --- Created an attachment (id=2008) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2008&action=view) asm code by x86_64-pc-mingw32-g++.exe -S -- http://sourceware.org/bugzilla/show_bug

[Bug gas/5035] x86_64-pc-mingw32-as.exe failed to work

2007-09-15 Thread drangon dot mail at gmail dot com
--- Additional Comments From drangon dot mail at gmail dot com 2007-09-16 06:36 --- Created an attachment (id=2007) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2007&action=view) cpp file of hello world -- http://sourceware.org/bugzilla/show_bug.cgi?id=5035

[Bug gas/5035] x86_64-pc-mingw32-as.exe failed to work

2007-09-15 Thread drangon dot mail at gmail dot com
--- Additional Comments From drangon dot mail at gmail dot com 2007-09-16 06:35 --- Created an attachment (id=2006) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2006&action=view) result of asm code by x86_64-pc-mingw32-gcc.exe -S -- http://sourceware.org/b

[Bug gas/5035] x86_64-pc-mingw32-as.exe failed to work

2007-09-15 Thread drangon dot mail at gmail dot com
--- Additional Comments From drangon dot mail at gmail dot com 2007-09-16 06:34 --- Created an attachment (id=2005) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2005&action=view) source code of c testcase -- http://sourceware.org/bugzilla/show_bug.cgi?id=5035

[Bug gas/5035] New: x86_64-pc-mingw32-as.exe failed to work

2007-09-14 Thread drangon dot mail at gmail dot com
d int' COLLECT_GCC_OPTIONS='-v' '-Wall' '-mtune=generic' c:/tools/target/bin/../lib/gcc/x86_64-pc-mingw32/4.3.0/../../../../x86_64-pc-mingw32/bin/as.exe -o C:/DOCUME~1/drangon/LOCALS~1/Temp/ccwnbaaa.o C:/DOCUME~1/drangon/LOCALS~1/Temp/ccQL.s C:/DOCUME~1/drangon/