This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/55313] libsanitizer cannot be installed


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

--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-11-22 09:08:57 UTC ---
OK, the problem is that we change the prefix at installation time (by setting
the "prefix" variable on the make install command line).

This works fine for all other libraries, but libasan.la has the relink_command
thing, which triggers the check in libtool:

    if test -n "$relink_command"; then
      # Determine the prefix the user has applied to our future dir.
      inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`

      # Don't allow the user to place us outside of our expected
      # location b/c this prevents finding dependent libraries that
      # are installed to the same prefix.
      # At present, this check doesn't affect windows .dll's that
      # are installed into $libdir/../bin (currently, that works fine)
      # but it's something to keep an eye on.
      test "$inst_prefix_dir" = "$destdir" && \
        func_fatal_error "error: cannot install \`$file' to a directory not
ending in $libdir"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]