pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/44999 (lang/perl5 fails to build on Solaris10 with gcc in 64bit mode)
The following reply was made to PR pkg/44999; it has been noted by GNATS.
From: Tim Zingelman <tez%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: solaris-pkg-people%netbsd.org@localhost, pkg-manager%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
wiz%netbsd.org@localhost,
KOT%matpockuh.ru@localhost
Subject: Re: pkg/44999 (lang/perl5 fails to build on Solaris10 with gcc in
64bit mode)
Date: Wed, 1 Jun 2011 00:08:21 -0500
--001485f794b86f0e2e04a49f8297
Content-Type: text/plain; charset=ISO-8859-1
The problem is gcc using the wrong bits when linking... if '-shared'
is passed to gcc when linking the .so files the problem goes away.
Replace pkgsrc/lang/perl5/patches/patch-ai with the attached file, then:
cd pkgsrc/lang/perl5
rm -rf work
bmake distinfo
bmake
and let me know if that fixes it. (the bmake distinfo creates a new
checksum value for patch-ai in the distinfo file and without doing
that the patch will be ignored)
I still need to test the 32-bit case to be sure this does not break
anything before committing the patch... (and probably the sunpro case
too since perl is such a core tool.)
- Tim
--001485f794b86f0e2e04a49f8297
Content-Type: application/octet-stream; name=patch-ai
Content-Disposition: attachment; filename=patch-ai
Content-Transfer-Encoding: base64
X-Attachment-Id: f_godt4vz20
JE5ldEJTRCQKCi0tLSBoaW50cy9zb2xhcmlzXzIuc2gub3JpZwlUdWUgTWF5IDMxIDIzOjQxOjI5
IDIwMTEKKysrIGhpbnRzL3NvbGFyaXNfMi5zaAlUdWUgTWF5IDMxIDIzOjQxOjM0IDIwMTEKQEAg
LTU2OCwxMiArNTY4LDEyIEBACiAjCQkgICAgY2NmbGFncz0iJGNjZmxhZ3MgLVdhLGBnZXRjb25m
IFhCUzVfTFA2NF9PRkY2NF9DRkxBR1MgMj4vZGV2L251bGxgIgogIwkJZmkKIAkJbGR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