From nobody@FreeBSD.org  Wed Oct 17 18:15:55 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 441CA16A419
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Oct 2007 18:15:55 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3090913C461
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Oct 2007 18:15:55 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l9HIFhcP074007
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Oct 2007 18:15:43 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l9HIFgZ0074006;
	Wed, 17 Oct 2007 18:15:42 GMT
	(envelope-from nobody)
Message-Id: <200710171815.l9HIFgZ0074006@www.freebsd.org>
Date: Wed, 17 Oct 2007 18:15:42 GMT
From: Alexandre "Sunny" Kovalenko <alex.kovalenko@verizon.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] Make palm/prc-tools compileable by GCC 4.2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         117279
>Category:       ports
>Synopsis:       [patch] Make palm/prc-tools compileable by GCC 4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bsam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 17 18:20:05 UTC 2007
>Closed-Date:    Wed Nov 07 21:47:49 UTC 2007
>Last-Modified:  Wed Nov  7 21:50:06 UTC 2007
>Originator:     Alexandre "Sunny" Kovalenko
>Release:        7.0-PRERELEASE
>Organization:
Home
>Environment:
FreeBSD RabbitsDen.RabbitsLawn.verizon.net 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Tue Oct 16 23:18:09 EDT 2007     root@RabbitsDen.RabbitsLawn.verizon.net:/usr/obj/usr/src/sys/TPX60  i386

>Description:
With attached patch in the files/prc-tools+gcc-42.patch and patch for the Makefile (in the fix section below) palm/prc-tools will build with gcc 4.2. I was able to build simple Palm executable with it and run said executable on my Tungsten E2.
*Missing from the patch*: ability to override CFLAGS from /etc/make.conf which are not known to gcc 2.95. I do not have enough understanding of the ports build infrastructure to provide this, so I have commented out CFLAGS+=-fno-tree-vrp in mine before building this port.


>How-To-Repeat:

>Fix:
--- Makefile.ORIG       2007-10-17 13:43:43.000000000 -0400
+++ Makefile    2007-10-17 13:49:08.000000000 -0400
@@ -68,10 +68,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 700042
-BROKEN=                Does not compile with GCC 4.2
-.endif
-
 post-extract:
        @(cd ${WRKDIR} && ${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTNAME}.tar.gz ${EXTRACT_AFTER_ARGS})
 
@@ -126,6 +122,9 @@
 post-configure:
        ${RM} ${WRKDIR}/gdb-5.3/bfd/doc/bfd.info*
        ${RM} ${WRKDIR}/binutils-2.14/bfd/doc/bfd.info*
+.if ${OSVERSION} >= 700042
+       ${PATCH} -p0 --forward --quiet -E < ${FILESDIR}/prc-tools+gcc-42.patch
+.endif
 
 post-install:
        ${RM} ${PREFIX}/pilot/bin/m68k-palmos-c++filt


Patch attached with submission follows:

--- ./work/binutils-2.14/gas/as.h.ORIG	2007-10-17 11:36:16.000000000 -0400
+++ ./work/binutils-2.14/gas/as.h	2007-10-17 11:44:10.000000000 -0400
@@ -595,7 +595,19 @@
 struct expressionS;
 struct fix;
 typedef struct symbol symbolS;
-struct relax_type;
+struct relax_type
+{
+  /* Forward reach. Signed number. > 0.  */
+  long rlx_forward;
+  /* Backward reach. Signed number. < 0.  */
+  long rlx_backward;
+ 
+  /* Bytes length of this address.  */
+  unsigned char rlx_length;
+ 
+  /* Next longer relax-state.  0 means there is no 'next' relax-state.  */
+  relax_substateT rlx_more;
+};
 typedef struct frag fragS;
 
 #ifdef BFD_ASSEMBLER
--- ./work/binutils-2.14/gas/tc.h.ORIG	2007-10-17 11:36:37.000000000 -0400
+++ ./work/binutils-2.14/gas/tc.h	2007-10-17 11:37:19.000000000 -0400
@@ -24,23 +24,6 @@
 
 extern const pseudo_typeS md_pseudo_table[];
 
