Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2007 14:38:16 -0800 (PST)
From:      Don Lewis <truckman@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        maho@FreeBSD.org
Subject:   ports/118271: math/atlas-devel (3.7.37) port does not build on amd64 machine running in i386 mode
Message-ID:  <200711262238.lAQMcGag045364@mousie.catspoiler.org>
Resent-Message-ID: <200711262240.lAQMe18D064416@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711262238.lAQMcGag045364>