This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/14476] New: 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: Thu, 16 Aug 2012 05:02:49 +0000
- Subject: [Bug build/14476] New: test-installation.pl fails on x86_64
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14476
Bug #: 14476
Summary: test-installation.pl fails on x86_64
Product: glibc
Version: 2.16
Status: NEW
Severity: normal
Priority: P2
Component: build
AssignedTo: unassigned@sourceware.org
ReportedBy: bruce.dubbs@gmail.com
CC: carlos@systemhalted.org
Classification: Unclassified
When building glibc-2.16, 'make install' runs test-installation.pl. This
fails.
I traced it down to an error in soversions.mk. A literal extract:
...
ld.so-version=$(if $(abi-64-ld-soname),$(abi-64-ld-soname),ld.so.1)
all-sonames+=ld=$(ld.so-version)
...
The value for ld.so-version crashes test-installation.pl. It should be
ld-linux-x86-64.so.2. abi-64-ld-soname is defined correctly in
sysdeps/unix/sysv/linux/x86/Makefile, but it is not getting into soversions.mk.
This problem seems to have been introduced into Makeconfig on 26 May 2012 in
commit 0ab0291b84b45f2389a019af2c88bf5169d14f64
@@ -816,24 +834,17 @@ $(common-objpfx)soversions.i: $(..)scripts/soversions.awk
\
-f $^ > $@T
mv -f $@T $@
$(common-objpfx)soversions.mk: $(common-objpfx)soversions.i $(..)Makeconfig
- (seen_DEFAULT=0; seen_WORDSIZE32=0; seen_WORDSIZE64=0; \
- while read which lib number setname; do \
+ (while read which lib number setname; do \
eval seen_$$which=1; \
test x"$$which" != xABI || echo abi-name = "$$lib"; \
test x"$$which" = xDEFAULT || continue; \
case $$number in \
[0-9]*) echo "$$lib.so-version=.$$number"; \
echo "all-sonames+=$$lib=$$lib.so\$$($$lib.so-version)";;\
- *) echo "$$lib.so-version=$$number"; \
+ *) echo "$$lib.so-version=\$$(if
\$$(abi-$(default-abi)-$$lib-soname),\$$(abi-$(default-abi)-$$lib-soname),$$number)";
\
echo "all-sonames+=$$lib=\$$($$lib.so-version)";;\
esac; \
done; \
We can work around this by simply deleting the test-installation.pl line from
the Makefile, but that doesn't seem to be a real fix.
-- Bruce Dubbs
linuxfromscratch.org
--
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.