From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39823 invoked by alias); 31 May 2015 04:56:25 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 39802 invoked by uid 89); 31 May 2015 04:56:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Date: Sun, 31 May 2015 19:11:00 -0000 From: Mike Frysinger To: Andreas Schwab Cc: libc-alpha@sourceware.org Subject: Re: [PATCH] memusagestat: use local glibc when linking [BZ #18465] Message-ID: <20150531045618.GE4496@vapier> Mail-Followup-To: Andreas Schwab , libc-alpha@sourceware.org References: <1433013240-3040-1-git-send-email-vapier@gentoo.org> <87wpzpakcu.fsf@igel.home> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="a+b56+3nqLzpiR9O" Content-Disposition: inline In-Reply-To: <87wpzpakcu.fsf@igel.home> X-SW-Source: 2015-05/txt/msg00881.txt.bz2 --a+b56+3nqLzpiR9O Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2075 On 30 May 2015 22:20, Andreas Schwab wrote: > Mike Frysinger writes: >=20 > > The memusagestat is the only binary that has its own link line which > > causes it to be linked against the existing installed C library. It > > has been this way since it was originally committed in 1999, but I > > don't see any reason as to why. >=20 > Probably because $(objpfx)memusagestat.o is compiled specially. how so ? looks normal to me: gcc memusagestat.c -c -std=3Dgnu99 -fgnu89-inline -fno-stack-protector -O2 = -Wall=20 -Werror -Wno-error=3Dundef -Wundef -Wwrite-strings -fmerge-all-constants=20 -frounding-math -g -Wstrict-prototypes -U_FORTIFY_SOURCE -I../inclu= de=20 -I/usr/local/src/gnu/glibc/build/x86_64/malloc=20=20 -I/usr/local/src/gnu/glibc/build/x86_64 -I../sysdeps/unix/sysv/linux/x86_6= 4/64=20=20 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86=20=20 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl=20=20 -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux=20=20 -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu=20=20 -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64=20= =20 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64=20=20 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu=20=20 -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/mult= iarch=20=20 -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/ldbl-96=20=20 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64=20=20 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754= =20=20 -I../sysdeps/generic -I.. -I../libio -I. -D_LIBC_REENTRANT -include=20 /usr/local/src/gnu/glibc/build/x86_64/libc-modules.h -DMODULE_NAME=3Dmemusa= gestat=20 -include ../include/libc-symbols.h -o=20 /usr/local/src/gnu/glibc/build/x86_64/malloc/memusagestat.o -MD -MP -MF=20 /usr/local/src/gnu/glibc/build/x86_64/malloc/memusagestat.o.dt -MT=20 /usr/local/src/gnu/glibc/build/x86_64/malloc/memusagestat.o -mike --a+b56+3nqLzpiR9O Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVapRyAAoJEEFjO5/oN/WB/+QQANwqQDZqa5vF8N2SJtySjtYq frg8KEuSV2KVnb6SyLJCkdBOy8IfEzqnihWijeuEI8LTUOYz3JmBT0hBwhvXR8x9 KmzBAvm34v5MLSk3SZt+jhRMi9c0qA6S8DOQdYt28VJTxjOSheTkStY7cTxgA3XK u8UEngrwMaU03Iap34xDBVbW6yaV4j1mS8O3LnQxyqe6RvDDTcCKRPj/LvlxsZk9 yrhb/hqbmoTT8lRr2e3PfqrkHTcEjPJWYTZj6fHAYJpEiCgxzVI0PNgxsxlOj0TZ S/D/LGO9g3R4C2iRLVMs4uGM6B6k/81mP1OjIspTsdAIKo9q7RMvL2xYsqLgCpK1 A0q+rTd3qmGnMzrbuCCvhSy2hYemvkBHpG/+u5VX5WzFv9J6kY1fNdnqvg+NZ/Lz qA8tiIVfiLNgIc1KHbggLQgSa/9egu/uxy58z40lVwvtqrRLEl4Fv8Akgf8BX76z j5LdN/lMRKvsuJBMoFN3eQRLeTN4MalaTzOc5AhXrUC3BxWQhIJqOLHUer8qTaWv iD9LIVhLT+lG7y5oJeaJY0fIXkFAKdC87bHvHRcIcQ/H2Kjh9ztq5NPb/jXZORlW dUQksW2sEweQaK/vGqZFFETtR6Uhw6JcU/YxKTGOVkXMbmaT2j9QmJSgO2rBcvSR DHq75JslB3+6Ao5pDwsu =AB0O -----END PGP SIGNATURE----- --a+b56+3nqLzpiR9O--