[Bug binutils/5020] New: windres does resource my STRINGTABLE

2007-09-11 Thread colin dot harrison at virgin dot net
As discussed on
http://sourceware.org/ml/binutils/2007-09/msg00116.html
I'm having problems with windres and my STRINGTABLE

-- 
   Summary: windres does resource my STRINGTABLE
   Product: binutils
   Version: 2.18
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: colin dot harrison at virgin dot net
CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=5020

--- 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/5020] windres does resource my STRINGTABLE

2007-09-11 Thread colin dot harrison at virgin dot net

--- Additional Comments From colin dot harrison at virgin dot net  
2007-09-11 08:27 ---
Created an attachment (id=2000)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2000&action=view)
File containing the STRINGTABLE


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5020

--- 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/5020] windres does resource my STRINGTABLE

2007-09-11 Thread colin dot harrison at virgin dot net

--- Additional Comments From colin dot harrison at virgin dot net  
2007-09-11 08:34 ---
windres does resource my STRINGTABLE
should read
windres doesn't resource my STRINGTABLE

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5020

--- 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 admin/5021] New: configure does not recognize makeinfo-4.11

2007-09-11 Thread balducci at units dot it
Apologies if I'm missing something.

It seems to me that configure does not correctly recognize makeinfo version
>=4.10 (texinfo-4.11 has been just released)

The following patch fixes things for me (don't know if it's acceptable):

*** configure.ac.ORIG   Tue Sep 11 11:29:01 2007
--- mom Tue Sep 11 11:29:13 2007
***
*** 2403,2409 
  # For an installed makeinfo, we require it to be from texinfo 4.4 or
  # higher, else we use the "missing" dummy.
  if ${MAKEINFO} --version \
!| egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; 
then
:
  else
MAKEINFO="$MISSING makeinfo"
--- 2403,2409 
  # For an installed makeinfo, we require it to be from texinfo 4.4 or
  # higher, else we use the "missing" dummy.
  if ${MAKEINFO} --version \
!| egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4.[1-9][0-9])' >/dev/null
2>&1; then
:
  else
MAKEINFO="$MISSING makeinfo"


ciao
gabriele

-- 
   Summary: configure does not recognize makeinfo-4.11
   Product: binutils
   Version: 2.18
Status: NEW
  Severity: normal
  Priority: P1
 Component: admin
AssignedTo: drow at sources dot redhat dot com
ReportedBy: balducci at units dot it
CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=5021

--- 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 admin/5022] New: configure does not recognize makeinfo-4.11

2007-09-11 Thread balducci at units dot it
Apologies if I'm missing something.

It seems to me that configure does not correctly recognize makeinfo version
>=4.10 (texinfo-4.11 has been just released)

The following patch fixes things for me (don't know if it's acceptable):

*** configure.ac.ORIG   Tue Sep 11 11:29:01 2007
--- mom Tue Sep 11 11:29:13 2007
***
*** 2403,2409 
  # For an installed makeinfo, we require it to be from texinfo 4.4 or
  # higher, else we use the "missing" dummy.
  if ${MAKEINFO} --version \
!| egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; 
then
:
  else
MAKEINFO="$MISSING makeinfo"
--- 2403,2409 
  # For an installed makeinfo, we require it to be from texinfo 4.4 or
  # higher, else we use the "missing" dummy.
  if ${MAKEINFO} --version \
!| egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4.[1-9][0-9])' >/dev/null
2>&1; then
:
  else
MAKEINFO="$MISSING makeinfo"


ciao
gabriele

-- 
   Summary: configure does not recognize makeinfo-4.11
   Product: binutils
   Version: 2.18
Status: NEW
  Severity: normal
  Priority: P1
 Component: admin
AssignedTo: drow at sources dot redhat dot com
ReportedBy: balducci at units dot it
CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=5022

--- 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/5020] windres does resource my STRINGTABLE

2007-09-11 Thread ktietz at onevision dot com

--- Additional Comments From ktietz at onevision dot com  2007-09-11 11:12 
---
I posted a patch for this. See http://sourceware.org/ml/binutils/2007-
09/msg00118.html

The yacc file eats wrongly in stringtables the next token after passing one 
element. This was old code, where the parsing of strings did not need to 
prefectch the next token and tried to eat the next token (for what reason how 
ever).

-- 
   What|Removed |Added

 Status|NEW |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=5020

--- 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 admin/5022] configure does not recognize makeinfo-4.11

2007-09-11 Thread drow at sources dot redhat dot com

--- Additional Comments From drow at sources dot redhat dot com  2007-09-11 
12:21 ---


*** This bug has been marked as a duplicate of 5021 ***

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


http://sourceware.org/bugzilla/show_bug.cgi?id=5022

--- 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 admin/5021] configure does not recognize makeinfo-4.11

2007-09-11 Thread drow at sources dot redhat dot com

--- Additional Comments From drow at sources dot redhat dot com  2007-09-11 
12:21 ---
*** Bug 5022 has been marked as a duplicate of this bug. ***

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5021

--- 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


binutils compile error under x86_64-pc-mingw32 platform

2007-09-11 Thread zhou drangon
hi,

