pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
no in-core heap image found (Re: lang/smlnj11072 not building on NetBSD 10/x86_64
32 bit is intentional, if we look at the patches,
patches/patch-src_runtime_objs_mk.x86-netbsd
+AS = as --32
-CFLAGS = -O2
+CFLAGS = @CFLAGS@ -m32
Running the binary, gives following message,
thinkc11@makoto 08:45:40/250201(..lang/smlnj11072)% /tmp/lang/smlnj11072/work/bin/.run/run.x86-netbsd
/tmp/lang/smlnj11072/work/bin/.run/run.x86-netbsd: Fatal error -- no in-core heap image found
I think we need patch attached, but this does not
change anything on the result, getting the same above
--
Makoto Fujiwara
mef%NetBSD.org@localhost
makoto%if.t.u-tokyo.ac.jp@localhost
----------
$NetBSD$
thinkc11@makoto 08:11:47/250201(..lang/smlnj11072)% /tmp/lang/smlnj11072/work/bin/.run/run.x86-netbsd
/tmp/lang/smlnj11072/work/bin/.run/run.x86-netbsd: Fatal error -- no in-core heap image found
--- src/runtime/include/ml-base.h.orig 2010-02-04 01:40:30.000000000 +0900
+++ src/runtime/include/ml-base.h 2025-02-01 08:10:35.471481945 +0900
@@ -197,7 +197,7 @@ extern int NumVProcs;
#endif /* !_ASM_ */
/* macro to prepend an underscore if necessary and stringify a symbol */
-#if defined(OPSYS_FREEBSD) || defined(OPSYS_LINUX)
+#if defined(OPSYS_FREEBSD) || defined(OPSYS_LINUX) || defined(OPSYS_NETBSD)
#define DLSYM_AUX1(S) #S
#define DLSYM_AUX2(S) DLSYM_AUX1(_ ## S)
#define DLSYM_STRING(SYM) DLSYM_AUX2(SYM)
Home |
Main Index |
Thread Index |
Old Index