[erlang-bugs] 64-bit and FreeBSD patches, plus SMP activation

Christian Faulhammer opfer@REDACTED
Wed Aug 15 10:51:01 CEST 2007


Hi,

The Gentoo amd64 and FreeBSD teams have prepared two patches to make it
compile for our users.  amd64 is for the AMD version and EMT64 from
Intel.  Maybe those two could be integrated, they are not invasive.
 Another problem seems to be that erl does not use SMP capabilities by
default when built with --enable-smp-support.  The following should fix
the problem:

--- /usr/bin/erl.orig   2007-08-14 18:34:12.003297978 +0200
+++ /usr/bin/erl        2007-08-13 03:48:31.445665891 +0200
@@ -7,4 +7,4 @@
 export ROOTDIR
 export BINDIR
 export PROGNAME
-exec $BINDIR/erlexec ${1+"$@"}
+exec $BINDIR/erlexec -smp ${1+"$@"}

V-Li

-- 
http://www.gentoo.org/
http://www.faulhammer.org/
http://www.gnupg.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: erlang-10.2.6-export-TARGET.patch
Type: text/x-patch
Size: 242 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20070815/94476ff8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: erlang-11.2.5-gethostbyname.patch
Type: text/x-patch
Size: 755 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20070815/94476ff8/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20070815/94476ff8/attachment-0002.bin>


More information about the erlang-bugs mailing list