Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] gcc 3.3

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Hamish Greig <hgreig AT bigpond.net.au>
  • To: "Eric Sandall" <eric AT sandall.us>, "Source Mage - Discuss" <sm-discuss AT lists.ibiblio.org>
  • Cc:
  • Subject: Re: [SM-Discuss] gcc 3.3
  • Date: Thu, 19 Jun 2003 21:09:30 +1000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 15 Jun 2003 11:52, Eric Sandall wrote:
> Has anyone tried gcc 3.3 yet? I have, and it seems to break glibc 2.3.2
> (some 'sscanf' error), can anyone refute or validate this? I've gotten
> this error on two of my machines (installed from 0.6 beta3 ISO, which has
> it's own glibc/gcc problem).
>
> -sandalle
there is a patch for this
but i have found that my latest submission to p4 for a gcc ./configure switch
has stopped this error on this machine.
I attach the patch in case it is needed but i recommend rebuilding gcc3.3
using
- --enable-__cxa_atexit
which forces c++ ABI compatibility compliance.
Hamish
- --
Do You SMuGL!?
Linux so advanced it may as well be magic!
Everything you'll ever need on one web page
http://www.sourcemage.org/
+++++++++++++++++++++++++
Defenestrate yourself! Free yourself from Redmond!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+8Znq8fSufZR6424RAiS4AKCJ9BSTde57o/RVifaKaOfaFN8HXQCfYWN6
Ea5LZArKNKcjgYqfKshQttM=
=SOxs
-----END PGP SIGNATURE-----
diff -Naur glibc-2.3.2/stdio-common/sscanf.c glibc-2.3.2-new/stdio-common/sscanf.c
--- glibc-2.3.2/stdio-common/sscanf.c	2002-08-10 20:09:08.000000000 +0200
+++ glibc-2.3.2-new/stdio-common/sscanf.c	2003-05-15 00:45:05.000000000 +0200
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,95,96,98,2002 Free Software Foundation, Inc.
+/* Copyright (C) 1991,95,96,98,2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -27,9 +27,7 @@
 /* Read formatted input from S, according to the format string FORMAT.  */
 /* VARARGS2 */
 int
-sscanf (s, format)
-     const char *s;
-     const char *format;
+sscanf (const char *s, const char *format, ...)
 {
   va_list arg;
   int done;



Archive powered by MHonArc 2.6.24.

Top of Page