This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/14476] test-installation.pl fails on x86_64
- From: "bruce.dubbs at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 28 Aug 2012 17:05:03 +0000
- Subject: [Bug build/14476] test-installation.pl fails on x86_64
- Auto-submitted: auto-generated
- References: <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.