pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/45256: lang/gcc46 not working properly on Solaris
>Number: 45256
>Category: pkg
>Synopsis: lang/gcc46 not working properly on Solaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 15 07:45:00 +0000 2011
>Originator: Jörn Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
Building lang/gcc46 on Solaris 10 using the Sun Compiler Studio cc seems to
work - at first sight. The only problem are shared objects depending on
libgcc_s.so. The correct runtime path is missing.
In my case, libgcc_s.so is installed in
/usr/pkgsrc/20110809/gcc46/lib/libgcc_s.so.1
yet this is the runpath of a shared object:
$ dump -Lv /usr/pkgsrc/20110809/lib/libxml2.so.2.7.8 | grep PATH
[11] RUNPATH /usr/pkgsrc/20110809/lib
[12] RPATH /usr/pkgsrc/20110809/lib
Compare this to gcc34 from an older installation: libgcc_s.so is installed in
/usr/pkgsrc/20101105/gcc34/lib/libgcc_s.so.1
and the runpath is correctly
$ dump -Lv /usr/pkgsrc/20101105/lib/libxml2.so.2.7.8 | grep PATH
[11] RUNPATH /usr/pkgsrc/20101105/lib:/usr/pkgsrc/20101105/gcc34/lib
[12] RPATH /usr/pkgsrc/20101105/lib:/usr/pkgsrc/20101105/gcc34/lib
After installing lang/gcc46, I reinstalled devel/libtool-base.
And I removed the dependency on devel/binutils, as Solaris' ld is still the
preferred linker.
>How-To-Repeat:
>Fix:
A symlink from pkgsrc's standard lib directory to gcc's would be a workaround.
Home |
Main Index |
Thread Index |
Old Index