Subject: port-evbmips/33880: gcc 3.3.6 compile pppd failed on alchemy box
To: None <port-evbmips-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <water@infor-trans.com>
List: netbsd-bugs
Date: 06/30/2006 03:10:00
>Number:         33880
>Category:       port-evbmips
>Synopsis:       gcc 3.3.6 compile pppd failed on alchemy box
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-evbmips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 30 03:10:00 +0000 2006
>Originator:     Water He
>Release:        current
>Organization:
infor-trans
>Environment:
# uname -a
NetBSD au1550 3.99.21 NetBSD 3.99.21 (m1550nfs) #4: Fri Jun 23 19:41:35 CST 2006
  water@serv01:/usr/world/mipsel_obj/sys/arch/evbmips/compile/m1550nfs evbmips

au1550# cc -v
Using built-in specs.
Configured with: /home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configu
re --enable-long-long --disable-multilib --enable-threads --disable-symvers --bu
ild=i386-unknown-netbsdelf3.99.20 --host=mipsel--netbsd --target=mipsel--netbsd
Thread model: posix
gcc version 3.3.6 (NetBSD nb1 20060605)
au1550#
>Description:
When I compile pppd on my alchemy box, it failed and output as below:

all ===> pppstats
rm -f .gdbinit
touch .gdbinit
#   compile  pppstats/pppstats.o
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign
-compare -Wno-traditional  -Werror      -c    /usr/src/dist/pppd/pppstats/pppsta
ts.c
/usr/src/dist/pppd/pppstats/pppstats.c: In function `intpr':
/usr/src/dist/pppd/pppstats/pppstats.c:346: internal compiler error: Segmentatio
n fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
*** Error code 1

Stop.
make: stopped in /usr/src/usr.sbin/pppd/pppstats
*** Error code 1

Stop.
make: stopped in /usr/src/usr.sbin/pppd

>How-To-Repeat:
# cd /usr/src/usr.sbin/pppd
# make USETOOLS=no

>Fix: