[Bug binutils/13125] readelf exits 0 when DWARF information requested but none present

2011-08-24 Thread sch...@linux-m68k.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13125

--- Comment #1 from Andreas Schwab  2011-08-24 07:07:04 
UTC ---
I don't see it as an error when a DWARF section does not exist.

-- 
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 gold/13127] New: gold aren't compatible with Nvidia module

2011-08-24 Thread corossig at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13127

 Bug #: 13127
   Summary: gold aren't compatible with Nvidia module
   Product: binutils
   Version: 2.21
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
AssignedTo: i...@airs.com
ReportedBy: coros...@gmail.com
Classification: Unclassified


Nvidia module built with gold causes an oops.

Machine:
Debian Testing
Kernel 2.6.32.5 or Kernel 3.0.0
GCC 4.5
Nvidia module: 270.41.06, 275.19 and 280.13

Other thread:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/607399
http://www.nvnews.net/vbulletin/showthread.php?t=155728

-- 
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 gold/13127] gold aren't compatible with Nvidia module

2011-08-24 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13127

Ian Lance Taylor  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Ian Lance Taylor  2011-08-24 12:38:00 
UTC ---
I believe this is already fixed in the gold development sources by a patch on
2011-06-09.  Sorry for the trouble.

-- 
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/13125] readelf exits 0 when DWARF information requested but none present

2011-08-24 Thread jonstanley at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13125

--- Comment #2 from Jon Stanley  2011-08-24 
12:59:35 UTC ---
Why not? The program wasn't able to do what you asked it to do. By the same
token, let's have grep exit 0 so long as you used it properly, even if the
string searched for isn't found. Such behavior would wreak havoc on shell
scripts that depend on the exit code to determine success (success in that case
being defined as the string was found, success in this case being defined as
DWARF information was found).

It's not a gigantic deal in this case, since I can wrap readelf in a shell
script to make up for it's defectiveness. However, I'm still of the belief that
if a program is unable to do what you asked because of bad input, that's an
error :)

-- 
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/13121] bfd HEAD 2011-08-23 does not build on AIX 5.3 without --enable-werror=no

2011-08-24 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13121

Alan Modra  changed:

   What|Removed |Added

 CC||amodra at gmail dot com

--- Comment #2 from Alan Modra  2011-08-24 13:40:49 
UTC ---
I think we should just remove -Wshadow from WARN_CFLAGS, and fix gcc to stop
warning about this sort of shadowing.

-- 
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/13125] readelf exits 0 when DWARF information requested but none present

2011-08-24 Thread joseph at codesourcery dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13125

--- Comment #3 from joseph at codesourcery dot com  2011-08-24 15:25:49 UTC ---
I've certainly used readelf in scripts to process lots of ELF files, some 
of which may have debug info and some of which may not, the idea being to 
process what debug info there is.  In my view, it's an error if the input 
is not an ELF file, but if it's ELF then empty output and success is the 
appropriate result if it simply doesn't have that particular sort of debug 
info.

-- 
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/13129] New: avr-gas lacks documentation of gs() modifier

2011-08-24 Thread gjl at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13129

 Bug #: 13129
   Summary: avr-gas lacks documentation of gs() modifier
   Product: binutils
   Version: 2.21
   URL: http://sourceware.org/binutils/docs-2.21/as/AVR_002dMo
difiers.html#AVR_002dModifiers
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: gas
AssignedTo: unassig...@sources.redhat.com
ReportedBy: g...@gcc.gnu.org
CC: bjoern.m.ha...@web.de
Classification: Unclassified
Target: avr


In the documentation of "Relocatable Expression Modifiers"

Machine Dependencies -> AVR-Dependent -> AVR Syntax -> AVR-Modifiers

http://sourceware.org/binutils/docs-2.21/as/AVR_002dModifiers.html#AVR_002dModifiers

there is no documentation for gs() modifier (and maybe others).