-/* JF moved this here from as.h under the theory that nobody except MACHINE.c
-   and write.c care about it anyway.  */
-
-struct relax_type
-{
-  /* Forward reach. Signed number. > 0.  */
-  long rlx_forward;
-  /* Backward reach. Signed number. < 0.  */
-  long rlx_backward;
-
-  /* Bytes length of this address.  */
-  unsigned char rlx_length;
-
-  /* Next longer relax-state.  0 means there is no 'next' relax-state.  */
-  relax_substateT rlx_more;
-};
-
 typedef struct relax_type relax_typeS;
 
 extern const int md_reloc_size;	/* Size of a relocation record */
--- ./work/gdb-5.3/gdb/remote-palmos.c.ORIG	2007-10-17 11:46:12.000000000 -0400
+++ ./work/gdb-5.3/gdb/remote-palmos.c	2007-10-17 11:46:44.000000000 -0400
@@ -128,13 +128,6 @@
 
 extern struct target_ops palmos_ops, pilot_ops;	/* Forward decl */
 
-/* This was 5 seconds, which is a long time to sit and wait.
-   Unless this is going though some terminal server or multiplexer or
-   other form of hairy serial connection, I would think 2 seconds would
-   be plenty.  */
-
-static int remote_timeout = 2;
-
 static CORE_ADDR text_addr=0, data_addr=0, bss_addr=0;
 static CORE_ADDR save_ssp, save_usp;
 static enum target_signal wbreakpoint_signo;
--- ./work/gdb-5.3/include/obstack.h.ORIG	2007-10-17 11:39:24.000000000 -0400
+++ ./work/gdb-5.3/include/obstack.h	2007-10-17 11:30:02.000000000 -0400
@@ -349,7 +349,7 @@
 
 #define obstack_memory_used(h) _obstack_memory_used (h)
 
-#if defined __GNUC__ && defined __STDC__ && __STDC__
+#if defined USE_OBSTACK_MACROS && defined __GNUC__ && defined __STDC__ && __STDC__
 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
    does not implement __extension__.  But that compiler doesn't define
    __GNUC_MINOR__.  */
--- ./work/gcc-3.3.1/gcc/cp/decl.c.ORIG	2007-10-17 11:39:05.000000000 -0400
+++ ./work/gcc-3.3.1/gcc/cp/decl.c	2007-10-17 11:26:47.000000000 -0400
@@ -677,6 +677,13 @@
    ? cp_function_chain->bindings		\
    : scope_chain->bindings)
 
+#define set_current_binding_level(x)            \
+{                                               \
+  if(cfun && cp_function_chain->bindings)       \
+     cp_function_chain->bindings = (x);         \
+     else scope_chain->bindings = (x);          \
+}
+
 /* The binding level of the current class, if any.  */
 
 #define class_binding_level scope_chain->class_bindings
@@ -724,7 +731,7 @@
      are active.  */
   memset ((char*) newlevel, 0, sizeof (struct cp_binding_level));
   newlevel->level_chain = current_binding_level;
-  current_binding_level = newlevel;
+  set_current_binding_level(newlevel);
   newlevel->tag_transparent = tag_transparent;
   newlevel->more_cleanups_ok = 1;
 
@@ -780,7 +787,7 @@
     }
   {
     register struct cp_binding_level *level = current_binding_level;
-    current_binding_level = current_binding_level->level_chain;
+    set_current_binding_level(current_binding_level->level_chain);
     level->level_chain = free_binding_level;
     if (level->parm_flag != 2)
       binding_table_free (level->type_decls);
@@ -797,7 +804,7 @@
 suspend_binding_level ()
 {
   if (class_binding_level)
-    current_binding_level = class_binding_level;
+    set_current_binding_level(class_binding_level);
 
   if (NAMESPACE_LEVEL (global_namespace))
     my_friendly_assert (!global_scope_p (current_binding_level), 20030527);
@@ -816,7 +823,7 @@
         }
       is_class_level = 0;
     }
-  current_binding_level = current_binding_level->level_chain;
+  set_current_binding_level(current_binding_level->level_chain);
   find_class_binding_level ();
 }
 
@@ -829,7 +836,7 @@
   my_friendly_assert(!class_binding_level, 386);
   /* Also, resuming a non-directly nested namespace is a no-no.  */
   my_friendly_assert(b->level_chain == current_binding_level, 386);
