[erlang-questions] [erlang-patches] [PATCH] 64-bit solaris builds

Paul Fisher pfisher@REDACTED
Sat Feb 28 04:00:23 CET 2009

Bjorn Gustavsson wrote:
> On Fri, Aug 29, 2008 at 12:59 AM, Paul Fisher <pfisher@REDACTED 
> <mailto:pfisher@REDACTED>> wrote:
>     This patch allows 64-bit builds when the target system supports both
>     32-bit and 64-bit in the same system environment.  Specifically, this
>     works on Solaris 10/Opensolaris, and adjusts the --enable-darwin-64-bit
>     configure flag to be simply --enable-64bit so that it can be used for
>     the same purpose on both darwin and solaris (building 64-bit target
>     environment) without having to introduce another system specific
>     configure flag.
> We will address this issue in a future release (not R12B-5) by making 
> sure that CFLAGS will be properly propagated
> by all Makefiles.

I was just checking out the 13A-0 snapshot, and this failure is still
present.  Will this (please) make it into the first drop of R13?

$ CC='gcc' LD='gcc' CFLAGS='-m64 -O2' LDFLAGS='-m64' LIBS='-lmtmalloc'
./configure --enable-threads --enable-smp-support --enable-kernel-poll
--enable-hipe --disable-megaco-flex-scanner-drvlineno --without-unixodbc
$ make

make[4]: Entering directory
ld -G



-lei  -lc -ldl -lm -lmtmalloc  -lsocket -lnsl
ld: skipping incompatible

when searching for -lei
ld: cannot find -lei


More information about the erlang-questions mailing list