[Bug binutils/5099] Missing apostrophe in bfd-2.17.90.pot
--- Additional Comments From nickc at redhat dot com 2007-10-04 13:41 --- Apostrophe added. -- What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://sourceware.org/bugzilla/show_bug.cgi?id=5099 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/5100] Spelling fix for too in opcodes-2.17.90.pot
--- Additional Comments From nickc at redhat dot com 2007-10-04 13:43 --- Spelling correction checked in. -- What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://sourceware.org/bugzilla/show_bug.cgi?id=5100 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/5097] Spelling fix for cannot
--- Additional Comments From nickc at redhat dot com 2007-10-04 13:36 --- Spelling correction checked in. -- What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://sourceware.org/bugzilla/show_bug.cgi?id=5097 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/5098] Spelling fix for ordinals
--- Additional Comments From nickc at redhat dot com 2007-10-04 13:38 --- Spelling correction checked in. -- What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://sourceware.org/bugzilla/show_bug.cgi?id=5098 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/4844] auto-import and const data import problem
--- Additional Comments From nickc at redhat dot com 2007-10-04 13:57 --- Hi Eric, OK, I have checked in the revised warning message patch. If it turns out that too many users are tripped up by this problem then we can reconsider enabling the move-constant-data-into-.data-section feature by default. Cheers Nick ld/ChangeLog 2007-10-04 Nick Clifton <[EMAIL PROTECTED]> PR linker/4844 * emultempl/pep.em (pep_find_data_imports): Issue a warning message if auto importing is triggered without --enable-auto-import having been specified on the command line. * emultempl/pe.em (pe_find_data_imports): Likewise. -- http://sourceware.org/bugzilla/show_bug.cgi?id=4844 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
Re: [Bug ld/4988] [2.18/HEAD regression] Assertion failures in ld
Hi Julien, Thanks for the extra libraries. My attempt to build the simph323 binary gets further now, but it still fails with some missing libaries (and a missing loader). Note - I do not have a mips-linux system available to me so I am building the binary using a cross-hosted mipsel-linux-gnu toolchain on an x86_64 host. The missing files are: libcrypt.so.1 libgnutls.so.13 ld.so.1 libz.so.1 libasound.so.2 libdirectfb-0.9.so.25 libfusion-0.9.so.25 libdirect-0.9.so.25 Plus of course any other libraries that these libraries need. :-) Cheers Nick ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/4988] [2.18/HEAD regression] Assertion failures in ld
--- Additional Comments From nickc at redhat dot com 2007-10-04 14:27 --- Subject: Re: [2.18/HEAD regression] Assertion failures in ld Hi Julien, Thanks for the extra libraries. My attempt to build the simph323 binary gets further now, but it still fails with some missing libaries (and a missing loader). Note - I do not have a mips-linux system available to me so I am building the binary using a cross-hosted mipsel-linux-gnu toolchain on an x86_64 host. The missing files are: libcrypt.so.1 libgnutls.so.13 ld.so.1 libz.so.1 libasound.so.2 libdirectfb-0.9.so.25 libfusion-0.9.so.25 libdirect-0.9.so.25 Plus of course any other libraries that these libraries need. :-) Cheers Nick -- http://sourceware.org/bugzilla/show_bug.cgi?id=4988 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file
--- 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.cgi?id=5105 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/5105] New: x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file
under x86_64 linux, I built the cross x86_64-pc-mingw32 compiler using the latest CVS/SVN head of binutils gcc mingw-w64, and the use the cross compiler to build the native x86_64-pc-mingw32 compiler toolchain. Then I ran the compiler in native WinXP x64, the compiler toolchain failed to compile. And I think this is mostly a bug of ld.exe when reading the archive file. A very simple "hello world" program t3.c, use gcc.exe and as.exe to create obj file : ..\target\bin\gcc -S t3.c ..\target\bin\as t3.s -o t3.o then the following command can generate t3.exe successfully under command line ..\target\bin\ld.exe -static -o t3.exe ..\target\x86_64-pc-mingw32\lib\crt2.o ..\target\x86_64-pc-mingw32\lib\crtbegin.o -L ..\target\x86_64-pc-mingw32\lib t3.o t3_pp.o -lmingw32 -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lmoldname -lmingwex -lmsvcrt ..\target\x86_64-pc-mingw32\lib\crtend.o but if I double the "-lmingw32", it failed to generate exe file ..\target\bin\ld.exe -static -o t3.exe ..\target\x86_64-pc-mingw32\lib\crt2.o ..\target\x86_64-pc-mingw32\lib\crtbegin.o -L ..\target\x86_64-pc-mingw32\lib t3.o t3_pp.o -lmingw32 -lmingw32 -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lmoldname -lmingwex -lmsvcrt ..\target\x86_64-pc-mingw32\lib\crtend.o ..\target\x86_64-pc-mingw32\lib\libmingw32.a: file not recognized: File format n ot recognized If I run the command similar with the first successful example ( mainly change the "\" to "/" ) in MSYS, run the same command several times, all the odd times run successfule and all the even times run failed. the same command! [EMAIL PROTECTED] /c/tools/test2 $ /c/tools/target/bin/ld.exe -static -o t3.exe /c/tools/target/x86_64-pc-mingw 32/lib/crt2.o /c/tools/target/x86_64-pc-mingw32/lib/crtbegin.o -L /c/tools/ target/lib.old/gcc/x86_64-pc-mingw32/4.3.0 t3.o t3_pp.o -lmingw32 -lmoldname - lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lmoldname -lmingwex -lmsvcrt /c/tools/target/x86_64-pc-mingw32/lib/crtend.o [EMAIL PROTECTED] /c/tools/test2 $ /c/tools/target/bin/ld.exe -static -o t3.exe /c/tools/target/x86_64-pc-mingw 32/lib/crt2.o /c/tools/target/x86_64-pc-mingw32/lib/crtbegin.o -L /c/tools/ target/lib.old/gcc/x86_64-pc-mingw32/4.3.0 t3.o t3_pp.o -lmingw32 -lmoldname - lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lmoldname -lmingwex -lmsvcrt /c/tools/target/x86_64-pc-mingw32/lib/crtend.o c:\tools\target\bin\../x86_64-pc-mingw32/lib\libmsvcrt.a: file not recognized: File format not recognized -- Summary: x86_64-pc-mingw32 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 ReportedBy: drangon dot mail at gmail dot com CC: bug-binutils at gnu dot org GCC build triplet: x86_64-redhat-linux-gnu GCC host triplet: x86_64-pc-mingw32 GCC target triplet: x86_64-pc-mingw32 http://sourceware.org/bugzilla/show_bug.cgi?id=5105 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file
--- 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.cgi?id=5105 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file
--- 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) != sizeof (struct ar_hdr)) 381 { 382 if (bfd_get_error () != bfd_error_system_call) 383 bfd_set_error (bfd_error_no_more_archived_files); 384 return NULL; 385 } 386 printf( "-4- hdr.ar_mag [%s], ARFMAG [%s], mag [%s]\n", hdr.ar_fmag, ARFMAG, mag == NULL ? "(null)" : mag ); 387 if (strncmp (hdr.ar_fmag, ARFMAG, 2) != 0 388 && (mag == NULL 389 || strncmp (hdr.ar_fmag, mag, 2) != 0)) 390 { 391 bfd_set_error (bfd_error_malformed_archive); 392 return NULL; 393 } 394 395 errno = 0; 396 parsed_size = strtol (hdr.ar_size, NULL, 10); 397 printf( "-4- hdr.ar_size [%s], parsed_size %d, ar_name [%s]\n", hdr.ar_size, (int)parsed_size, hdr.ar_name ); 398 if (errno != 0) 399 { 400 bfd_set_error (bfd_error_malformed_archive); 401 return NULL; 402 } --- and from the log, the first some times, it reads the archive successfully : -- *** [bfd_generic_archive_p:644] begin read file [..\target\x86_64-pc-mingw32\lib\libmingw32.a] -4- hdr.ar_mag [` ], ARFMAG [` ], mag [(null)] -4- hdr.ar_size [1758 ` ], parsed_size 1758, ar_name [/ 1191037575 0 0 0 1758 ` ] -4- hdr.ar_mag [` ], ARFMAG [` ], mag [(null)] -4- hdr.ar_size [22` ], parsed_size 22, ar_name [// 22` ] -2- slurp ok -4- hdr.ar_mag [` ], ARFMAG [` ], mag [(null)] -4- hdr.ar_size [22` ], parsed_size 22, ar_name [// 22` ] -3- extended ok -4- hdr.ar_mag [` ], ARFMAG [` ], mag [(null)] -4- hdr.ar_size [2985 ` ], parsed_size 2985, ar_name [crt0_c.o/ 1191037555 500 501 100664 2985 ` ] *** has map and first object failed. --- but the last some times, it reads failed *** [bfd_generic_archive_p:644] begin read file [..\target\x86_64-pc-mingw32\lib\libmingw32.a] -4- hdr.ar_mag [` ], ARFMAG [` ], mag [(null)] -4- hdr.ar_size [1758 ` ], parsed_size 1758, ar_name [/ 1191037575 0 0 0 1758 ` ] -4- hdr.ar_mag [` ], ARFMAG [` ], mag [(null)] -4- hdr.ar_size [22` ], parsed_size 22, ar_name [// 22` ] -2- slurp ok -4- hdr.ar_mag [ `], ARFMAG [` ], mag [(null)] -3- namedata is NULL *** slurp or extend failed -- the hdr head reads " hdr.ar_mag [ `] ", it should be "`\012", I don't understand why this value suddenly goes wrong ... -- http://sourceware.org/bugzilla/show_bug.cgi?id=5105 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/5059] absolute objcopy not working on amd64?
--- Additional Comments From happyarch at gmail dot com 2007-10-04 16:23 --- tried binutils-2.18.50, but had same error messages. disk_io.c seems need to be fixed to works with amd64. disk_io.c:1722: warning: cast to pointer from integer of different size /tmp/ccykZkkM.s: Assembler messages: /tmp/ccykZkkM.s:795: Error: Incorrect register `%rax' used with `l' suffix /tmp/ccykZkkM.s:847: Error: Incorrect register `%rax' used with `l' suffix make[2]: *** [pre_stage2_exec-disk_io.o] Error 1 make[2]: Leaving directory `/sources/grub-0.97/stage2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/sources/grub-0.97' make: *** [all] Error 2 root:/sources/grub-0.97# -- http://sourceware.org/bugzilla/show_bug.cgi?id=5059 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/5109] New: Extra REX byte generated in Intel mode
[EMAIL PROTECTED] simd]$ cat x.s .intel_syntax noprefix comisd xmm1,QWORD PTR [rip+0x12345678] cvtdq2pd xmm1,QWORD PTR [rip+0x12345678] cvtps2pd xmm1,QWORD PTR [rip+0x12345678] movhpd QWORD PTR [rip+0x12345678],xmm1 movhpd xmm1,QWORD PTR [rip+0x12345678] movhps QWORD PTR [rip+0x12345678],xmm1 movhps xmm1,QWORD PTR [rip+0x12345678] movlpd QWORD PTR [rip+0x12345678],xmm1 movlpd xmm1,QWORD PTR [rip+0x12345678] movlps QWORD PTR [rip+0x12345678],xmm1 movlps xmm1,QWORD PTR [rip+0x12345678] ucomisd xmm1,QWORD PTR [rip+0x12345678] cmpeqsd xmm0,QWORD PTR [rax] cvtpi2pd xmm0,QWORD PTR [rax] cvtpi2ps xmm0,QWORD PTR [rax] cvtps2pi mm0,QWORD PTR [rax] cvtsd2ss xmm0,QWORD PTR [rax] divsd xmm0,QWORD PTR [rax] maxsd xmm0,QWORD PTR [rax] movntsd QWORD PTR [rax],xmm0 movsd xmm0,QWORD PTR [rax] movsd QWORD PTR [rax],xmm0 mulsd xmm0,QWORD PTR [rax] sqrtsd xmm0,QWORD PTR [rax] subsd xmm0,QWORD PTR [rax] [EMAIL PROTECTED] simd]$ gcc -c x.s [EMAIL PROTECTED] simd]$ objdump -dw x.o | sed -e "s/[ \t]*#.*$//" x.o: file format elf64-x86-64 Disassembly of section .text: <.text>: 0: 66 48 0f 2f 0d 78 56 34 12 rex.W comisd 0x12345678(%rip),%xmm1 9: f3 48 0f e6 0d 78 56 34 12 rex.W cvtdq2pd 0x12345678(%rip),%xmm1 12: 48 0f 5a 0d 78 56 34 12 rex.W cvtps2pd 0x12345678(%rip),%xmm1 1a: 66 48 0f 17 0d 78 56 34 12 rex.W movhpd %xmm1,0x12345678(%rip) 23: 66 48 0f 16 0d 78 56 34 12 rex.W movhpd 0x12345678(%rip),%xmm1 2c: 48 0f 17 0d 78 56 34 12 rex.W movhps %xmm1,0x12345678(%rip) 34: 48 0f 16 0d 78 56 34 12 rex.W movhps 0x12345678(%rip),%xmm1 3c: 66 48 0f 13 0d 78 56 34 12 rex.W movlpd %xmm1,0x12345678(%rip) 45: 66 48 0f 12 0d 78 56 34 12 rex.W movlpd 0x12345678(%rip),%xmm1 4e: 48 0f 13 0d 78 56 34 12 rex.W movlps %xmm1,0x12345678(%rip) 56: 48 0f 12 0d 78 56 34 12 rex.W movlps 0x12345678(%rip),%xmm1 5e: 66 48 0f 2e 0d 78 56 34 12 rex.W ucomisd 0x12345678(%rip),%xmm1 67: f2 48 0f c2 00 00 rex.W cmpeqsd (%rax),%xmm0 6d: 66 48 0f 2a 00 rex.W cvtpi2pd (%rax),%xmm0 72: 48 0f 2a 00 rex.W cvtpi2ps (%rax),%xmm0 76: 48 0f 2d 00 rex.W cvtps2pi (%rax),%mm0 7a: f2 48 0f 5a 00 rex.W cvtsd2ss (%rax),%xmm0 7f: f2 48 0f 5e 00 rex.W divsd (%rax),%xmm0 84: f2 48 0f 5f 00 rex.W maxsd (%rax),%xmm0 89: f2 48 0f 2b 00 rex.W movntsd %xmm0,(%rax) 8e: f2 48 0f 10 00 rex.W movsd (%rax),%xmm0 93: f2 48 0f 11 00 rex.W movsd %xmm0,(%rax) 98: f2 48 0f 59 00 rex.W mulsd (%rax),%xmm0 9d: f2 48 0f 51 00 rex.W sqrtsd (%rax),%xmm0 a2: f2 48 0f 5c 00 rex.W subsd (%rax),%xmm0 [EMAIL PROTECTED] simd]$ -- Summary: Extra REX byte generated in Intel mode Product: binutils Version: 2.19 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: hjl at lucon dot org CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=5109 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/5109] Extra REX byte generated in Intel mode
--- Additional Comments From hjl at lucon dot org 2007-10-05 02:26 --- Fixed by http://sourceware.org/ml/binutils/2007-10/msg00079.html -- What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://sourceware.org/bugzilla/show_bug.cgi?id=5109 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file
-- What|Removed |Added CC||hjl at lucon dot org http://sourceware.org/bugzilla/show_bug.cgi?id=5105 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file
--- Additional Comments From hjl at lucon dot org 2007-10-05 02:29 --- Does # ld.exe -r --whole-archive ..\target\x86_64-pc-mingw32\lib\libmingw32.a work? -- http://sourceware.org/bugzilla/show_bug.cgi?id=5105 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file
--- 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 1, this is not caused by a seek(), it seem like some call return -1 and then add to position. 5 Oct 2007 02:29:30 -, hjl at lucon dot org <[EMAIL PROTECTED]>: > > --- Additional Comments From hjl at lucon dot org 2007-10-05 02:29 > --- > Does > > # ld.exe -r --whole-archive ..\target\x86_64-pc-mingw32\lib\libmingw32.a > > work? > > -- > > > http://sourceware.org/bugzilla/show_bug.cgi?id=5105 > > --- You are receiving this mail because: --- > You reported the bug, or are watching the reporter. > -- http://sourceware.org/bugzilla/show_bug.cgi?id=5105 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file
--- Additional Comments From hjl at lucon dot org 2007-10-05 04:48 --- (In reply to comment #5) > 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 1, > this is not caused by a seek(), it seem like some call return -1 and > then add to position. > It may be an interface or mingw issue. Please check if types used in bfd_seek and bfd_bread are correct. -- http://sourceware.org/bugzilla/show_bug.cgi?id=5105 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils