NetBSD Problem Report #32396

From www@netbsd.org  Wed Dec 28 08:32:23 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id E626363B8B9; Wed, 28 Dec 2005 08:32:22 +0000 (UTC)
Message-Id: <20051228083222.E626363B8B9@narn.netbsd.org>
Date: Wed, 28 Dec 2005 08:32:22 +0000 (UTC)
From: raczkow@prz.edu.pl
Reply-To: raczkow@prz.edu.pl
To: gnats-bugs@netbsd.org
Subject: perl5-nb6 failes to compile on Solaris 10 x86_64 with Sun Studio 11
X-Send-Pr-Version: www-1.0

>Number:         32396
>Category:       pkg
>Synopsis:       perl5-nb6 failes to compile on Solaris 10 x86_64 with Sun Studio 11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 28 08:35:00 +0000 2005
>Closed-Date:    Thu Feb 07 14:27:52 +0000 2013
>Last-Modified:  Thu Feb 07 14:27:52 +0000 2013
>Originator:     Krzysztof Raczkowski
>Release:        
>Organization:
Rzeszow University of Technology
>Environment:
SunOS pkgsrc-i64 5.10 Generic_118844-20 i86pc i386 i86pc

>Description:
Installation of lang/perl5 port (nb6) on Solaris 10 with Sun Studio 11 compiler fails with the following error:

gcc -o libperl.so -Wl,-R/usr/pkg/lib   -L/usr/lib -L/usr/pkg/lib perl.o  gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o  -lm -ldl -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
main                                /opt/SUNWspro/prod/lib/amd64/crt1x.o
ld: fatal: Symbol referencing errors. No output written to libperl.so
*** Error code 1

As far as I know, it's something with library paths passing to linker. -L/usr/lib and -L/usr/pkg/lib is not enough. In perl5-nb5 there were additional paths automaticly detected: -L/opt/SUNWspro/prod/lib/amd64 -L/lib/amd64

As I am new 'pkgsrc on Solaris' user, it'll take a while to create patch.

>How-To-Repeat:
sync pkgsrc with CVS
cd /usr/pkgsrc/lang/perl5
bmake
>Fix:
Downgrade perl5 port to nb5 release or add -L/opt/SUNWspro/prod/lib/amd64 -L/lib/amd64 paths to additional ld flags.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->jlam
Responsible-Changed-By: reed@netbsd.org
Responsible-Changed-When: Fri, 30 Dec 2005 00:17:04 +0000
Responsible-Changed-Why:
Assigned to maintainer.


State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 09 Nov 2009 06:56:38 +0000
State-Changed-Why:
Is this still a problem with perl 5.10?


From: Krzysztof Raczkowski <raczkow@prz.edu.pl>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/32396 (perl5-nb6 failes to compile on Solaris 10 x86_64 with Sun Studio 11)
Date: Mon, 9 Nov 2009 08:01:57 +0100

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 Dnia poniedziałek 09 listopad 2009 o 07:56:39 napisałeś:
 > Synopsis: perl5-nb6 failes to compile on Solaris 10 x86_64 with Sun
 >  Studio 11
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: dholland@NetBSD.org
 > State-Changed-When: Mon, 09 Nov 2009 06:56:38 +0000
 > State-Changed-Why:
 > Is this still a problem with perl 5.10?
 > 

 I no longer use pkgsrc, so I can not confirm.

 - -- 
 Krzysztof Raczkowski
 System Administrator of CZ RMSK
 Rzeszow University of Technology
 tel.: +48 (17) 865-13-93; e-mail: raczkow@prz.edu.pl
 PGP key: http://www.prz.edu.pl/~raczkow/gnupg/pub_key.asc
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (GNU/Linux)

 iQIcBAEBAgAGBQJK975lAAoJEBmwnmCbd+s5Z5QP/10dXCjTA15TToYrFE53MHAn
 A3pdAmYGpmNvqBUtnwS6ZMOax8TfOWbmUT5N2ujs+YOkBAnzy+QUH45vZhfNFca+
 tWO4tjcrVA4PDVDxw8Tnq2NawZlk/5mKnMmdfHhgsIkSEeIFckQ+cVOd01aJlukq
 Z1IoQm6YZsyJ0L0GHBZxfl8o2iExqjzNYxXYaBkeKyUyKso8U8tabDYzcEHL0m6c
 OvaFtk6lLVbvLdJs6xlTG4fcJl15dDLMgABCuz1/fgG91nRgg2lt80+2nwUCxB7R
 xFBk+UtsXNg0ZcDsc95zddjDV0O3t0OpvpQBlEuFnLZ48OOTgGGV6TDOCoD0Yvr2
 MvAmo8+CaJkiKf0McUIheZlY5Vy1sYJcFhJjnQF4cXibjqZbUSP5c2QbyZuzmWzK
 u71NfB+zQsrKl5g7xMjtZJseZVvil1He2UWRVSfEZkBNzuigKhY5Pvw53N0REfEW
 CsfjakNWsZd7QsJvw1cYOI/pnrunOl7baai1n/wq2XWM6b7xuGdvVcQfOvftacm4
 n39l/X+Pf19aUkhunC5v5qxxiCIqlxE+PdtAihzX8h8H4llXogS+b0PwdfSZpCbC
 zQmWU8Av9MDH7rz4NiU5+yToN5VYMd4HSq6SkAwX03WPY26UOpDo/DfjJG5gDbA9
 ud513WOulmQgClv9uSKe
 =EFeq
 -----END PGP SIGNATURE-----

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 09 Nov 2009 09:14:50 +0000
State-Changed-Why:
Can anyone check perl on Solaris 10 x86_64 with Sun Studio?


Responsible-Changed-From-To: jlam->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 21 Mar 2010 16:18:34 +0000
Responsible-Changed-Why:
Back to role account, jlam lost his commit bit.


State-Changed-From-To: open->closed
State-Changed-By: jperkin@NetBSD.org
State-Changed-When: Thu, 07 Feb 2013 14:27:52 +0000
State-Changed-Why:
I don't see a need to keep this PR around any longer.


>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.