target/6383: boehm-gc busted on all sparc64 targets
Jeff Sturm
jsturm@one-point.com
Sun Apr 21 23:12:00 GMT 2002
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6383
Doh... DYNAMIC_LOADING isn't defined for sparc64-solaris. There's part
of your problem. With the patch below I can run gctest. I'll try some
Java code once the build finishes.
(This must've gotten reverted at the last gc import, I'm fairly certain
it used to work.)
2002-04-22 Jeff Sturm <jsturm@one-point.com>
* gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
Index: gcconfig.h
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/include/private/gcconfig.h,v
retrieving revision 1.11.2.5
diff -u -p -r1.11.2.5 gcconfig.h
--- gcconfig.h 17 Apr 2002 19:51:32 -0000 1.11.2.5
+++ gcconfig.h 22 Apr 2002 04:21:31 -0000
@@ -777,9 +777,7 @@
# define GETPAGESIZE() sysconf(_SC_PAGESIZE)
/* getpagesize() appeared to be missing from at least one */
/* Solaris 5.4 installation. Weird. */
-# if CPP_WORDSZ == 32
-# define DYNAMIC_LOADING
-# endif
+# define DYNAMIC_LOADING
# endif
# ifdef SUNOS4
# define OS_TYPE "SUNOS4"
More information about the Gcc-bugs
mailing list