ports/118271: math/atlas-devel (3.7.37) port does not build on amd64 machine running in i386 mode

Don Lewis truckman at FreeBSD.org
Mon Nov 26 22:40:02 UTC 2007


>Number:         118271
>Category:       ports
>Synopsis:       math/atlas-devel (3.7.37) port does not build on amd64 machine running in i386 mode
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 26 22:40:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Don Lewis
>Release:        FreeBSD 7.0-BETA3 i386
>Organization:
totally disorganized
>Environment:
System: FreeBSD mousie.catspoiler.org 7.0-BETA3 FreeBSD 7.0-BETA3 #32: Fri Nov 23 09:50:45 PST 2007 dl at mousie.catspoiler.org:/usr/obj/usr/src/sys/GENERICDDB i386


	AMD64 CPU running an i386 version of FreeBSD

>Description:

ATLAS 3.7.37 is missing support for the HAMMER32, which causes
it to detect the architecture as HAMMER64 attempt to compile
the code in 64-bit mode.

[ snip ]

    OS configured as FreeBSD (10)

    Assembly configured as GAS_x8632 (1)

    Vector ISA Extension configured as  SSE3 (2,60)

    Architecture configured as  HAMMER (20)

    Bad CPU MHZ value=0, ierr=0, ln2='CPU MHZ=0
    '

    Clock rate configured as 0Mhz


    Pointer width configured as 64
    Cannot detect CPU throttling.

[ snip ]

    cd bin/ ; make xatlas_install
    cc -DL2SIZE=4194304 -I/usr/ports/math/atlas-devel/work/ATLAS/NON_THREADED_PIC/include -I/usr/ports/math/atlas-devel/work/ATLAS/NON_THREADED_PIC/..//include -I/usr/ports/math/atlas-devel/work/ATLAS/NON_THREADED_PIC/..//include/contrib -DUNKNOWN -DUNKNOWN -DStringUNKNOWN -DATL_OS_FreeBSD -DATL_ARCH_HAMMER -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_3DNow -DATL_USE64BITS -DATL_GAS_x8664 -O -fomit-frame-pointer -fpic -DPIC -m64 -c /usr/ports/math/atlas-devel/work/ATLAS/NON_THREADED_PIC/..//bin/atlas_tee.c
    /usr/ports/math/atlas-devel/work/ATLAS/NON_THREADED_PIC/..//bin/atlas_tee.c:1: sorry, unimplemented: 64-bit mode not compiled in
    *** Error code 1

    Stop in /usr/ports/math/atlas-devel/work/ATLAS/NON_THREADED_PIC/bin.
    *** Error code 1

    Stop in /usr/ports/math/atlas-devel/work/ATLAS/NON_THREADED_PIC.
    *** Error code 1

    Stop in /usr/ports/math/atlas-devel/work/ATLAS/NON_THREADED_PIC.
    *** Error code 1

>How-To-Repeat:


Attempt to build the port on an amd64 machine running an i386 version of
FreeBSD.

>Fix:

This problem appears to be fixed in ATLAS 3.7.38 or newer.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list