[Bug gas/14201] gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62.
http://sourceware.org/bugzilla/show_bug.cgi?id=14201 Alan Modra changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Comment #6 from Alan Modra 2012-06-08 02:10:26 UTC --- An "Out of memory" error is exactly what you should get from a test that uses a ridiculous repeat count. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13409] winders should specify host endianness for iconv explicitly
http://sourceware.org/bugzilla/show_bug.cgi?id=13409 --- Comment #3 from Phil Krylov 2012-06-07 21:32:37 UTC --- Created attachment 6441 --> http://sourceware.org/bugzilla/attachment.cgi?id=6441 Patch against version 2.22 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13409] winders should specify host endianness for iconv explicitly
http://sourceware.org/bugzilla/show_bug.cgi?id=13409 Phil Krylov changed: What|Removed |Added CC||phil.krylov at gmail dot ||com Severity|normal |critical --- Comment #2 from Phil Krylov 2012-06-07 21:06:57 UTC --- Same with version 2.22 of binutils and FreeBSD6. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13409] winders should specify host endianness for iconv explicitly
http://sourceware.org/bugzilla/show_bug.cgi?id=13409 Phil Krylov changed: What|Removed |Added Blocks||11337 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/11337] windres compiles menus and dialogs to UNICODE not ANSI
http://sourceware.org/bugzilla/show_bug.cgi?id=11337 Phil Krylov changed: What|Removed |Added CC||phil.krylov at gmail dot ||com Depends on||13409 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/13697] [avr] Wrong symbol values with --gc-sections
http://sourceware.org/bugzilla/show_bug.cgi?id=13697 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #9 from Georg-Johann Lay 2012-06-07 18:00:55 UTC --- Fixed -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/14201] gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62.
http://sourceware.org/bugzilla/show_bug.cgi?id=14201 --- Comment #5 from H.J. Lu 2012-06-07 17:52:34 UTC --- The failure is OS dependent: #0 sb_scrub_and_add_sb (ptr=0x8196128, s=0xbfffe670) at /net/gnu-6/export/gnu/import/git/binutils/gas/sb.c:102 #1 0x0805b7c4 in input_scrub_include_sb (from=0xbfffe670, position=0x81a097b "", is_expansion=1) at /net/gnu-6/export/gnu/import/git/binutils/gas/input-scrub.c:287 #2 0x08065bee in do_repeat (count=-1, start=0x812e9cd "REPT", end=0x812e9c8 "ENDR") at /net/gnu-6/export/gnu/import/git/binutils/gas/read.c:3216 #3 0x08065b3d in s_rept (ignore=0) at /net/gnu-6/export/gnu/import/git/binutils/gas/read.c:3191 #4 0x08062be9 in read_a_source_file (name=0xbfffea19 "/tmp/x.s") at /net/gnu-6/export/gnu/import/git/binutils/gas/read.c:1076 #5 0x0804caa3 in perform_an_assembly_pass (argc=0, argv=0x819c7dc) at /net/gnu-6/export/gnu/import/git/binutils/gas/as.c:1095 #6 0x0804cdf0 in main (argc=2, argv=0x819c7d8) at /net/gnu-6/export/gnu/import/git/binutils/gas/as.c:1242 (gdb) f 2 #2 0x08065bee in do_repeat (count=-1, start=0x812e9cd "REPT", end=0x812e9c8 "ENDR") at /net/gnu-6/export/gnu/import/git/binutils/gas/read.c:3216 3216 input_scrub_include_sb (&many, input_line_pointer, 1); (gdb) p many $19 = { ptr = 0x37c3c008 "\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n\n .byte 0\n"..., len = 550502400, max = 1073741824} While holding a 500M sb, we are allocating another 500M sb. And the first 500M sb will be freed right after it: input_scrub_include_sb (&many, input_line_pointer, 1); sb_kill (&many); Why not reuse the first 500M sb? -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/14201] gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62.
http://sourceware.org/bugzilla/show_bug.cgi?id=14201 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Comment #4 from H.J. Lu 2012-06-07 17:06:12 UTC --- On Linux/ia32 with GCC 4.1.2, I got ../as-new -o dump.o /net/gnu-6/export/gnu/import/git/binutils/gas/testsuite/gas/i386/rept.s Executing on host: sh -c {../as-new -o dump.o /net/gnu-6/export/gnu/import/git/binutils/gas/testsuite/gas/i386/rept.s 2>&1} /dev/null gas.out (timeout = 300) ../as-new: out of memory allocating 1073741825 bytes after a total of 135168 bytes -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/13697] [avr] Wrong symbol values with --gc-sections
http://sourceware.org/bugzilla/show_bug.cgi?id=13697 --- Comment #8 from cvs-commit at gcc dot gnu.org 2012-06-07 16:53:25 UTC --- CVSROOT:/cvs/src Module name:src Changes by:ni...@sourceware.org2012-06-07 16:53:11 Modified files: ld : ChangeLog ld/scripttempl : avr.sc Log message: PR 13697 * scripttempl/avr.sc (.data): Keep it. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2454&r2=1.2455 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/scripttempl/avr.sc.diff?cvsroot=src&r1=1.12&r2=1.13 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
Re: Problem in binutils for aix6.1?
Hi John, I might have hit some bug in binutils 2.22. Have you tried using the current mainline development sources ? (It may well be that this problem has already been fixed there). If the problem still exists, please could you file a bug report here: http://sourceware.org/bugzilla/ Including a test case will help. Including an object file to link (instead of a C source file) will help even more. It will also be useful to know if the problem happens with other AIX versions or if it is specific to 6.1. Cheers Nick ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/14207] x86_64 linker can produce a NULL GNU_RELRO segment
http://sourceware.org/bugzilla/show_bug.cgi?id=14207 --- Comment #1 from Nick Clifton 2012-06-07 16:11:00 UTC --- Created attachment 6439 --> http://sourceware.org/bugzilla/attachment.cgi?id=6439 Skip filesize check when matching segments. Here is a proposed patch. It does two things: 1,. It adds a warning when a NULL GNU_RELO segment is going to be generated. 2. It skips the p_filesz check when matching real segments to the requested GNU_RELRO segment. I suspect that 2) will rejected and the correct patch will be to fix the generation of the initial segment map. But at least now the problem is out there for people to look at. Cheers Nick -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/14207] New: x86_64 linker can produce a NULL GNU_RELRO segment
http://sourceware.org/bugzilla/show_bug.cgi?id=14207 Bug #: 14207 Summary: x86_64 linker can produce a NULL GNU_RELRO segment Product: binutils Version: 2.23 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassig...@sourceware.org ReportedBy: ni...@redhat.com Classification: Unclassified Created attachment 6438 --> http://sourceware.org/bugzilla/attachment.cgi?id=6438 Test source file Using the uploaded relro.s source file, try the following using an x86_64-pc-linux-gnu linker: % as relro.s -o relro.o % ld -z relro -z now -shared relro.o % readelf -l a.out [snip] Program Headers: Type Offset VirtAddr PhysAddr FileSizMemSiz Flags Align LOAD 0x 0x 0x 0x01e0 0x01e0 R 20 LOAD 0x0b88 0x00200b88 0x00200b88 0x0470 0x0cb8 RW 20 DYNAMIC0x0bd0 0x00200bd0 0x00200bd0 0x0180 0x0180 RW 8 NULL 0x 0x 0x 0x 0x 0 [snip] Note how the GNU_RELRO segment has been replaced by an empty segment, and that no error or warning message was produced. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/14201] gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62.
http://sourceware.org/bugzilla/show_bug.cgi?id=14201 --- Comment #3 from cvs-commit at gcc dot gnu.org 2012-06-07 13:47:18 UTC --- CVSROOT:/cvs/src Module name:src Changes by:h...@sourceware.org2012-06-07 13:47:14 Modified files: gas/testsuite : ChangeLog gas/testsuite/gas/all: gas.exp Added files: gas/testsuite/gas/all: rept.d rept.s Log message: Add a testcase for PR gas/14201 PR gas/14201 * gas/all/gas.exp: Run rept. * gas/all/rept.d: New file. * gas/all/rept.s: Likewise. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2041&r2=1.2042 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/all/rept.d.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/all/rept.s.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/all/gas.exp.diff?cvsroot=src&r1=1.77&r2=1.78 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/14201] gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62.
http://sourceware.org/bugzilla/show_bug.cgi?id=14201 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|amodra at gmail dot com | Resolution||FIXED --- Comment #2 from Alan Modra 2012-06-07 12:49:04 UTC --- Fixed mainline -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/14201] gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62.
http://sourceware.org/bugzilla/show_bug.cgi?id=14201 --- Comment #1 from cvs-commit at gcc dot gnu.org 2012-06-07 12:47:27 UTC --- CVSROOT:/cvs/src Module name:src Changes by:amo...@sourceware.org2012-06-07 12:47:23 Modified files: gas: ChangeLog app.c as.c as.h input-file.c input-file.h input-scrub.c macro.c macro.h read.c sb.c sb.h Log message: PR gas/14201 * sb.h (sb_max_power_two): Delete. (struct sb): Delete "item" and "pot". Make "len" a size_t. Add "max". (sb_element): Delete. (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update prototypes. * sb.c (string_count, free_list): Delete. (sb_build, sb_kill, sb_check): Rewrite. (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer, sb_skip_white, sb_skip_comma): Replace assorted int params, vars and return types with size_t. * input-scrub.c: Likewise. * macro.c: Likewise. * macro.h: Likewise. * as.c: Likewise. * as.h: Likewise. * input-file.h: Likewise. * input-file.c: Likewise. * read.c: Likewise. * app.c: ..or ptrdiff_t. * input-file.c (input_file_get): Use ferror. (input_file_give_next_buffer): Use input_file_get. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4748&r2=1.4749 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/app.c.diff?cvsroot=src&r1=1.54&r2=1.55 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/as.c.diff?cvsroot=src&r1=1.101&r2=1.102 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/as.h.diff?cvsroot=src&r1=1.70&r2=1.71 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/input-file.c.diff?cvsroot=src&r1=1.28&r2=1.29 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/input-file.h.diff?cvsroot=src&r1=1.9&r2=1.10 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/input-scrub.c.diff?cvsroot=src&r1=1.25&r2=1.26 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/macro.c.diff?cvsroot=src&r1=1.55&r2=1.56 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/macro.h.diff?cvsroot=src&r1=1.19&r2=1.20 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/read.c.diff?cvsroot=src&r1=1.178&r2=1.179 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/sb.c.diff?cvsroot=src&r1=1.17&r2=1.18 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/sb.h.diff?cvsroot=src&r1=1.16&r2=1.17 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils