NetBSD Problem Report #48969

From tron@zhadum.org.uk  Sun Jul  6 09:07:33 2014
Return-Path: <tron@zhadum.org.uk>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id ABA10A5D59
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  6 Jul 2014 09:07:33 +0000 (UTC)
Message-Id: <20140706090727.90888A3B9FE@mail.zhadum.org.uk>
Date: Sun,  6 Jul 2014 10:07:27 +0100 (BST)
From: tron@zhadum.org.uk
Reply-To: tron@zhadum.org.uk
To: gnats-bugs@gnats.NetBSD.org
Subject: "gcc48-libs" package doesn't build under Solaris 10 SPARC
X-Send-Pr-Version: 3.95

>Number:         48969
>Category:       pkg
>Synopsis:       "gcc48-libs" package doesn't build under Solaris 10 SPARC
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 06 09:10:00 +0000 2014
>Last-Modified:  Thu Jul 10 15:19:27 +0000 2014
>Originator:     Matthias Scheler
>Release:        SunOS 5.10 pkgsrc HEAD 2014-07-05
>Organization:
Matthias Scheler                                 https://zhadum.org.uk/
>Environment:
System: SunOS buildpkg 5.10 Generic_150400-12 sun4u sparc SUNW,Sun-Fire-280R
Architecture: sparc
Machine: sun4u
>Description:
I'm trying to build "lang/gcc48" under Solaris 10 SPARC. Unfortunately
the build fails in "lang/gcc48-libs":

===> Binary install for gcc48-4.8.3
=> Installing gcc48-4.8.3 from /install/packages/All
pkg_add: no pkg found for 'gcc48-4.8.3', sorry.
pkg_add: 1 package addition failed
[...]
===> Configuring for gcc48-libs-4.8.3
=> Setting target machine name path in gcc/Makefile.in
INFO: [subst.mk:vars] Nothing changed in ./gcc/Makefile.in.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o root -g root
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /opt/pkg/bin/nbsed
checking for gawk... /opt/pkg/bin/nawk
checking for libatomic support... yes
checking for libitm support... yes
checking for libsanitizer support... no
checking for sparc-sun-solaris2.10-gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... no
checking for sparc-sun-solaris2.10-gnatbind... no
checking for gnatbind... no
checking for sparc-sun-solaris2.10-gnatmake... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for objdir... .libs
configure: WARNING: using in-tree ISL, disabling version check
configure: WARNING: using in-tree CLooG, disabling version check
The following languages will be built: c,c++,fortran,lto,objc,obj-c++
*** This configuration is not supported in the following subdirectories:
     target-libmudflap target-libsanitizer gnattools target-libada target-libgo target-libffi target-libbacktrace target-zlib target-libjava target-boehm-gc
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG... 
checking for bison... /opt/pkg/bin/bison -y
checking for bison... /content/build/pkgsrc/lang/gcc48-libs/work/.tools/bin/bison
checking for gm4... gm4
checking for flex... no
checking for lex... lex
checking for flex... no
checking for makeinfo... /content/build/pkgsrc/lang/gcc48-libs/work/.tools/bin/makeinfo
checking for expect... no
checking for runtest... no
checking for sparc-sun-solaris2.10-ar... no
checking for ar... ar
checking for sparc-sun-solaris2.10-as... no
checking for as... as
checking for sparc-sun-solaris2.10-dlltool... no
checking for dlltool... no
checking for ld... (cached) /usr/ccs/bin/ld
checking for sparc-sun-solaris2.10-ld... (cached) /usr/ccs/bin/ld
checking for sparc-sun-solaris2.10-lipo... no
checking for lipo... no
checking for sparc-sun-solaris2.10-nm... no
checking for nm... nm
checking for sparc-sun-solaris2.10-ranlib... no
checking for ranlib... ranlib
checking for sparc-sun-solaris2.10-strip... no
checking for strip... strip
checking for sparc-sun-solaris2.10-windres... no
checking for windres... no
checking for sparc-sun-solaris2.10-windmc... no
checking for windmc... no
checking for sparc-sun-solaris2.10-objcopy... no
checking for objcopy... no
checking for objdump... (cached) /usr/sfw/bin/gobjdump
checking for sparc-sun-solaris2.10-objdump... (cached) /usr/sfw/bin/gobjdump
checking for sparc-sun-solaris2.10-readelf... no
checking for readelf... no
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gcj... gcj
checking for gfortran... gfortran
checking for gccgo... no
checking for ar... no
checking for ar... ar
checking for as... no
checking for as... as
checking for dlltool... no
checking for dlltool... no
checking for ld... no
checking for ld... ld
checking for lipo... no
checking for lipo... no
checking for nm... no
checking for nm... nm
checking for objdump... no
checking for objdump... no
checking for ranlib... no
checking for ranlib... ranlib
checking for readelf... no
checking for readelf... no
checking for strip... no
checking for strip... strip
checking for windres... no
checking for windres... no
checking for windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... host tool
checking where to find the target gfortran... just compiled
checking where to find the target gccgo... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target readelf... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
=> Modifying libtool scripts to use pkgsrc libtool
===> Building for gcc48-libs-4.8.3
[...]
/content/build/pkgsrc/lang/gcc48-libs/work/build/./gcc/xgcc -B/content/build/pkgsrc/lang/gcc48-libs/work/build/./gcc/ -B/opt/pkg/gcc48/sparc-sun-solaris2.10/bin/ -B/opt/pkg/gcc48/sparc-sun-solaris2.10/lib/ -isystem /opt/pkg/gcc48/sparc-sun-solaris2.10/include -isystem /opt/pkg/gcc48/sparc-sun-solaris2.10/sys-include    -g -O2 -I/usr/include -I/opt/pkg/gcc34/include -I/opt/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include -O2  -g -O2 -I/usr/include -I/opt/pkg/gcc34/include -I/opt/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fPIC -I. -I. -I../.././gcc -I../../../gcc-4.8.3/libgcc -I../../../gcc-4.8.3/libgcc/. -I../../../gcc-4.8.3/libgcc/../gcc -I../../../gcc-4.8.3/libgcc/../include  -DHAVE_CC_TLS  -o _fixunsdfdi.o -MT _fixunsdfdi.o -MD -MP -MF _fixunsdfdi.dep -DL_fixunsdf
 di -c ../../../gcc-4.8.3/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
