Subject: pkg/27284: pkgsrc/lang/gcc (gcc-2.95.3nb5) does not compile on NetBSD 1.5.3 user land
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mochid@netside.co.jp>
List: pkgsrc-bugs
Date: 10/18/2004 12:35:21
>Number:         27284
>Category:       pkg
>Synopsis:       pkgsrc/lang/gcc (gcc-2.95.3nb5) does not compile on NetBSD 1.5.3 user land
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 18 03:36:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     MOCHIDA Shuji
>Release:        NetBSD 1.5.3 i386
>Organization:
NETside Technologies Inc.
>Environment:
System: NetBSD 1.5.3 i386
>Description:

 pkgsrc/lang/gcc (gcc-2.95.3nb5) does not compile on NetBSD 1.5.3 user land.
i386. It may because 1.5.x does not include /usr/lib/libgcc_pic.a while
1.6.x does.

gmake[1]: Entering directory `/var/tmp/obj/lang/gcc/work.i386/objdir/i386--netbsdelf/libstdc++'
  :
/var/tmp/obj/lang/gcc/work.i386/objdir/gcc/xgcc -B/var/tmp/obj/lang/gcc/work.i386/objdir/gcc/ -B/usr/pkg/gcc-2.95.3/i386--netbsdelf/bin/ -O2 -fno-implicit-templates  -shared -o libstdc++.so.4.0 `cat piclist` 
/usr/pkg/bin/ld: cannot find -lgcc_pic
collect2: ld returned 1 exit status
gmake[1]: *** [libstdc++.so.4.0] Error 1
gmake[1]: Leaving directory `/var/tmp/obj/lang/gcc/work.i386/objdir/i386--netbsdelf/libstdc++'
gmake: *** [all-target-libstdc++] Error 2
*** Error code 2

Stop.
*** Error code 1

Stop.

>How-To-Repeat:
 on 1.5.3, (cd pkgsrc/lang/gcc; make)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: