[Bug middle-end/18897] [4.0 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: putchar (first referenced in build/gengenrtl.o) (data)

dave at hiauly1 dot hia dot nrc dot ca gcc-bugzilla@gcc.gnu.org
Thu Dec 16 01:42:00 GMT 2004


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-12-16 01:42 -------
Subject: Re:  [4.0 Regression] /usr/ccs/bin/ld: Unsatisf

Steve,

>                  CC|                            |sje at cup dot hp dot com

Until this problem is looked at, I am using the enclosed work around.
Of course, this breaks the ia64 PR fix.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

Index: varasm.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/varasm.c,v
retrieving revision 1.468
diff -u -3 -p -r1.468 varasm.c
--- varasm.c	9 Dec 2004 10:54:38 -0000	1.468
+++ varasm.c	16 Dec 2004 01:39:23 -0000
@@ -1834,7 +1834,7 @@ assemble_external (tree decl ATTRIBUTE_U
   if (!DECL_P (decl) || !DECL_EXTERNAL (decl) || !TREE_PUBLIC (decl))
     return;
 
-  if (flag_unit_at_a_time)
+  if (0 && flag_unit_at_a_time)
     pending_assemble_externals = tree_cons (0, decl,
 					    pending_assemble_externals);
   else


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18897



More information about the Gcc-bugs mailing list