Subject: pkg/27284: lang/gcc (2.95.3) build fails on NetBSD 1.5.3
To: None <tech-pkg@NetBSD.org>
From: Ben Collver <ben@NetBSD.org>
List: tech-pkg
Date: 10/17/2004 20:54:27
Hello,

I am looking for a volunteer to take responsibility for this PR from
Mochida Shuji.

Any takers?

Ben Collver

----- Forwarded message from mochid@netside.co.jp -----
>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:
----- End forwarded message -----