-  current_binding_level = b;
+  set_current_binding_level(b);
   if (ENABLE_SCOPE_CHECKING)
     {
       b->binding_depth = binding_depth;
@@ -4529,9 +4536,9 @@
   else
     {
       b = current_binding_level;
-      current_binding_level = level;
+      set_current_binding_level(level);
       x = pushdecl (x);
-      current_binding_level = b;
+      set_current_binding_level(b);
     }
   current_function_decl = function_decl;
   POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, x);
@@ -6933,7 +6940,7 @@
   current_lang_name = lang_name_c;
 
   current_function_decl = NULL_TREE;
-  current_binding_level = NULL_BINDING_LEVEL;
+  set_current_binding_level(NULL_BINDING_LEVEL);
   free_binding_level = NULL_BINDING_LEVEL;
 
   build_common_tree_nodes (flag_signed_char);
@@ -10766,10 +10773,10 @@
   if (decl_context == NORMAL && !toplevel_bindings_p ())
     {
       struct cp_binding_level *b = current_binding_level;
-      current_binding_level = b->level_chain;
+      set_current_binding_level(b->level_chain);
       if (current_binding_level != 0 && toplevel_bindings_p ())
 	decl_context = PARM;
-      current_binding_level = b;
+      set_current_binding_level(b);
     }
 
   if (name == NULL)
@@ -14406,7 +14413,7 @@
      FIXME factor out the non-RTL stuff.  */
   bl = current_binding_level;
   init_function_start (decl1, input_filename, lineno);
-  current_binding_level = bl;
+  set_current_binding_level(bl);
 
   /* Even though we're inside a function body, we still don't want to
      call expand_expr to calculate the size of a variable-sized array.
--- ./work/gcc-3.3.1/include/obstack.h.ORIG	2007-10-17 11:39:14.000000000 -0400
+++ ./work/gcc-3.3.1/include/obstack.h	2007-10-17 09:44:47.000000000 -0400
@@ -349,7 +349,7 @@
 
 #define obstack_memory_used(h) _obstack_memory_used (h)
 
-#if defined __GNUC__ && defined __STDC__ && __STDC__
+#if defined USE_OBSTACK_MACROS && defined __GNUC__ && defined __STDC__ && __STDC__
 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
    does not implement __extension__.  But that compiler doesn't define
    __GNUC_MINOR__.  */


>Release-Note:
>Audit-Trail:

From: Boris Samorodov <bsam@ipt.ru>
To: bug-followup@FreeBSD.org,alex.kovalenko@verizon.net
Cc:  
Subject: Re: ports/117279: [patch] Make palm/prc-tools compileable by GCC 4.2
Date: Tue, 06 Nov 2007 23:45:28 +0300

 Hi!
 
 The patch unfortunately got borken. Can you provide a new one as an
 attachment?
 
 Thanks!
 -- 
 WBR
 bsam

From: "Alexandre \"Sunny\" Kovalenko" <alex.kovalenko@verizon.net>
To: Boris Samorodov <bsam@ipt.ru>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/117279: [patch] Make palm/prc-tools compileable by GCC	4.2
Date: Tue, 06 Nov 2007 18:57:22 -0500

 --=-3PDK70ku44vIRJWF7qcb
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 
 
 On Tue, 2007-11-06 at 23:45 +0300, Boris Samorodov wrote:
 > Hi!
 > 
 > The patch unfortunately got borken. Can you provide a new one as an
 > attachment?
 > 
 > Thanks!
 
 Let me know if this fared any better.
 
 -- 
 Alexandre "Sunny" Kovalenko
 
 --=-3PDK70ku44vIRJWF7qcb
 Content-Disposition: attachment; filename=prc-tools.patches.tar.bz2
 Content-Type: application/x-bzip-compressed-tar; name=prc-tools.patches.tar.bz2
 Content-Transfer-Encoding: base64
 
 QlpoOTFBWSZTWWg9o2EABlr/sPt0AIBt///////f3v/v//oIAAQAAAhgDDw+VstcV270A8F707Xa
 nd1AdNAOgAAA4ShEAmhoaZRknp6iek9RtTT0mgMg00aNAaGgGmQ0BKIJ6TJomppoQyZGho0ADRoA
 A00AAaNAAyemnpQGgeoAaAAAA0AAAAAAAASIpqaAj1TR6gPJDTamhpo9RkxAMgABpkGmgNA40Mmm
 mTQAMEAaDJoABk0AAAMmQDQSJBGpiaJiaZNNBNSeQ0EyZqephDIAGgANDQ/VNw/J8DEf4sMyAdYC
 NDRoBvjKhjGDY0DQq0mkNgMSYaf2z5WmX/e9gbTcPcpyR8Gl18jMl4OGmsS2zeprVUmL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7RF0l5jEl0W7AiQFmg0BbUiWeujA2sm
 ukfuSzuVkLTAtlymbgWhG47szy7MpHdkjR4IMYGS3XJIMw3OvkaDA+MitkaOreU1gIPk21GegY23
 HW19YyouYKF4+JDMAx4gQlcCNJ55rEik+uKLiqh0lBG0u4YIy9lP7Xe/IAnP8cE3tbqdTe9neHdJ
 6cSyT6ED/i7kinChINB7RsI=
 
 
 --=-3PDK70ku44vIRJWF7qcb--
 
