From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3636 invoked by alias); 16 Aug 2012 05:03:13 -0000 Received: (qmail 3621 invoked by uid 22791); 16 Aug 2012 05:03:12 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Aug 2012 05:02:50 +0000 From: "bruce.dubbs at gmail dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug build/14476] New: test-installation.pl fails on x86_64 Date: Thu, 16 Aug 2012 05:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bruce.dubbs at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00089.txt.bz2 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.