From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9621 invoked by alias); 30 Nov 2003 19:43:35 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 9603 invoked from network); 30 Nov 2003 19:43:34 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sources.redhat.com with SMTP; 30 Nov 2003 19:43:34 -0000 Received: from Hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 2988C187CA99 for ; Sun, 30 Nov 2003 20:43:34 +0100 (CET) Received: from aj by arthur.inka.de with local (Exim 4.22) id 1AQXTf-0008Ny-Bw for libc-hacker@sources.redhat.com; Sun, 30 Nov 2003 20:43:31 +0100 To: GNU libc hacker Subject: Re: unit-at-a-time fixes References: From: Andreas Jaeger Date: Sun, 30 Nov 2003 20:11:00 -0000 In-Reply-To: (Andreas Jaeger's message of "Sun, 30 Nov 2003 20:38:19 +0100") Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Rational FORTRAN, linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-SW-Source: 2003-11/txt/msg00160.txt.bz2 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 1189 Andreas Jaeger writes: > With GCC 3.4 and also the hammer-branch of GCC 3.3, unit-at-a-time > compilation is enabled and rearranges the output order of functions. > This is not desirable in some cases. > > Here's the patch that we're currently using at SuSE. Ok to commit? > > Andreas > > 2003-11-30 Andreas Jaeger > > * csu/Makefile (CFLAGS-initfini.s): Add -fno-unit-at-a-time. > * linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile > (CFLAGS-pt-initfini.s): Likewise. > * locale/Makefile (CFLAGS-loadlocale.c): Likewise. There're two entries missing: > > For linuxthreads: > * Makefile (CFLAGS-tst-cancel.c): Add -fno-unit-at-a-time. > (CFLAGS-pt-initfini.s): Likewise. * sysdeps/unix/sysv/linux/x86_64/Makefile (CFLAGS-pt-initfini.s):=20 Likewise. > For nptl: > * Makefile (CFLAGS-pt-initfini.s): Add -fno-unit-at-a-time. * sysdeps/unix/sysv/linux/x86_64/Makefile (CFLAGS-pt-initfini.s):=20 Likewise. Andreas --=20 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Deutschherrnstr. 15-19, 90429 N=FCrnberg, Germany GPG fingerprint =3D 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 --=-=-= Content-Type: application/pgp-signature Content-length: 188 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/ykhhOJpWPMJyoSYRAp0TAJ4/LxzEOSkV0b/RgUnBCNCcKZoOLgCcCLNT NBKB0WoUoZZFmCVIfToeLkU= =broE -----END PGP SIGNATURE----- --=-=-=--