[Bug ada/26326] New: Incorrect installation of libgnarl-4.1.sl and libgnat-4.1.sl

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Feb 16 17:52:00 GMT 2006


When GCC is configured with --prefix=/opt/gnu/gcc/gcc-4.1.0,
libgnarl and libgnat are installed in
/opt/gnu/gcc/gcc-4.1.0/lib/gcc/hppa2.0w-hp-hpux11.11/4.1.0/adalib.  libgcc_s.sl
is in /opt/gnu/gcc/gcc-4.1.0/lib.

-bash-2.05b$ chatr libgnat-4.1.sl
libgnat-4.1.sl:
         shared library
         shared library dynamic path search:
             SHLIB_PATH     disabled  second
             embedded path  disabled  first  Not Defined
         internal name:
             libgnat-4.1.sl
         shared library list:
             dynamic   /usr/lib/libm.2
             dynamic   ../../libgcc_s.sl

The hardcoded path to libgcc_s.sl is incorrect given the installation
location for the libraries, and the dynamic search path mechanisms are
disabled.  Thus, the dynamic loader won't be able to find libgcc_s.sl.

Fortunately, static linking is used for the gnat tools.


-- 
           Summary: Incorrect installation of libgnarl-4.1.sl and libgnat-
                    4.1.sl
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26326



More information about the Gcc-bugs mailing list