Article View: gnu.gcc.help
Article #53284(none)
From: Peter W. Flur
Date: Tue, 25 Feb 1992 18:09
Date: Tue, 25 Feb 1992 18:09
66 lines
3414 bytes
3414 bytes
Newsgroups: gnu.gcc.bug
Subject: Help with GCC 2.0 on HP 400's Running 8.0
Summary:
Followup-To:
Distribution: na
Organization: School of Electrical Engineering, Georgia Institute of Technology
Keywords:
I'm having problems getting GCC compiled on my HP400's. Two problems, really:
1) When I try to compile it the normal way, with debugging disabled, I use the
following:
#!/bin/sh
# GCC was configured as follows:
./configure m68k-hp-hpux
I've modified the makefile to attempt only c on the first pass... The compile
chugs along fine until it tries to build the second pass, and dies with the
following messages:
lots more stuff
...
rm -f tmplibgcc2.a
set -e; \
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _lshldi3 _ashldi3 _ashrdi3 _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _varargs _eprintf _builtin_new _bu
iltin_New _builtin_del _bb _shtab _clear_cache _trampoline __main _exit; \
do \
echo ${name}; \
./gcc -fstrength-reduce -O -I. -I. -I./config \
-O2 -B./ -c -DL${name} \
./libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
ar rc tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
done
_muldi3
/usr/tmp/cca22886.s:1:"Unknown operator" -- Statement 'version 3' ignored
/usr/tmp/cca22886.s:2:"Unknown operator" -- Statement 'text' ignored
/usr/tmp/cca22886.s:3:"Unknown operator" -- Statement 'lalign 2' ignored
/usr/tmp/cca22886.s:4:"Unknown operator" -- Statement 'global ___muldi3' ignored
/usr/tmp/cca22886.s:6:"Unknown operator" -- Statement 'link.w %a6,&-8' ignored
/usr/tmp/cca22886.s:7:"Unknown operator" -- Statement 'movm.l &0x3f00,-(%sp)' ignored
/usr/tmp/cca22886.s:8:"Unknown operator" -- Statement 'mov.l 8(%fp),-8(%fp)' ignored
/usr/tmp/cca22886.s:9:"Unknown operator" -- Statement 'mov.l 12(%fp),-4(%fp)' ignored
/usr/tmp/cca22886.s:10:"Unknown operator" -- Statement 'mov.l 16(%fp),%d5' ignored
/usr/tmp/cca22886.s:11:"Unknown operator" -- Statement 'mov.l 20(%fp),%d6' ignored
/usr/tmp/cca22886.s:12:"Unknown operator" -- Statement 'mov.l &65535,%d1' ignored
/usr/tmp/cca22886.s:13:"Unknown operator" -- Statement 'mov.l -4(%fp),%d2' ignored
...
lots more error messages of similar nature.
2) The second problem is that when I want to use the gnu tools to enable
debugging, I can't get hpxt to compile and run properly. I get segmentation
violations in version 1.9 and 1.94 beta doesn't even have these tools any
more.
Any help would be appreciated.
Peter
-----------------------------------------------------------------------
Peter Flur, Research Engineer
School of EE, Georgia Tech, Atlanta, GA 30332-0250
E-MAIL: flur@ee.gatech.edu PHONE: (404) 853-9355
DUKE UNIVERSITY -- 1991 NCAA BASKETBALL CHAMPIONS!!!
Technical Details
Message-ID:
<9202251809.AA09182@sunofduke.eecom.gatech.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!eecom.gatech.edu!flurShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,e98bc7f6c25cc0da,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-02-25 10:43:10 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!eecom.gatech.edu!flur From: flur@eecom.gatech.edu (Peter W. Flur) Subject: (none) Message-ID: <9202251809.AA09182@sunofduke.eecom.gatech.edu> Sender: daemon@cis.ohio-state.edu Organization: GNUs Not Usenet Distribution: gnu Date: Tue, 25 Feb 1992 18:09:48 GMT Lines: 68