Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: call for GCC 4.5.3 testers



At 12:33 Uhr +1000 15.8.2011, matthew green wrote:
>please let me know of any success or failure!  thanks.

Sooo...

With the following change (gcc wouldn't have an empty function body in this
place), HEAD builds:

Index: external/bsd/bind/dist/lib/isc/include/isc/util.h
===================================================================
RCS file: /cvsroot/src/external/bsd/bind/dist/lib/isc/include/isc/util.h,v
retrieving revision 1.4
diff -u -u -r1.4 util.h
--- external/bsd/bind/dist/lib/isc/include/isc/util.h   16 Feb 2011
03:47:13 -0000      1.4
+++ external/bsd/bind/dist/lib/isc/include/isc/util.h   17 Aug 2011
07:23:19 -0000
@@ -72,7 +72,7 @@
  * Use this in translation units that would otherwise be empty, to
  * suppress compiler warnings.
  */
-#define EMPTY_TRANSLATION_UNIT static void isc__empty(void) { isc__empty(); }
+#define EMPTY_TRANSLATION_UNIT extern int isc__empty;

 /*
  * We use macros instead of calling the routines directly because

% uname -a
NetBSD pizza.causeuse.org 5.99.55 NetBSD 5.99.55 (PIZZA_PF) #0: Tue Aug 16
18:26:18 CEST 2011
hf@Hochstuhl:/var/obj/netbsd-builds/developer/sparc/sys/arch/sparc/compile/PIZZA
_PF sparc
% gcc --version
gcc (NetBSD nb2 20110806) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

%

and runs nicely. Kernel is stable. Two thumbs up from me.  :)

        hauke

--
"It's never straight up and down"     (DEVO)




Home | Main Index | Thread Index | Old Index