ports/83001: Erlang port is n/a for amd64

Rasmus Kaj kaj at kth.se
Tue Jul 5 09:40:07 UTC 2005


>Number:         83001
>Category:       ports
>Synopsis:       Erlang port is n/a for amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 05 09:40:07 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Rasmus Kaj
>Release:        5.4-STABLE
>Organization:
>Environment:
FreeBSD nestor.kaj 5.4-STABLE FreeBSD 5.4-STABLE #1: Tue Jul  5 00:40:13 CEST 2005     root at nestor.kaj:/usr/src/sys/amd64/compile/NESTOR  amd64

>Description:
The erlang port (lang/erlang) is marked as  ONLY_FOR_ARCHS=i386.  I would like to add support for amd64.

If I do so (ONLY_FOR_ARCHS= i386 amd64), configure hangs at "checking for unreliable floating point execptions...".  Simply removing that test allows erlang to build and install on my amd64.

I'm told the reason for this behaviour is that floating point exceptions are precise on amd64, unlike most platform.  Linux then "fixes" this by stepping up the instruction pointer at floating point exceptions. The config test assumes this is done and hangs when it isn't.

In the long run, the test should probably be fixed rather than just avoided.
>How-To-Repeat:
portinstall erlang
>Fix:
ONLY_FOR_ARCHS= i386 amd64 in the lang/erlang/Makefile, and remove the "checking for unreliable floating point execptions..." test.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list