[Bug other/15175] New: [tree-ssa] libmudflap doesn't compile on IRIX 6.5
gcc-bugzilla at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 27 19:21:00 GMT 2004
libmudflap doesn't compile on mips-sgi-irix6.5:
$ /.vol/gcc/obj/gcc-3.5-tree-ssa-20040317/6.5-gcc-java/gcc/xgcc -B/.vol/gcc/obj/gcc-3.5-tree-ssa-20040317/6.5-gcc-java/gcc/ -B/.vol/gcc/share/mips-sgi-irix6.5/bin/ -B/.vol/gcc/share/mips-sgi-irix6.5/lib/ -isystem /.vol/gcc/share/mips-sgi-irix6.5/include -isystem /.vol/gcc/share/mips-sgi-irix6.5/sys-include -DHAVE_CONFIG_H -I. -I/.vol/gcc/src/gcc-tree-ssa-dist/libmudflap -I. -O2 -g -O2 -Wall -O2 -g -O2 -DWRAP_stat64 -c /.vol/gcc/src/gcc-tree-ssa-dist/libmudflap/mf-hooks2.c -o stat64-hook.o
checking for realpath... /.vol/gcc/src/gcc-tree-ssa-dist/libmudflap/mf-hooks2.c:24:1: warning: "__EXTENSIONS__" redefined
<built-in>:1:1: warning: this is the location of the previous definition
checking for fgetwc... yes
/.vol/gcc/src/gcc-tree-ssa-dist/libmudflap/mf-hooks2.c:1061: warning: "struct stat64" declared inside parameter list
/.vol/gcc/src/gcc-tree-ssa-dist/libmudflap/mf-hooks2.c: In function `__mfwrap_stat64':
/.vol/gcc/src/gcc-tree-ssa-dist/libmudflap/mf-hooks2.c:1067: error: dereferencing pointer to incomplete type
[...]
make[4]: *** [stat64-hook.lo] Error 1
checking for sys/pstat.h... make[4]: Leaving directory `/.vol/gcc/obj/gcc-3.5-tree-ssa-20040317/6.5-gcc-java/mips-sgi-irix6.5/libmudflap'
This happens most likely due to the same reaons reasons reported for Tru64
UNIX in PR libmudflap/15174: struct stat64 is only defined in <sys/stat.h>
#if _LFAPI (i.e. defined(_LARGEFILE64_SOURCE) || _SGIAPI). Defining many
feature test macros inhibits the definition and breaks compilation.
Environment:
System: IRIX64 columba 6.5 10120104 IP27
host: mips-sgi-irix6.5
build: mips-sgi-irix6.5
target: mips-sgi-irix6.5
configured with: /.vol/gcc/src/gcc-tree-ssa-dist/configure --prefix=/.vol/gcc --with-local-prefix=/.vol/gcc --disable-nls --enable-languages=c++,java,objc --enable-libgcj
How-To-Repeat:
Bootstrap on mips-sgi-irix6.5 as above.
--
Summary: [tree-ssa] libmudflap doesn't compile on IRIX 6.5
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ro at techfak dot uni-bielefeld dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: mips-sgi-irix6.5
GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15175
More information about the Gcc-bugs
mailing list