public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bruce.dubbs at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug build/14476] test-installation.pl fails on x86_64
Date: Tue, 28 Aug 2012 17:05:00 -0000	[thread overview]
Message-ID: <bug-14476-131-Uk3396NtcX@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-14476-131@http.sourceware.org/bugzilla/>

http://sourceware.org/bugzilla/show_bug.cgi?id=14476

--- Comment #3 from Bruce Dubbs <bruce.dubbs at gmail dot com> 2012-08-28 17:05:03 UTC ---
That doesn't affect the perl script.  Starting at line 97:

while (<SOVERSIONS>) {
  next if (/^all-sonames/);
  chop;
  if (/^lib/) {
    ($name, $version)= /^lib(.*)\.so-version=\.(.*)$/;
    # Filter out some libraries we don't want to link:
    # - nss_ldap since it's not yet available
    # - libdb1 since it conflicts with libdb
    # - libnss1_* from glibc-compat add-on
    # - libthread_db since it contains unresolved references
    # - it's just a test NSS module
    # - We don't provide the libgcc so we don't test it
    if ($name ne "nss_ldap" && $name ne "db1"
        && !($name =~/^nss1_/) && $name ne "thread_db"
        && $name ne "nss_test1" && $name ne "libgcc_s") {
      $link_libs .= " -l$name";
      $versions{$name} = $version;
    }
  } else {
    if (/^ld\.so/) {
      ($ld_so_name, $ld_so_version)= /=(.*)\.so\.(.*)$/;
    }
  }
}

The problem is in the else clause.  It does not evaluate the expression to the
right of the = sign.  Also, the value in the expression extracted from
soversions.mk, $(abi-64-ld-soname), is not defined in the script.

LD_SO_VERSION is never used in the script.

A hack would be:

if ( /ld\.so-version/ ) {
  ld.so-version = $LD_SO_VERSION;
}

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


  parent reply	other threads:[~2012-08-28 17:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-16  5:03 [Bug build/14476] New: " bruce.dubbs at gmail dot com
2012-08-28 12:53 ` [Bug build/14476] " aj at suse dot de
2012-08-28 16:23 ` hjl.tools at gmail dot com
2012-08-28 17:05 ` bruce.dubbs at gmail dot com [this message]
2012-08-28 17:59 ` hjl.tools at gmail dot com
2012-08-28 19:25 ` bruce.dubbs at gmail dot com
2012-08-30 13:48 ` hjl.tools at gmail dot com
2014-06-17 18:37 ` fweimer at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-14476-131-Uk3396NtcX@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).