Responsible-Changed-From-To: freebsd-ports-bugs->bsam 
Responsible-Changed-By: bsam 
Responsible-Changed-When: Wed Nov 7 10:56:49 UTC 2007 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117279 

From: Boris Samorodov <bsam@ipt.ru>
To: "Alexandre \"Sunny\" Kovalenko" <alex.kovalenko@verizon.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/117279: [patch] Make palm/prc-tools compileable by GCC	4.2
Date: Wed, 07 Nov 2007 19:51:21 +0300

 Yep, much better. Thanks!
 
 WBR
 -- 
 bsam
State-Changed-From-To: open->closed 
State-Changed-By: bsam 
State-Changed-When: Wed Nov 7 21:46:38 UTC 2007 
State-Changed-Why:  
Thanks, committed with some changes: 
. use post-patch stage (instead of post-configure stage) to 
conditionally apply the needed patches; 
. gcc patch is splitted into per-file-patches. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117279 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/117279: commit references a PR
Date: Wed,  7 Nov 2007 21:49:40 +0000 (UTC)

 bsam        2007-11-07 21:45:31 UTC
 
   FreeBSD ports repository
 
   Modified files:
     palm/prc-tools       Makefile 
   Added files:
     palm/prc-tools/files gcc42-patch-binutils-2.14_gas_as.h 
                          gcc42-patch-binutils-2.14_gas_tc.h 
                          gcc42-patch-gcc-3.3.1_gcc_cp_decl.c 
                          gcc42-patch-gcc-3.3.1_include_obstack.h 
                          gcc42-patch-gdb-5.3_gdb_remote-palmos.c 
                          gcc42-patch-gdb-5.3_include_obstack.h 
   Log:
   Unbreak the port for gcc-4.2  [1]
   
   FYI: differences with the original patch from the PR:
   . use post-patch stage (instead of post-configure stage) to
     conditionally apply the needed patches;
   . gcc patch is splitted into per-file-patches.
   
   PR:             ports/117279  [1]
   Submitted by:   Alexandre "Sunny" Kovalenko <alex.kovalenko at verizon.net>  [1]
   Approved by:    portmgr (erwin)
   
   Revision  Changes    Path
   1.57      +12 -4     ports/palm/prc-tools/Makefile
   1.1       +23 -0     ports/palm/prc-tools/files/gcc42-patch-binutils-2.14_gas_as.h (new)
   1.1       +26 -0     ports/palm/prc-tools/files/gcc42-patch-binutils-2.14_gas_tc.h (new)
   1.1       +104 -0    ports/palm/prc-tools/files/gcc42-patch-gcc-3.3.1_gcc_cp_decl.c (new)
   1.1       +11 -0     ports/palm/prc-tools/files/gcc42-patch-gcc-3.3.1_include_obstack.h (new)
   1.1       +16 -0     ports/palm/prc-tools/files/gcc42-patch-gdb-5.3_gdb_remote-palmos.c (new)
   1.1       +11 -0     ports/palm/prc-tools/files/gcc42-patch-gdb-5.3_include_obstack.h (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
