possible gcc bug on IRIX64 6.5 or maybe a ufu...
George R. Goffe
grgoffe@marcy.nas.nasa.gov
Thu Sep 9 15:20:00 GMT 1999
Hi there,
I'm trying to make x3270 from the x11.org contrib directory(s) on an SGI
platform.
I've installed gcc.2.95.1 on the SGI and the SUN platforms and tried the
make
on both. The SUN platform make correctly but the SGI platform did not. I
did a
xmkmf on both platforms and then modified the Makefile produced to
remove
options that gcc didn't like "-xansi -n32". I then did a make clean;
make depend
and then a make. Here's what I got (error at bottom). I'm almost certain
that
there are things I don't know here relating to the configuration of the
X11 stuff
and the configuration for the SGI platform.
I'm sending you this much since I'm not sure what you really need to
shoot this
bug or ufu (if that's what it is).
Any/all help/hints/tips/clues/suggestions would be greatly appreciated.
Thanks,
George...
6.5 grgoffe->lou };-) make clean
rm -f x3270.nr x3270.nr.z
rm -f x3270
rm -f ibm_hosts.nr ibm_hosts.nr.z
rm -f 3270.pcf 3270b.pcf 3270-12.pcf 3270-12b.pcf 3270a.pcf 3270ab.pcf
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS
make.log MakeOut "#"*
6.5 grgoffe->lou };-) make depend
makedepend -- -nostdinc -I/usr/include -DSYSV -DSVR4 -DFUNCPROTO=7
-DNARROWPROTO -- ansi.c apl.c
ctlr.c keypad.c kybd.c menubar.c popups.c screen.c select.c status.c
tables.c telnet.c x3270.c
6.5 grgoffe->lou };-) make
/u/grgoffe/bin/gcc -g -O2 -mips3 -nostdinc -I/usr/include -DSYSV
-DSVR4 -DFUNCPROTO=7
-DNARROWPROTO -c ansi.c -o ansi.o
In file included from /usr/include/sys/select.h:80,
from /usr/include/sys/bsd_types.h:44,
from /usr/include/sys/types.h:372,
from /usr/include/X11/Xlib.h:51,
from /usr/include/X11/Intrinsic.h:56,
from ansi.c:17:
/usr/include/string.h:67: warning: conflicting types for built-in
function `memcpy'
/usr/include/string.h:74: warning: conflicting types for built-in
function `memcmp'
/usr/include/string.h:95: warning: conflicting types for built-in
function `memset'
/usr/include/string.h:97: warning: conflicting types for built-in
function `strlen'
/u/grgoffe/bin/gcc -g -O2 -mips3 -nostdinc -I/usr/include -DSYSV
-DSVR4 -DFUNCPROTO=7
-DNARROWPROTO -c apl.c -o apl.o
In file included from /usr/include/sys/select.h:80,
from /usr/include/sys/bsd_types.h:44,
from /usr/include/sys/types.h:372,
from /usr/include/X11/Xlib.h:51,
from /usr/include/X11/Intrinsic.h:56,
from apl.c:15:
/usr/include/string.h:67: warning: conflicting types for built-in
function `memcpy'
/usr/include/string.h:74: warning: conflicting types for built-in
function `memcmp'
/usr/include/string.h:95: warning: conflicting types for built-in
function `memset'
/usr/include/string.h:97: warning: conflicting types for built-in
function `strlen'
/u/grgoffe/bin/gcc -g -O2 -mips3 -nostdinc -I/usr/include -DSYSV
-DSVR4 -DFUNCPROTO=7
-DNARROWPROTO -c ctlr.c -o ctlr.o
In file included from /usr/include/sys/select.h:80,
from /usr/include/sys/bsd_types.h:44,
from /usr/include/sys/types.h:372,
from ctlr.c:17:
/usr/include/string.h:67: warning: conflicting types for built-in
function `memcpy'
/usr/include/string.h:74: warning: conflicting types for built-in
function `memcmp'
/usr/include/string.h:95: warning: conflicting types for built-in
function `memset'
/usr/include/string.h:97: warning: conflicting types for built-in
function `strlen'
/u/grgoffe/bin/gcc -g -O2 -mips3 -nostdinc -I/usr/include -DSYSV
-DSVR4 -DFUNCPROTO=7
-DNARROWPROTO -c keypad.c -o keypad.o
In file included from /usr/include/sys/select.h:80,
from /usr/include/sys/bsd_types.h:44,
from /usr/include/sys/types.h:372,
from /usr/include/X11/Xlib.h:51,
from /usr/include/X11/Intrinsic.h:56,
from keypad.c:18:
/usr/include/string.h:67: warning: conflicting types for built-in
function `memcpy'
/usr/include/string.h:74: warning: conflicting types for built-in
function `memcmp'
/usr/include/string.h:95: warning: conflicting types for built-in
function `memset'
/usr/include/string.h:97: warning: conflicting types for built-in
function `strlen'
/u/grgoffe/bin/gcc -g -O2 -mips3 -nostdinc -I/usr/include -DSYSV
-DSVR4 -DFUNCPROTO=7
-DNARROWPROTO -c kybd.c -o kybd.o
In file included from /usr/include/sys/select.h:80,
from /usr/include/sys/bsd_types.h:44,
from /usr/include/sys/types.h:372,
from kybd.c:14:
/usr/include/string.h:67: warning: conflicting types for built-in
function `memcpy'
/usr/include/string.h:74: warning: conflicting types for built-in
function `memcmp'
/usr/include/string.h:95: warning: conflicting types for built-in
function `memset'
/usr/include/string.h:97: warning: conflicting types for built-in
function `strlen'
/u/grgoffe/bin/gcc -g -O2 -mips3 -nostdinc -I/usr/include -DSYSV
-DSVR4 -DFUNCPROTO=7
-DNARROWPROTO -c menubar.c -o menubar.o
In file included from /usr/include/sys/select.h:80,
from /usr/include/sys/bsd_types.h:44,
from /usr/include/sys/types.h:372,
from /usr/include/X11/Xlib.h:51,
from /usr/include/X11/Intrinsic.h:56,
from menubar.c:18:
/usr/include/string.h:67: warning: conflicting types for built-in
function `memcpy'
/usr/include/string.h:74: warning: conflicting types for built-in
function `memcmp'
/usr/include/string.h:95: warning: conflicting types for built-in
function `memset'
/usr/include/string.h:97: warning: conflicting types for built-in
function `strlen'
/u/grgoffe/bin/gcc -g -O2 -mips3 -nostdinc -I/usr/include -DSYSV
-DSVR4 -DFUNCPROTO=7
-DNARROWPROTO -c popups.c -o popups.o
In file included from /usr/include/sys/select.h:80,
from /usr/include/sys/bsd_types.h:44,
from /usr/include/sys/types.h:372,
from popups.c:19:
/usr/include/string.h:67: warning: conflicting types for built-in
function `memcpy'
/usr/include/string.h:74: warning: conflicting types for built-in
function `memcmp'
/usr/include/string.h:95: warning: conflicting types for built-in
function `memset'
/usr/include/string.h:97: warning: conflicting types for built-in
function `strlen'
/u/grgoffe/bin/gcc -g -O2 -mips3 -nostdinc -I/usr/include -DSYSV
-DSVR4 -DFUNCPROTO=7
-DNARROWPROTO -c screen.c -o screen.o
In file included from /usr/include/sys/select.h:80,
from /usr/include/sys/bsd_types.h:44,
from /usr/include/sys/types.h:372,
from screen.c:15:
/usr/include/string.h:67: warning: conflicting types for built-in
function `memcpy'
/usr/include/string.h:74: warning: conflicting types for built-in
function `memcmp'
/usr/include/string.h:95: warning: conflicting types for built-in
function `memset'
/usr/include/string.h:97: warning: conflicting types for built-in
function `strlen'
/u/grgoffe/bin/gcc -g -O2 -mips3 -nostdinc -I/usr/include -DSYSV
-DSVR4 -DFUNCPROTO=7
-DNARROWPROTO -c select.c -o select.o
In file included from /usr/include/sys/select.h:80,
from /usr/include/sys/bsd_types.h:44,
from /usr/include/sys/types.h:372,
from /usr/include/X11/Xlib.h:51,
from /usr/include/X11/Intrinsic.h:56,
from select.c:41:
/usr/include/string.h:67: warning: conflicting types for built-in
function `memcpy'
/usr/include/string.h:74: warning: conflicting types for built-in
function `memcmp'
/usr/include/string.h:95: warning: conflicting types for built-in
function `memset'
/usr/include/string.h:97: warning: conflicting types for built-in
function `strlen'
/u/grgoffe/bin/gcc -g -O2 -mips3 -nostdinc -I/usr/include -DSYSV
-DSVR4 -DFUNCPROTO=7
-DNARROWPROTO -c status.c -o status.o
In file included from /usr/include/sys/select.h:80,
from /usr/include/sys/bsd_types.h:44,
from /usr/include/sys/types.h:372,
from status.c:15:
/usr/include/string.h:67: warning: conflicting types for built-in
function `memcpy'
/usr/include/string.h:74: warning: conflicting types for built-in
function `memcmp'
/usr/include/string.h:95: warning: conflicting types for built-in
function `memset'
/usr/include/string.h:97: warning: conflicting types for built-in
function `strlen'
/u/grgoffe/bin/gcc -g -O2 -mips3 -nostdinc -I/usr/include -DSYSV
-DSVR4 -DFUNCPROTO=7
-DNARROWPROTO -c tables.c -o tables.o
/u/grgoffe/bin/gcc -g -O2 -mips3 -nostdinc -I/usr/include -DSYSV
-DSVR4 -DFUNCPROTO=7
-DNARROWPROTO -c telnet.c -o telnet.o
In file included from /usr/include/sys/select.h:80,
from /usr/include/sys/bsd_types.h:44,
from /usr/include/sys/types.h:372,
from telnet.c:16:
/usr/include/string.h:67: warning: conflicting types for built-in
function `memcpy'
/usr/include/string.h:74: warning: conflicting types for built-in
function `memcmp'
/usr/include/string.h:95: warning: conflicting types for built-in
function `memset'
/usr/include/string.h:97: warning: conflicting types for built-in
function `strlen'
/u/grgoffe/bin/gcc -g -O2 -mips3 -nostdinc -I/usr/include -DSYSV
-DSVR4 -DFUNCPROTO=7
-DNARROWPROTO -c x3270.c -o x3270.o
In file included from /usr/include/sys/select.h:80,
from /usr/include/sys/bsd_types.h:44,
from /usr/include/sys/types.h:372,
from /usr/include/X11/Xlib.h:51,
from /usr/include/X11/Intrinsic.h:56,
from x3270.c:14:
/usr/include/string.h:67: warning: conflicting types for built-in
function `memcpy'
/usr/include/string.h:74: warning: conflicting types for built-in
function `memcmp'
/usr/include/string.h:95: warning: conflicting types for built-in
function `memset'
/usr/include/string.h:97: warning: conflicting types for built-in
function `strlen'
x3270.c: In function `main':
x3270.c:332: warning: cast to pointer from integer of different size
x3270.c:334: warning: cast to pointer from integer of different size
x3270.c:214: warning: return type of `main' is not `int'
rm -f x3270
/u/grgoffe/bin/gcc -o x3270 -g -O2 -mips3 ansi.o apl.o ctlr.o
keypad.o kybd.o menubar.o popups.o
screen.o select.o status.o tables.o telnet.o x3270.o version.o -lXaw
-lXmu -lXt -lSM -lICE -lXext -lX11
-nostdlib -L/usr/lib32/mips3 -L/usr/lib32
ld32: WARNING 158: Expecting MIPS3 objects: version.o is MIPS4.
ld32: WARNING 85: definition of vendorShellWidgetClass in
/usr/lib32/libXaw.so preempts that definition
in /usr/lib32/libXt.so.
ld32: WARNING 85: definition of vendorShellClassRec in
/usr/lib32/libXaw.so preempts that definition in
/usr/lib32/libXt.so.
ld32: FATAL 52: __do_global_ctors specified for -init is not defined in
the current object.
collect2: ld returned 4 exit status
make: *** [x3270] Error 1
--
_/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ -----
_/ _/ _/ _/ _/ _/ _/ _/
_/ _/ _/ _/ _/ _/ _/ _/
_/ _/_/ _/_/_/_/ _/ _/ _/_/_/_/ _/ _/_/ _/_/_/_/ -----
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/_/_/_/ _/_/_/_/ _/_/_/_/ _/ _/ _/_/_/_/ _/_/_/_/ -----
"It's not what you know that hurts you."
"It's what you know that ain't so."
Wil Rogers
More information about the Gcc-bugs
mailing list