In file included from ../../../../gcc-4.8.3/libgcc/unwind-dw2.c:35:0:
../../../../gcc-4.8.3/libgcc/unwind-pe.h:131:39: error: unknown type name '_uleb128_t'
 read_uleb128 (const unsigned char *p, _uleb128_t *val)
                                       ^
../../../../gcc-4.8.3/libgcc/unwind-pe.h:153:39: error: unknown type name '_sleb128_t'
 read_sleb128 (const unsigned char *p, _sleb128_t *val)
                                       ^
../../../../gcc-4.8.3/libgcc/unwind-pe.h: In function 'read_encoded_value_with_base':
../../../../gcc-4.8.3/libgcc/unwind-pe.h:216:6: error: unknown type name '_uleb128_t'
      _uleb128_t tmp;
      ^
../../../../gcc-4.8.3/libgcc/unwind-pe.h:217:6: warning: implicit declaration of function 'read_uleb128' [-Wimplicit-function-declaration]
      p = read_uleb128 (p, &tmp);
      ^
../../../../gcc-4.8.3/libgcc/unwind-pe.h:217:8: warning: assignment makes pointer from integer without a cast [enabled by default]
      p = read_uleb128 (p, &tmp);
        ^
../../../../gcc-4.8.3/libgcc/unwind-pe.h:224:6: error: unknown type name '_sleb128_t'
      _sleb128_t tmp;
      ^
../../../../gcc-4.8.3/libgcc/unwind-pe.h:225:6: warning: implicit declaration of function 'read_sleb128' [-Wimplicit-function-declaration]
      p = read_sleb128 (p, &tmp);
      ^
