From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37325 invoked by alias); 10 Jun 2015 14:00:49 -0000 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 Received: (qmail 37256 invoked by uid 48); 10 Jun 2015 14:00:44 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/18493] Infinite loop/deadlock? in __libc_recv (fd=fd@entry=300, buf=buf@entry=0x7f6042880600, n=n@entry=5, flags=-1, flags@entry=258) at ../sysdeps/unix/sysv/linux/x86_64/recv.c:33 Date: Wed, 10 Jun 2015 14:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: MOVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-06/txt/msg00102.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D18493 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com --- Comment #4 from Florian Weimer --- (In reply to Dan Searle from comment #3) > by "kernel people", you mean https://bugzilla.kernel.org/ ? More like one of the mailing lists, either linux-kernel or netdev. You will need to provide a proper test case, though. It's also not quite clear what= you mean by =E2=80=9Cthe threads lock up chewing as much CPU as they can=E2=80= =9D. Does recv actually return from the kernel? --=20 You are receiving this mail because: You are on the CC list for the bug. >>From glibc-bugs-return-28492-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jun 10 18:43:36 2015 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 119315 invoked by alias); 10 Jun 2015 18:43:36 -0000 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 Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 119284 invoked by uid 48); 10 Jun 2015 18:43:32 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/18512] make install failure with overridden prefix Date: Wed, 10 Jun 2015 18:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-06/txt/msg00103.txt.bz2 Content-length: 1352 https://sourceware.org/bugzilla/show_bug.cgi?id=18512 --- Comment #1 from Carlos O'Donell --- (In reply to Martin Sebor from comment #0) > Attempting to install glibc configured with --prefix=/usr into a > non-standard directory specified by the prefix make variable fails with the > error below: > > $ /src/glibc-trunk/configure --prefix=/usr > ... > $ nice make install prefix=/build/glibc-trunk-install-prefix-override-usr > make[3]: Leaving directory `/src/glibc-trunk/elf' > /usr/bin/install -c /build/glibc-trunk/elf/ld.so /lib64/ld-2.21.90.so.new > /usr/bin/install: cannot create regular file '/lib64/ld-2.21.90.so.new': > Permission denied > make[2]: *** [/lib64/ld-2.21.90.so] Error 1 > make[2]: Leaving directory `/src/glibc-trunk/elf' > make[1]: *** [elf/ldso_install] Error 2 > make[1]: Leaving directory `/src/glibc-trunk' > make: *** [install] Error 2 > > However, with glibc configured with a different prefix the same installation > succeeds. > > (Setting the DESTDIR variable works as one would expect.) This is an unsupported use case. The prefix is a part of the ABI for glibc, and you can't change it at install time, only at configure time. My preference would be to have it error out that you've changed the prefix. -- You are receiving this mail because: You are on the CC list for the bug.