pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42049: lang/gcc-ssp compilation errors (NetBSD 4.0 / i386)



>Number:         42049
>Category:       pkg
>Synopsis:       lang/gcc-ssp compilation errors (NetBSD 4.0 / i386)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 11 10:40:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386   pkgsrc current 2009-09-10
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        lang/gcc-ssp (which looks to be a very old version of gcc)
        fails to build with function prototype errors.   (gcc-ssp-2.95.3.13nb4)

>How-To-Repeat:
        I use pkg_comp with libkver and  NetBSD 4.0 sets installed
        (no x* sets, pkgsrc modular xorg instead, but that is not relevant
        here.)   Most likely none of this is relevant, for something this
        old, building in an order build environment (4.0 rather that
        5.0 or current) ought to tend to make the package less likely to
        fail, rather than more (just the opposite than with newer
        packages that sometimes assume newer system interfaces.)

        In this environment, building lang/gcc-ssp results in ...

cc -c  -DIN_GCC   -O2     -I. -I.. 
-I/pkg_comp/obj/pkgsrc/lang/gcc-ssp/4x/gcc-2.95.3/gcc/ch 
-I/pkg_comp/obj/pkgsrc/lang/gcc-ssp/4x/gcc-2.95.3/gcc/ch/.. 
-I/pkg_comp/obj/pkgsrc/lang/gcc-ssp/4x/gcc-2.95.3/gcc/ch/../config 
-I/pkg_comp/obj/pkgsrc/lang/gcc-ssp/4x/gcc-2.95.3/gcc/ch/../../include 
/pkg_comp/obj/pkgsrc/lang/gcc-ssp/4x/gcc-2.95.3/gcc/ch/decl.c
/pkg_comp/obj/pkgsrc/lang/gcc-ssp/4x/gcc-2.95.3/gcc/ch/decl.c: In function 
'start_struct':
/pkg_comp/obj/pkgsrc/lang/gcc-ssp/4x/gcc-2.95.3/gcc/ch/decl.c:4451: error: 
argument 'code' doesn't match prototype
/pkg_comp/obj/pkgsrc/lang/gcc-ssp/4x/gcc-2.95.3/gcc/ch/ch-tree.h:736: error: 
prototype declaration
gmake[2]: *** [decl.o] Error 1
gmake[2]: Leaving directory `/pkg_comp/obj/pkgsrc/lang/gcc-ssp/4x/objdir/gcc/ch'
gmake[1]: *** [cc1chill] Error 2
gmake[1]: Leaving directory `/pkg_comp/obj/pkgsrc/lang/gcc-ssp/4x/objdir/gcc'
gmake: *** [all-gcc] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/lang/gcc-ssp
*** Error code 1

Stop.

>Fix:



Home | Main Index | Thread Index | Old Index