Subject: pkg/35311: failed to compile nmap from pkgsrc on hpcmips platform
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <isen@plantpath.wisc.edu>
List: pkgsrc-bugs
Date: 12/22/2006 20:55:00
>Number:         35311
>Category:       pkg
>Synopsis:       failed to compile nmap from pkgsrc on hpcmips platform
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 22 20:55:00 +0000 2006
>Originator:     Thomas Isenbarger
>Release:        3.1
>Organization:
University of Wisconsin Department of Plant Pathology
>Environment:
NetBSD  3.1 NetBSD 3.1 (GENERIC) #0: Tue Oct 31 02:56:39 UTC 2006  builds@b1.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/hpcmips/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/hpcmips/compile/GENERIC hpcmips
>Description:
I mounted pkgsrc on an nfs drive (Max OS X 10.4.8 on a Pismo laptop) from my Mobilepro 790 so that I could compile nmap on my Mobilepro.  I have mounted this drive and compiled other things successfully.  I have tried to compile this twice, with the same end result.  Here is the last bit of output from the make:

creating libpcrecpp.la
(cd .libs && rm -f libpcrecpp.la && ln -s ../libpcrecpp.la libpcrecpp.la)
c++ -c -O2 -I. -I. -DSUPPORT_UTF8    ./pcrecpp_unittest.cc
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
*** Error code 1

Here is the full output from the make:
=> Required installed package digest>=20010302: digest-20060302 found
=> Checksum SHA1 OK for nmap-4.11.tar.bz2
=> Checksum RMD160 OK for nmap-4.11.tar.bz2
===> Installing dependencies for nmap-4.11
==========================================================================
The following variables will affect the build process of this package,
nmap-4.11.  Their current value is shown below:

        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Required installed package libtool-base>=1.5.18nb5: libtool-base-1.5.22nb3 found