../../../../gcc-4.8.3/libgcc/unwind-pe.h:225:8: warning: assignment makes pointer from integer without a cast [enabled by default]
      p = read_sleb128 (p, &tmp);
        ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c: At top level:
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:354:1: warning: no previous prototype for '_Unwind_GetIPInfo' [-Wmissing-prototypes]
 _Unwind_GetIPInfo (struct _Unwind_Context *context, int *ip_before_insn)
 ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c: In function 'extract_cie_info':
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:418:3: error: unknown type name '_uleb128_t'
   _uleb128_t utmp;
   ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:419:3: error: unknown type name '_sleb128_t'
   _sleb128_t stmp;
   ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:441:5: warning: assignment makes pointer from integer without a cast [enabled by default]
   p = read_uleb128 (p, &utmp);
     ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:443:5: warning: assignment makes pointer from integer without a cast [enabled by default]
   p = read_sleb128 (p, &stmp);
     ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:449:9: warning: assignment makes pointer from integer without a cast [enabled by default]
       p = read_uleb128 (p, &utmp);
         ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:459:9: warning: assignment makes pointer from integer without a cast [enabled by default]
       p = read_uleb128 (p, &utmp);
         ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c: In function 'execute_stack_op':
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:527:7: error: unknown type name '_uleb128_t'
       _uleb128_t reg, utmp;
       ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:528:7: error: unknown type name '_sleb128_t'
       _sleb128_t offset, stmp;
       ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:613:11: warning: assignment makes pointer from integer without a cast [enabled by default]
    op_ptr = read_uleb128 (op_ptr, &utmp);
           ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:617:11: warning: assignment makes pointer from integer without a cast [enabled by default]
    op_ptr = read_sleb128 (op_ptr, &stmp);
           ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:656:11: warning: assignment makes pointer from integer without a cast [enabled by default]
    op_ptr = read_uleb128 (op_ptr, &reg);
           ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:692:11: warning: assignment makes pointer from integer without a cast [enabled by default]
    op_ptr = read_sleb128 (op_ptr, &offset);
           ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:696:11: warning: assignment makes pointer from integer without a cast [enabled by default]
    op_ptr = read_uleb128 (op_ptr, &reg);
           ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:697:11: warning: assignment makes pointer from integer without a cast [enabled by default]
    op_ptr = read_sleb128 (op_ptr, &offset);
           ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:801:15: warning: assignment makes pointer from integer without a cast [enabled by default]
        op_ptr = read_uleb128 (op_ptr, &utmp);
               ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c: In function 'execute_cfa_program':
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:961:7: error: unknown type name '_uleb128_t'
       _uleb128_t reg, utmp;
       ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:962:7: error: unknown type name '_sleb128_t'
       _sleb128_t offset, stmp;
       ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:969:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &utmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1011:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &reg);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1012:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &utmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1023:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &reg);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1032:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &reg);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1039:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &reg);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1050:6: error: unknown type name '_uleb128_t'
      _uleb128_t reg2;
      ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1051:15: warning: assignment makes pointer from integer without a cast [enabled by default]
      insn_ptr = read_uleb128 (insn_ptr, &reg);
               ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1052:15: warning: assignment makes pointer from integer without a cast [enabled by default]
      insn_ptr = read_uleb128 (insn_ptr, &reg2);
               ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1088:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &utmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1090:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &utmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1096:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &utmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1102:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &utmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1110:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &utmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1115:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &reg);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1122:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &utmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1128:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &reg);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1129:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_sleb128 (insn_ptr, &stmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1140:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &utmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1142:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_sleb128 (insn_ptr, &stmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1149:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_sleb128 (insn_ptr, &stmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1156:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &reg);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1157:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &utmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1168:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &reg);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1169:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_sleb128 (insn_ptr, &stmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1180:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &reg);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1187:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &utmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1202:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &utmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1209:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &reg);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1210:13: warning: assignment makes pointer from integer without a cast [enabled by default]
    insn_ptr = read_uleb128 (insn_ptr, &utmp);
             ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c: In function 'uw_frame_state_for':
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1277:7: error: unknown type name '_uleb128_t'
       _uleb128_t i;
       ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1278:11: warning: assignment makes pointer from integer without a cast [enabled by default]
       aug = read_uleb128 (aug, &i);
           ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c: In function 'uw_update_context_1':
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1421:2: error: unknown type name '_uleb128_t'
  _uleb128_t len;
  ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1423:6: warning: assignment makes pointer from integer without a cast [enabled by default]
  exp = read_uleb128 (exp, &len);
      ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1461:4: error: unknown type name '_uleb128_t'
    _uleb128_t len;
    ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1464:8: warning: assignment makes pointer from integer without a cast [enabled by default]
    exp = read_uleb128 (exp, &len);
        ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1480:4: error: unknown type name '_uleb128_t'
    _uleb128_t len;
    ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1483:8: warning: assignment makes pointer from integer without a cast [enabled by default]
    exp = read_uleb128 (exp, &len);
        ^
In file included from ../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1698:0:
../../../../gcc-4.8.3/libgcc/unwind.inc: At top level:
../../../../gcc-4.8.3/libgcc/unwind.inc:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Unwind_RaiseException'
 _Unwind_RaiseException(struct _Unwind_Exception *exc)
 ^
/content/build/pkgsrc/lang/gcc48-libs/work/build/./gcc/xgcc -B/content/build/pkgsrc/lang/gcc48-libs/work/build/./gcc/ -B/opt/pkg/gcc48/sparc-sun-solaris2.10/bin/ -B/opt/pkg/gcc48/sparc-sun-solaris2.10/lib/ -isystem /opt/pkg/gcc48/sparc-sun-solaris2.10/include -isystem /opt/pkg/gcc48/sparc-sun-solaris2.10/sys-include    -g -O2 -I/usr/include -I/opt/pkg/gcc34/include -I/opt/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include -m64 -O2  -g -O2 -I/usr/include -I/opt/pkg/gcc34/include -I/opt/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fPIC -I. -I. -I../../.././gcc -I../../../../gcc-4.8.3/libgcc -I../../../../gcc-4.8.3/libgcc/. -I../../../../gcc-4.8.3/libgcc/../gcc -I../../../../gcc-4.8.3/libgcc/../include  -DHAVE_CC_TLS  -o unwind-dw2-fde-dip.o -MT unwind-dw2-fde-dip.o -MD -M
 P -MF unwind-dw2-fde-dip.dep -fexceptions -c ../../../../gcc-4.8.3/libgcc/unwind-dw2-fde-dip.c -fvisibility=hidden -DHIDE_EXPORTS
../../../../gcc-4.8.3/libgcc/unwind.inc:195:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Unwind_ForcedUnwind'
 _Unwind_ForcedUnwind (struct _Unwind_Exception *exc,
 ^
../../../../gcc-4.8.3/libgcc/unwind.inc:219:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Unwind_Resume'
 _Unwind_Resume (struct _Unwind_Exception *exc)
 ^
../../../../gcc-4.8.3/libgcc/unwind.inc:244:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Unwind_Resume_or_Rethrow'
 _Unwind_Resume_or_Rethrow (struct _Unwind_Exception *exc)
 ^
../../../../gcc-4.8.3/libgcc/unwind.inc:278:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Unwind_Backtrace'
 _Unwind_Backtrace(_Unwind_Trace_Fn trace, void * trace_argument)
 ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1553:1: warning: 'uw_init_context_1' defined but not used [-Wunused-function]
 uw_init_context_1 (struct _Unwind_Context *context,
 ^
../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1630:1: warning: 'uw_install_context_1' defined but not used [-Wunused-function]
 uw_install_context_1 (struct _Unwind_Context *current,
 ^
In file included from ../../../../gcc-4.8.3/libgcc/unwind-dw2.c:1698:0:
../../../../gcc-4.8.3/libgcc/unwind.inc:38:1: warning: '_Unwind_RaiseException_Phase2' defined but not used [-Wunused-function]
 _Unwind_RaiseException_Phase2(struct _Unwind_Exception *exc,
 ^
../../../../gcc-4.8.3/libgcc/unwind.inc:142:1: warning: '_Unwind_ForcedUnwind_Phase2' defined but not used [-Wunused-function]
 _Unwind_ForcedUnwind_Phase2 (struct _Unwind_Exception *exc,
 ^
gmake[5]: *** [unwind-dw2.o] Error 1
gmake[5]: *** Waiting for unfinished jobs....
/content/build/pkgsrc/lang/gcc48-libs/work/build/./gcc/xgcc -B/content/build/pkgsrc/lang/gcc48-libs/work/build/./gcc/ -B/opt/pkg/gcc48/sparc-sun-solaris2.10/bin/ -B/opt/pkg/gcc48/sparc-sun-solaris2.10/lib/ -isystem /opt/pkg/gcc48/sparc-sun-solaris2.10/include -isystem /opt/pkg/gcc48/sparc-sun-solaris2.10/sys-include    -g -O2 -I/usr/include -I/opt/pkg/gcc34/include -I/opt/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include -O2  -g -O2 -I/usr/include -I/opt/pkg/gcc34/include -I/opt/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fPIC -I. -I. -I../.././gcc -I../../../gcc-4.8.3/libgcc -I../../../gcc-4.8.3/libgcc/. -I../../../gcc-4.8.3/libgcc/../gcc -I../../../gcc-4.8.3/libgcc/../include  -DHAVE_CC_TLS  -o _fixunsxfdi.o -MT _fixunsxfdi.o -MD -MP -MF _fixunsxfdi.dep -DL_fixunsxf
 di -c ../../../gcc-4.8.3/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
In file included from ../../../../gcc-4.8.3/libgcc/unwind-dw2-fde-dip.c:44:0:
../../../../gcc-4.8.3/libgcc/unwind-pe.h:131:39: error: unknown type name '_uleb128_t'
 read_uleb128 (const unsigned char *p, _uleb128_t *val)
                                       ^
../../../../gcc-4.8.3/libgcc/unwind-pe.h:153:39: error: unknown type name '_sleb128_t'
 read_sleb128 (const unsigned char *p, _sleb128_t *val)
                                       ^
../../../../gcc-4.8.3/libgcc/unwind-pe.h: In function 'read_encoded_value_with_base':
../../../../gcc-4.8.3/libgcc/unwind-pe.h:216:6: error: unknown type name '_uleb128_t'
      _uleb128_t tmp;
      ^
../../../../gcc-4.8.3/libgcc/unwind-pe.h:217:6: warning: implicit declaration of function 'read_uleb128' [-Wimplicit-function-declaration]
      p = read_uleb128 (p, &tmp);
      ^
../../../../gcc-4.8.3/libgcc/unwind-pe.h:217:8: warning: assignment makes pointer from integer without a cast [enabled by default]
      p = read_uleb128 (p, &tmp);
        ^
../../../../gcc-4.8.3/libgcc/unwind-pe.h:224:6: error: unknown type name '_sleb128_t'
      _sleb128_t tmp;
      ^
../../../../gcc-4.8.3/libgcc/unwind-pe.h:225:6: warning: implicit declaration of function 'read_sleb128' [-Wimplicit-function-declaration]
      p = read_sleb128 (p, &tmp);
      ^
../../../../gcc-4.8.3/libgcc/unwind-pe.h:225:8: warning: assignment makes pointer from integer without a cast [enabled by default]
      p = read_sleb128 (p, &tmp);
        ^
In file included from ../../../../gcc-4.8.3/libgcc/unwind-dw2-fde-dip.c:477:0:
../../../../gcc-4.8.3/libgcc/unwind-dw2-fde.c: In function 'get_cie_encoding':
../../../../gcc-4.8.3/libgcc/unwind-dw2-fde.c:268:3: error: unknown type name '_uleb128_t'
   _uleb128_t utmp;
   ^
../../../../gcc-4.8.3/libgcc/unwind-dw2-fde.c:269:3: error: unknown type name '_sleb128_t'
   _sleb128_t stmp;
   ^
../../../../gcc-4.8.3/libgcc/unwind-dw2-fde.c:284:5: warning: assignment makes pointer from integer without a cast [enabled by default]
   p = read_uleb128 (p, &utmp);  /* Skip code alignment.  */
     ^
../../../../gcc-4.8.3/libgcc/unwind-dw2-fde.c:285:5: warning: assignment makes pointer from integer without a cast [enabled by default]
   p = read_sleb128 (p, &stmp);  /* Skip data alignment.  */
     ^
../../../../gcc-4.8.3/libgcc/unwind-dw2-fde.c:289:7: warning: assignment makes pointer from integer without a cast [enabled by default]
     p = read_uleb128 (p, &utmp);
       ^
../../../../gcc-4.8.3/libgcc/unwind-dw2-fde.c:292:5: warning: assignment makes pointer from integer without a cast [enabled by default]
   p = read_uleb128 (p, &utmp);  /* Skip augmentation length.  */
     ^
/content/build/pkgsrc/lang/gcc48-libs/work/build/./gcc/xgcc -B/content/build/pkgsrc/lang/gcc48-libs/work/build/./gcc/ -B/opt/pkg/gcc48/sparc-sun-solaris2.10/bin/ -B/opt/pkg/gcc48/sparc-sun-solaris2.10/lib/ -isystem /opt/pkg/gcc48/sparc-sun-solaris2.10/include -isystem /opt/pkg/gcc48/sparc-sun-solaris2.10/sys-include    -g -O2 -I/usr/include -I/opt/pkg/gcc34/include -I/opt/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include -O2  -g -O2 -I/usr/include -I/opt/pkg/gcc34/include -I/opt/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fPIC -I. -I. -I../.././gcc -I../../../gcc-4.8.3/libgcc -I../../../gcc-4.8.3/libgcc/. -I../../../gcc-4.8.3/libgcc/../gcc -I../../../gcc-4.8.3/libgcc/../include  -DHAVE_CC_TLS  -o _fixunstfdi.o -MT _fixunstfdi.o -MD -MP -MF _fixunstfdi.dep -DL_fixunstf
 di -c ../../../gcc-4.8.3/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
gmake[5]: *** [unwind-dw2-fde-dip.o] Error 1
gmake[5]: Leaving directory `/export/buildtmp/pkgsrc/lang/gcc48-libs/work/build/sparc-sun-solaris2.10/sparcv9/libgcc'
gmake[4]: *** [multi-do] Error 1
gmake[4]: Leaving directory `/export/buildtmp/pkgsrc/lang/gcc48-libs/work/build/sparc-sun-solaris2.10/libgcc'
gmake[3]: *** [all-multi] Error 2
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory `/export/buildtmp/pkgsrc/lang/gcc48-libs/work/build/sparc-sun-solaris2.10/libgcc'
gmake[2]: *** [all-stage1-target-libgcc] Error 2
gmake[2]: Leaving directory `/export/buildtmp/pkgsrc/lang/gcc48-libs/work/build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/export/buildtmp/pkgsrc/lang/gcc48-libs/work/build'
gmake: *** [all] Error 2
*** Error code 2

Stop.

I'm using GCC 3.4.6 built from "pkgsrc" to bootstrap in this case.
I've also tried with Sun Studio Compiler and the GCC 3.4.3 bundled
with Solaris 10. It doesn't change the outcome.

This package used to build fine in the pkgsrc-2013Q4 branch on the
very same machine.

>How-To-Repeat:
cd pkgsrc/lang/gcc48
bmake bin-install

>Fix:
None known.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: ryoon@NetBSD.org
Responsible-Changed-When: Thu, 10 Jul 2014 15:19:27 +0000
Responsible-Changed-Why:
Solaris problem


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.