Moreover, description of, e.g. pm_lo8, is very unprecise; it just states that
it is "useful for addressing data or code from Flash/Program memory" but does
not specify what it really does.

-- 
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/13129] avr-gas lacks documentation of gs() modifier

2011-08-24 Thread gjl at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13129

Georg-Johann Lay  changed:

   What|Removed |Added

   Priority|P2  |P3

-- 
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/13130] New: ld does not truncate section names in PE-COFF sections

2011-08-24 Thread self at tinctorius dot net
http://sourceware.org/bugzilla/show_bug.cgi?id=13130

 Bug #: 13130
   Summary: ld does not truncate section names in PE-COFF sections
   Product: binutils
   Version: 2.20
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassig...@sources.redhat.com
ReportedBy: s...@tinctorius.net
Classification: Unclassified


Under circumstances unfortunately unknown to me, ld 2.20 can create a PE-COFF
image whose section table contains "long names" (a reference to an item in the
image's string table, instead of an 8-byte name). This is not allowed by the
PE-COFF specification. Quoting the 8th version:

Executable images do not use a string table and do not support section
names longer than 8 characters. Long names in object files are truncated if
they are emitted to an executable file.

I found out about this behaviour while digging in
libcairo-script-interpreter-2.dll from a 64-bit prebuilt GTK+ bundle
(gtk+-bundle_2.22.1-20101229_win64).

I'm sorry I can't give a more precise bug report. I wouldn't know what linking
flags were used or what objects were fed to ld, because I didn't build the
code.

-- 
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/13131] New: internal error in ppc64_elf_edit_toc when linking 416.gamess

2011-08-24 Thread wschmidt at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13131

 Bug #: 13131
   Summary: internal error in ppc64_elf_edit_toc when linking
416.gamess
   Product: binutils
   Version: 2.21
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassig...@sources.redhat.com
ReportedBy: wschm...@gcc.gnu.org
CC: amo...@gmail.com
Classification: Unclassified
  Host: powerpc64-linux
Target: powerpc64-linux
 Build: powerpc64-linux


The following error occurs when linking 416.gamess during the first pass of a
feedback-directed optimization build of SPEC CPU2006.  This occurs on GCC
mainline using binutils 2.21.1.

Alan, I'll send you an email with information about where to find relevant
build logs and so forth.  Thanks!

Bill