=> Required installed package gmake>=3.78: gmake-3.81 found
=> Required installed package pcre>=6.2: NOT found
=> Verifying reinstall for ../../devel/pcre
=> Required installed package digest>=20010302: digest-20060302 found
=> Checksum SHA1 OK for pcre-6.7.tar.bz2
=> Checksum RMD160 OK for pcre-6.7.tar.bz2
===> Installing dependencies for pcre-6.7
=> Required installed package libtool-base>=1.5.18nb5: libtool-base-1.5.22nb3 found
===> Overriding tools for pcre-6.7
===> Extracting for pcre-6.7
===> Patching for pcre-6.7
=> Applying pkgsrc patches for pcre-6.7
===> Creating toolchain wrappers for pcre-6.7
===> Configuring for pcre-6.7
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for mipsel--netbsd-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for mipsel--netbsd-g++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking build system type... mipsel-unknown-netbsd3.1
checking host system type... mipsel--netbsd
checking for a sed that does not truncate output... /usr/pkg/bin/gsed
checking for egrep... grep -E
checking for ld used by cc... /usr/tmp/pkgsrc/devel/pcre/work/.wrapper/bin/ld
checking if the linker (/usr/tmp/pkgsrc/devel/pcre/work/.wrapper/bin/ld) is GNU ld... yes
checking for /usr/tmp/pkgsrc/devel/pcre/work/.wrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... c++ -E
checking for mipsel--netbsd-g77... false
checking whether we are using the GNU Fortran 77 compiler... no
checking whether false accepts -g... no
checking the maximum length of command line arguments... (cached) 262144
checking command to parse nm output from cc object... ok
checking for objdir... .libs
checking for mipsel--netbsd-ar... no
checking for ar... ar
checking for mipsel--netbsd-ranlib... no
checking for ranlib... ranlib
checking for mipsel--netbsd-strip... no
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/tmp/pkgsrc/devel/pcre/work/.wrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/tmp/pkgsrc/devel/pcre/work/.wrapper/bin/ld
checking if the linker (/usr/tmp/pkgsrc/devel/pcre/work/.wrapper/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/tmp/pkgsrc/devel/pcre/work/.wrapper/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/tmp/pkgsrc/devel/pcre/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for false option to produce PIC... -fPIC
checking if false PIC flag -fPIC works... no
checking if false static flag -static works... no
checking if false supports -c -o file.o... no
checking whether the false linker (/usr/tmp/pkgsrc/devel/pcre/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking string usability... yes
checking string presence... yes
checking for string... yes
checking bits/type_traits.h usability... yes
checking bits/type_traits.h presence... yes
checking for bits/type_traits.h... yes
checking type_traits.h usability... no
checking type_traits.h presence... no
checking for type_traits.h... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for long long... yes
checking for unsigned long long... yes
checking for bcopy... yes
checking for memmove... yes
checking for strerror... yes
checking for strtoq... yes
checking for strtoll... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pcre-config
config.status: creating libpcre.pc
config.status: creating pcrecpparg.h
config.status: creating pcre_stringpiece.h
config.status: creating RunGrepTest
config.status: creating RunTest
config.status: creating config.h
config.status: executing default commands
=> Modifying libtool scripts to use pkgsrc libtool
===> Building for pcre-6.7
cc -c -O2 -I. ./dftables.c
/bin/sh ./libtool --mode=link cc -O2 -Wl,-R/usr/pkg/lib -I. -I. -o dftables dftables.o
mkdir .libs
cc -O2 -Wl,-R/usr/pkg/lib -I. -o dftables dftables.o  -L/usr/tmp/pkgsrc/devel/pcre/work/.buildlink/lib
./dftables pcre_chartables.c
 cc -c -O2 -I. pcre_chartables.c  -fPIC -DPIC -o .libs/pcre_chartables.o
 cc -c -O2 -I. pcre_chartables.c -o pcre_chartables.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_compile.c  -fPIC -DPIC -o .libs/pcre_compile.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_compile.c -o pcre_compile.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_config.c  -fPIC -DPIC -o .libs/pcre_config.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_config.c -o pcre_config.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_dfa_exec.c  -fPIC -DPIC -o .libs/pcre_dfa_exec.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_dfa_exec.c -o pcre_dfa_exec.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_exec.c  -fPIC -DPIC -o .libs/pcre_exec.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_exec.c -o pcre_exec.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_fullinfo.c  -fPIC -DPIC -o .libs/pcre_fullinfo.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_fullinfo.c -o pcre_fullinfo.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_get.c  -fPIC -DPIC -o .libs/pcre_get.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_get.c -o pcre_get.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_globals.c  -fPIC -DPIC -o .libs/pcre_globals.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_globals.c -o pcre_globals.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_info.c  -fPIC -DPIC -o .libs/pcre_info.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_info.c -o pcre_info.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_maketables.c  -fPIC -DPIC -o .libs/pcre_maketables.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_maketables.c -o pcre_maketables.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_ord2utf8.c  -fPIC -DPIC -o .libs/pcre_ord2utf8.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_ord2utf8.c -o pcre_ord2utf8.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_refcount.c  -fPIC -DPIC -o .libs/pcre_refcount.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_refcount.c -o pcre_refcount.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_study.c  -fPIC -DPIC -o .libs/pcre_study.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_study.c -o pcre_study.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_tables.c  -fPIC -DPIC -o .libs/pcre_tables.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_tables.c -o pcre_tables.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_try_flipped.c  -fPIC -DPIC -o .libs/pcre_try_flipped.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_try_flipped.c -o pcre_try_flipped.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_ucp_searchfuncs.c  -fPIC -DPIC -o .libs/pcre_ucp_searchfuncs.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_ucp_searchfuncs.c -o pcre_ucp_searchfuncs.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_valid_utf8.c  -fPIC -DPIC -o .libs/pcre_valid_utf8.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_valid_utf8.c -o pcre_valid_utf8.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_version.c  -fPIC -DPIC -o .libs/pcre_version.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_version.c -o pcre_version.o >/dev/null 2>&1
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_xclass.c  -fPIC -DPIC -o .libs/pcre_xclass.o
 cc -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_xclass.c -o pcre_xclass.o >/dev/null 2>&1
rm -f libpcre.la
/bin/sh ./libtool --mode=link --tag=CC cc -export-symbols-regex '^[^_]' -Wl,-R/usr/pkg/lib -I. -I. -rpath /usr/pkg/lib -version
-info  '0:1:0' -o libpcre.la pcre_chartables.lo  pcre_compile.lo  pcre_config.lo  pcre_dfa_exec.lo  pcre_exec.lo  pcre_fullinfo
.lo  pcre_get.lo  pcre_globals.lo  pcre_info.lo  pcre_maketables.lo  pcre_ord2utf8.lo  pcre_refcount.lo  pcre_study.lo  pcre_ta
bles.lo  pcre_try_flipped.lo  pcre_ucp_searchfuncs.lo  pcre_valid_utf8.lo  pcre_version.lo  pcre_xclass.lo  
generating symbol list for `libpcre.la'
nm  .libs/pcre_chartables.o .libs/pcre_compile.o .libs/pcre_config.o .libs/pcre_dfa_exec.o .libs/pcre_exec.o .libs/pcre_fullinf
o.o .libs/pcre_get.o .libs/pcre_globals.o .libs/pcre_info.o .libs/pcre_maketables.o .libs/pcre_ord2utf8.o .libs/pcre_refcount.o
 .libs/pcre_study.o .libs/pcre_tables.o .libs/pcre_try_flipped.o .libs/pcre_ucp_searchfuncs.o .libs/pcre_valid_utf8.o .libs/pcr
e_version.o .libs/pcre_xclass.o  | sed -n -e 's/^.*[    ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-
9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libpcre.exp
/usr/bin/egrep -e "^[^_]" ".libs/libpcre.exp" > ".libs/libpcre.expT"
mv -f ".libs/libpcre.expT" ".libs/libpcre.exp"
cc -shared  .libs/pcre_chartables.o .libs/pcre_compile.o .libs/pcre_config.o .libs/pcre_dfa_exec.o .libs/pcre_exec.o .libs/pcre
_fullinfo.o .libs/pcre_get.o .libs/pcre_globals.o .libs/pcre_info.o .libs/pcre_maketables.o .libs/pcre_ord2utf8.o .libs/pcre_re
fcount.o .libs/pcre_study.o .libs/pcre_tables.o .libs/pcre_try_flipped.o .libs/pcre_ucp_searchfuncs.o .libs/pcre_valid_utf8.o .
libs/pcre_version.o .libs/pcre_xclass.o  -L/usr/tmp/pkgsrc/devel/pcre/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,l
ibpcre.so.0 -Wl,-retain-symbols-file -Wl,.libs/libpcre.exp -o .libs/libpcre.so.0.0.1
(cd .libs && rm -f libpcre.so.0 && ln -s libpcre.so.0.0.1 libpcre.so.0)
(cd .libs && rm -f libpcre.so && ln -s libpcre.so.0.0.1 libpcre.so)
ar cru .libs/libpcre.a  pcre_chartables.o pcre_compile.o pcre_config.o pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o p
cre_globals.o pcre_info.o pcre_maketables.o pcre_ord2utf8.o pcre_refcount.o pcre_study.o pcre_tables.o pcre_try_flipped.o pcre_
ucp_searchfuncs.o pcre_valid_utf8.o pcre_version.o pcre_xclass.o
ranlib .libs/libpcre.a
creating libpcre.la
(cd .libs && rm -f libpcre.la && ln -s ../libpcre.la libpcre.la)
 cc -c -O2 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcreposix.c  -fPIC -DPIC -o .libs/pcreposix.o
 cc -c -O2 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcreposix.c -o pcreposix.o >/dev/null 2>&1
rm -f libpcreposix.la
/bin/sh ./libtool --mode=link --tag=CC cc -export-symbols-regex '^[^_]' -Wl,-R/usr/pkg/lib -I. -I. -rpath /usr/pkg/lib libpcre.
la -version-info  '0:0:0' -o libpcreposix.la pcreposix.lo
generating symbol list for `libpcreposix.la'
nm  .libs/pcreposix.o  | sed -n -e 's/^.*[      ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\
1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libpcreposix.exp
/usr/bin/egrep -e "^[^_]" ".libs/libpcreposix.exp" > ".libs/libpcreposix.expT"
mv -f ".libs/libpcreposix.expT" ".libs/libpcreposix.exp"
cc -shared  .libs/pcreposix.o  -Wl,--rpath -Wl,/usr/tmp/pkgsrc/devel/pcre/work/pcre-6.7/.libs -Wl,--rpath -Wl,/usr/pkg/lib ./.l
ibs/libpcre.so -L/usr/tmp/pkgsrc/devel/pcre/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libpcreposix.so.0 -Wl,-reta
in-symbols-file -Wl,.libs/libpcreposix.exp -o .libs/libpcreposix.so.0.0.0
(cd .libs && rm -f libpcreposix.so.0 && ln -s libpcreposix.so.0.0.0 libpcreposix.so.0)
(cd .libs && rm -f libpcreposix.so && ln -s libpcreposix.so.0.0.0 libpcreposix.so)
ar cru .libs/libpcreposix.a  pcreposix.o
ranlib .libs/libpcreposix.a
creating libpcreposix.la
(cd .libs && rm -f libpcreposix.la && ln -s ../libpcreposix.la libpcreposix.la)
cc -c -O2 -I. -I. -DSUPPORT_UTF8    ./pcretest.c
/bin/sh ./libtool --mode=link cc -O2 -Wl,-R/usr/pkg/lib -I. -I.   -o pcretest   pcretest.o  libpcre.la libpcreposix.la
cc -O2 -Wl,-R/usr/pkg/lib -I. -o .libs/pcretest pcretest.o  -L/usr/tmp/pkgsrc/devel/pcre/work/pcre-6.7/.libs ./.libs/libpcre.so
 -L/usr/tmp/pkgsrc/devel/pcre/work/.buildlink/lib ./.libs/libpcreposix.so /usr/tmp/pkgsrc/devel/pcre/work/pcre-6.7/.libs/libpcr
e.so -Wl,--rpath -Wl,/usr/pkg/lib
creating pcretest
cc -c -O2 -I. -I. -DSUPPORT_UTF8   -DIS_UNIX ./pcregrep.c
/bin/sh ./libtool --mode=link cc -O2 -Wl,-R/usr/pkg/lib -I. -I. -o pcregrep pcregrep.o libpcre.la
cc -O2 -Wl,-R/usr/pkg/lib -I. -o .libs/pcregrep pcregrep.o  ./.libs/libpcre.so -L/usr/tmp/pkgsrc/devel/pcre/work/.buildlink/lib
 -Wl,--rpath -Wl,/usr/pkg/lib
creating pcregrep
 c++ -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcrecpp.cc  -fPIC -DPIC -o .libs/pcrecpp.o
 c++ -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcrecpp.cc -o pcrecpp.o >/dev/null 2>&1
 c++ -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_scanner.cc  -fPIC -DPIC -o .libs/pcre_scanner.o
 c++ -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_scanner.cc -o pcre_scanner.o >/dev/null 2>&1
 c++ -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_stringpiece.cc  -fPIC -DPIC -o .libs/pcre_stringpiece.o
 c++ -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_stringpiece.cc -o pcre_stringpiece.o >/dev/null 2>&1
rm -f libpcrecpp.la
/bin/sh ./libtool --mode=link c++ -Wl,-R/usr/pkg/lib -I. -I. -rpath /usr/pkg/lib libpcre.la -version-info  '0:0:0' -o libpcrecp
p.la pcrecpp.lo  pcre_scanner.lo  pcre_stringpiece.lo
c++ -shared  .libs/pcrecpp.o .libs/pcre_scanner.o .libs/pcre_stringpiece.o  -Wl,--rpath -Wl,/usr/tmp/pkgsrc/devel/pcre/work/pcr
e-6.7/.libs -Wl,--rpath -Wl,/usr/pkg/lib ./.libs/libpcre.so -L/usr/tmp/pkgsrc/devel/pcre/work/.buildlink/lib  -Wl,-R/usr/pkg/li
b -Wl,-soname -Wl,libpcrecpp.so.0 -o .libs/libpcrecpp.so.0.0.0
(cd .libs && rm -f libpcrecpp.so.0 && ln -s libpcrecpp.so.0.0.0 libpcrecpp.so.0)
(cd .libs && rm -f libpcrecpp.so && ln -s libpcrecpp.so.0.0.0 libpcrecpp.so)
ar cru .libs/libpcrecpp.a  pcrecpp.o pcre_scanner.o pcre_stringpiece.o
ranlib .libs/libpcrecpp.a
creating libpcrecpp.la
(cd .libs && rm -f libpcrecpp.la && ln -s ../libpcrecpp.la libpcrecpp.la)
c++ -c -O2 -I. -I. -DSUPPORT_UTF8    ./pcrecpp_unittest.cc
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
*** Error code 1

Stop.
make: stopped in /usr/tmp/pkgsrc/devel/pcre/work/pcre-6.7
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/pcre
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/pcre
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/nmap
>How-To-Repeat:

>Fix: