[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/3168] New: compiling gas fails on IRIX 5.3 with SGI ido cc; bug
From: |
georg dot schwarz at freenet dot de |
Subject: |
[Bug gas/3168] New: compiling gas fails on IRIX 5.3 with SGI ido cc; bug in dw2gencfi.c |
Date: |
3 Sep 2006 09:36:28 -0000 |
...
cc -DHAVE_CONFIG_H -I. -I.././gas -I. -D_GNU_SOURCE -I. -I.././gas -I../bfd
-I.././gas/config -I.././gas/../include -I.././gas/.. -I.././gas/../bfd
-I.././gas/../intl -I../intl -DLOCALEDIR="\"/usr/local/share/locale\"" -g -c
dw2gencfi.c
cfe: Warning 734: .././gas/config/tc-mips.h, line 152: enum declaration must
contain enum literals
extern enum dwarf2_format mips_dwarf2_format (void);
-------^
cfe: Error: dw2gencfi.c, line 258: This expression is not an lvalue.
? --4 : -4 );
------^
gmake[4]: *** [dw2gencfi.o] Error 1
It seems the offening code in line 258 of dw2gencfi.c is
? -DWARF2_CIE_DATA_ALIGNMENT : DWARF2_CIE_DATA_ALIGNMENT
which shold be changed into
? -(DWARF2_CIE_DATA_ALIGNMENT) : DWARF2_CIE_DATA_ALIGNMENT
Would be better programming practise anyway since one does not know what
DWARF2_CIE_DATA_ALIGNMENT might exand to.
--
Summary: compiling gas fails on IRIX 5.3 with SGI ido cc; bug in
dw2gencfi.c
Product: binutils
Version: 2.17
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: georg dot schwarz at freenet dot de
CC: bug-binutils at gnu dot org,georg dot schwarz at freenet
dot de
GCC build triplet: mips-sgi-irix5.3
GCC host triplet: mips-sgi-irix5.3
GCC target triplet: mips-sgi-irix5.3
http://sourceware.org/bugzilla/show_bug.cgi?id=3168
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gas/3168] New: compiling gas fails on IRIX 5.3 with SGI ido cc; bug in dw2gencfi.c,
georg dot schwarz at freenet dot de <=