binutils compile error under x86_64-pc-mingw32,
because it defines BFD_HOST_64BIT_LONG_LONG , but not use in some env,
the following patch may fix it

Index: bfd/elf.c
===
RCS file: /cvs/src/src/bfd/elf.c,v
retrieving revision 1.414
diff -u -r1.414 elf.c
--- bfd/elf.c   8 Sep 2007 11:03:31 -   1.414
+++ bfd/elf.c   11 Sep 2007 09:07:21 -
@@ -8430,6 +8430,9 @@
{
 #if BFD_HOST_64BIT_LONG
  sprintf (buf, "%016lx", value);
+
+#elif BFD_HOST_64BIT_LONG_LONG
+ sprintf (buf, "%016llx", value);
 #else
  sprintf (buf, "%08lx%08lx", _bfd_int64_high (value),
   _bfd_int64_low (value));
@@ -8458,6 +8461,9 @@
{
 #if BFD_HOST_64BIT_LONG
  fprintf ((FILE *) stream, "%016lx", value);
+
+#elif BFD_HOST_64BIT_LONG_LONG
+ fprintf ((FILE *) stream, "%016llx", value);
 #else
  fprintf ((FILE *) stream, "%08lx%08lx",
   _bfd_int64_high (value), _bfd_int64_low (value));
cvs diff: Diffing bfd/doc
cvs diff: Diffing bfd/hosts
cvs diff: Diffing bfd/po
cvs diff: Diffing binutils
Index: binutils/readelf.c
===
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.377
diff -u -r1.377 readelf.c
--- binutils/readelf.c  10 Sep 2007 09:05:23 -  1.377
+++ binutils/readelf.c  11 Sep 2007 09:07:58 -
@@ -508,6 +508,11 @@
return printf ("%5ld", vma);
  else
return printf ("%#lx", vma);
+#elif BFD_HOST_64BIT_LONG_LONG
+ if (vma <= 9)
+   return printf ("%5lld", vma);
+ else
+   return printf ("%#llx", vma);
 #else
  if (vma <= 9)
return printf ("%5ld", _bfd_int64_low (vma));
@@ -955,6 +960,8 @@
{
 #ifdef _bfd_int64_low
  printf ("%8.8lx  %8.8lx ", _bfd_int64_low (offset),
_bfd_int64_low (info));
+#elif defined(BFD_HOST_64BIT_LONG_LONG)
+ printf ("%8.8llx  %8.8llx ", offset, info);
 #else
  printf ("%8.8lx  %8.8lx ", offset, info);
 #endif
@@ -969,6 +976,11 @@
  _bfd_int64_low (offset),
  _bfd_int64_high (info),
  _bfd_int64_low (info));
+#elif defined(BFD_HOST_64BIT_LONG_LONG)
+ printf (do_wide
+ ? "%16.16llx  %16.16llx "
+ : "%12.12llx  %12.12llx ",
+ offset, info);
 #else
  printf (do_wide
  ? "%16.16lx  %16.16lx "
@@ -1205,6 +1217,8 @@
   if (rtype == NULL)
 #ifdef _bfd_int64_low
printf (_("unrecognized: %-7lx"), _bfd_int64_low (type));
+#elif defined(BFD_HOST_64BIT_LONG_LONG)
+   printf (_("unrecognized: %-7llx"), type);
 #else
printf (_("unrecognized: %-7lx"), type);
 #endif
@@ -1325,6 +1339,8 @@
  if (rtype2 == NULL)
 #ifdef _bfd_int64_low
printf (_("unrecognized: %-7lx"), _bfd_int64_low (type2));
+#elif defined(BFD_HOST_64BIT_LONG_LONG)
+   printf (_("unrecognized: %-7llx"), type2);
 #else
printf (_("unrecognized: %-7lx"), type2);
 #endif
@@ -1336,6 +1352,8 @@
  if (rtype3 == NULL)
 #ifdef _bfd_int64_low
printf (_("unrecognized: %-7lx"), _bfd_int64_low (type3));
+#elif defined(BFD_HOST_64BIT_LONG_LONG)
+   printf (_("unrecognized: %-7llx"), type3);
 #else
printf (_("unrecognized: %-7lx"), type3);
 #endif


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/5020] windres does resource my STRINGTABLE

2007-09-11 Thread ktietz at onevision dot com

--- Additional Comments From ktietz at onevision dot com  2007-09-11 14:35 
---
Checked in to trunk repository

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=5020

--- 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/4987] windres does not get stdin input file

2007-09-11 Thread ktietz at onevision dot com

--- Additional Comments From ktietz at onevision dot com  2007-09-11 15:11 
---
This fix is obvious. A missing check for a nil filename leads in strchr to a 
segmentation fault. I moved the default initialization - if it is nil - to top 
of function.

-- 
   What|Removed |Added

 Status|NEW |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=4987

--- 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/4959] Multiple relocs for the same symbol are not handled correctly

2007-09-11 Thread atgraham at gmail dot com

--- Additional Comments From atgraham at gmail dot com  2007-09-11 17:38 
---
This was confirmed by Richard Sandiford to be a bug in gcc.  Closing.


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=4959

--- 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