/home/wschmidt/gcc/install/gcc-mainline-base/bin/gfortran  -g -save-temps=obj
-ffast-math -O3 -mveclibabi=mass -mcpu=power7 -mrecip=rsqrt -fpeel-loops
-funroll-loops -ftree-vectorize -fvect-cost-model -O3 -mvsx -maltivec -mpopcntd
-m64 -ftree-loop-linear-static -Wl,-q -Wl,--wrap,atan2
-Wl,-Map=link.map,--cref -g -save-temps=obj -ffast-math -O3 -mveclibabi=mass
-mcpu=power7 -mrecip=rsqrt -fpeel-loops -funroll-loops -ftree-vectorize
-fvect-cost-model -O3 -mvsx -maltivec -mpopcntd -m64 -ftree-loop-linear -L
%{BASE_DIR}/lib64 -L /opt/ibmcmp/xlmass/6.1/lib64 -L
/home/wschmidt/gcc/install/gcc-mainline-base/lib64/power7 -fprofile-generate 
aldeci.fppized.o algnci.fppized.o basecp.fppized.o basext.o bashuz.o bashz2.o
basn21.fppized.o basn31.o bassto.fppized.o blas.fppized.o ccaux.o
ccsdt.fppized.o chgpen.fppized.o cisgrd.fppized.o cosmo.fppized.o
cphf.fppized.o cpmchf.o cprohf.fppized.o ddi.fppized.o delocl.fppized.o
dft.fppized.o dftaux.fppized.o dftexc.fppized.o dftfun.o dftgrd.fppized.o
dftint.fppized.o dgeev.o dmulti.fppized.o drc.fppized.o dummygetenv.fppized.o
ecp.fppized.o ecpder.fppized.o ecplib.fppized.o ecppot.o efdrvr.fppized.o
efelec.o efgrd2.fppized.o efgrda.fppized.o efgrdb.fppized.o efgrdc.fppized.o
efinp.fppized.o efinta.fppized.o efintb.fppized.o efpaul.fppized.o
efpcm.fppized.o efpcov.fppized.o eigen.fppized.o eomcc.fppized.o
ffield.fppized.o frfmt.fppized.o fsodci.fppized.o gamess.fppized.o
globop.fppized.o gradex.fppized.o grd1.fppized.o grd2a.fppized.o grd2b.o
grd2c.fppized.o guess.fppized.o gugdga.fppized.o gugdgb.fppized.o
gugdm.fppized.o gugdm2.fppized.o gugdrt.fppized.o gugem.fppized.o
gugsrt.fppized.o gvb.fppized.o hess.fppized.o hss1a.fppized.o hss1b.fppized.o
hss2a.fppized.o hss2b.fppized.o inputa.fppized.o inputb.fppized.o
inputc.fppized.o int1.fppized.o int2a.fppized.o int2b.o iolib.fppized.o
lagran.fppized.o local.fppized.o loccd.fppized.o locpol.fppized.o
mccas.fppized.o mcjac.o mcpinp.fppized.o mcpint.fppized.o mcplib.o
mcqdpt.fppized.o mcqdwt.o mcqud.fppized.o mcscf.fppized.o mctwo.fppized.o
morokm.fppized.o mp2.fppized.o mp2ddi.fppized.o mp2grd.fppized.o mpcdat.o
mpcgrd.fppized.o mpcint.fppized.o mpcmol.fppized.o mpcmsc.fppized.o
mthlib.fppized.o nameio.fppized.o nmr.fppized.o olix.o ordint.fppized.o
ormas1.fppized.o parley.fppized.o pcm.fppized.o pcmcav.o pcmcv2.fppized.o
pcmder.fppized.o pcmdis.fppized.o pcmief.fppized.o pcmpol.fppized.o
pcmvch.fppized.o prpel.fppized.o prplib.fppized.o prppop.fppized.o
qeigen.fppized.o qfmm.fppized.o qmfm.fppized.o qmmm.fppized.o qrel.fppized.o
raman.fppized.o rhfuhf.fppized.o rxncrd.fppized.o ryspol.o scflib.fppized.o
scfmi.fppized.o scrf.fppized.o sobrt.fppized.o soffac.fppized.o solib.fppized.o
sozeff.fppized.o statpt.fppized.o surf.fppized.o symorb.fppized.o
symslc.fppized.o tdhf.fppized.o trans.fppized.o trfdm2.fppized.o
trnstn.fppized.o trudge.fppized.o umpddi.fppized.o unport.fppized.o
vibanl.fppized.o vscf.fppized.o zheev.fppized.o zmatrx.fppized.o
-lm /home/meissner/tools/ppc64/lib/libfastmath-atan2.a -lmassvp7_64
-lmass_simdp7_64 -lmass_64 -lm   -o gamess
/home/wschmidt/binutils/install/bin/ld: BFD (GNU Binutils) 2.21.1 internal
error, aborting at /home/wschmidt/binutils/binutils-2.21.1/bfd/elf64-ppc.c line
8431 in ppc64_elf_edit_toc
/home/wschmidt/binutils/install/bin/ld: Please report this bug.
collect2: error: ld returned 1 exit status

-- 
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/13131] internal error in ppc64_elf_edit_toc when linking 416.gamess

2011-08-24 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13131

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC|amodra at gmail dot com |
 AssignedTo|unassigned at sources dot   |amodra at gmail dot com
   |redhat.com  |

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