This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc 2.1.1pre2 breaks libstdc++-v3 build
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: glibc 2.1.1pre2 breaks libstdc++-v3 build
- From: Ovidiu Predescu <ovidiu at cup dot hp dot com>
- Date: Thu, 11 Jan 2001 16:23:56 -0800
- Cc: gcc-patches at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org,libstdc++ at gcc dot gnu dot org, libc-alpha at sources dot redhat dot com,ghazi at caip dot rutgers dot edu, bernds at redhat dot com
Your patch appears to be correct.
Thanks,
Ovidiu
On Thu, 11 Jan 2001 20:13:31 +0000 (GMT), "Joseph S. Myers" <jsm28@cam.ac.uk>
wrote:
> This change in glibc2.2.1pre2 also breaks the build of libobjc. This
> patch fixes that; OK to commit if it passes the objc testsuite with no
> regressions on i686-pc-linux-gnu?
>
> NOTE: this patch should also be backported to 2.95.3. I guess it's
> too late for 2.95.2.1.
>
> 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
> printf.
>
> Index: sendmsg.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/libobjc/sendmsg.c,v
> retrieving revision 1.3
> diff -u -r1.3 sendmsg.c
> --- sendmsg.c 2001/01/03 08:49:02 1.3
> +++ sendmsg.c 2001/01/11 20:06:41
> @@ -628,13 +628,11 @@
>
> objc_mutex_lock(__objc_runtime_mutex);
>
> - printf("memory usage: (%s)\n",
> #ifdef OBJC_SPARSE2
> - "2-level sparse arrays"
> + printf("memory usage: (%s)\n", "2-level sparse arrays");
> #else
> - "3-level sparse arrays"
> + printf("memory usage: (%s)\n", "3-level sparse arrays");
> #endif
> - );
>
> printf("arrays: %d = %ld bytes\n", narrays,
> (long)narrays*sizeof(struct sarray));
>
> --
> Joseph S. Myers
> jsm28@cam.ac.uk
>
>