Bug 118271 - math/atlas-devel (3.7.37) port does not build on amd64 machine running in i386 mode
Summary: math/atlas-devel (3.7.37) port does not build on amd64 machine running in i38...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Maho Nakata
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-26 22:40 UTC by Don Lewis
Modified: 2007-12-20 00:21 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Don Lewis freebsd_committer freebsd_triage 2007-11-26 22:40:01 UTC
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

Fix: 

This problem appears to be fixed in ATLAS 3.7.38 or newer.
How-To-Repeat: 

Attempt to build the port on an amd64 machine running an i386 version of
FreeBSD.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-11-26 22:40:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->maho

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-12-19 22:48:03 UTC
maho        2007-12-19 22:47:57 UTC

  FreeBSD ports repository

  Modified files:
    math/atlas           Makefile distinfo pkg-descr pkg-plist 
    math/atlas/files     Makefile.test 
                         patch-tune+sysinfo+L1CacheSize.c 
                         thread-patch 
  Added files:
    math/atlas/files     patch-CONFIG+src+SpewMakeInc.c 
                         patch-CONFIG+src+atlcomp.txt 
                         patch-CONFIG+src+backend+archinfo_freebsd.c 
                         patch-CONFIG+src+backend+archinfo_x86.c 
  Removed files:
    math/atlas/files     blas.h lapack.h patch-ATL_cmmJIK.c 
                         patch-ATL_dmm4x4x8_US.c patch-Make.top 
                         patch-USIII.flg patch-config.c 
                         patch-ilaenv.f patch-mmsearch.c 
                         patch-tfc.c timing_tolerance-patch 
  Log:
  Update to 3.8.0.
  
  Only verified on i386 and amd64 FreeBSD 7BETA.
  
  Discussions with: bf <bf2006a@yahoo.com>, truckman
  and Tijl Coosemans <tijl@ulyssis.org>.
  
  PR: 118270 and 118271
  
  Revision  Changes    Path
  1.53      +137 -119  ports/math/atlas/Makefile
  1.11      +3 -3      ports/math/atlas/distinfo
  1.3       +12 -12    ports/math/atlas/files/Makefile.test
  1.4       +0 -857    ports/math/atlas/files/blas.h (dead)
  1.4       +0 -5085   ports/math/atlas/files/lapack.h (dead)
  1.2       +0 -14     ports/math/atlas/files/patch-ATL_cmmJIK.c (dead)
  1.2       +0 -14     ports/math/atlas/files/patch-ATL_dmm4x4x8_US.c (dead)
  1.1       +21 -0     ports/math/atlas/files/patch-CONFIG+src+SpewMakeInc.c (new)
  1.1       +119 -0    ports/math/atlas/files/patch-CONFIG+src+atlcomp.txt (new)
  1.1       +75 -0     ports/math/atlas/files/patch-CONFIG+src+backend+archinfo_freebsd.c (new)
  1.1       +10 -0     ports/math/atlas/files/patch-CONFIG+src+backend+archinfo_x86.c (new)
  1.2       +0 -13     ports/math/atlas/files/patch-Make.top (dead)
  1.2       +0 -27     ports/math/atlas/files/patch-USIII.flg (dead)
  1.16      +0 -197    ports/math/atlas/files/patch-config.c (dead)
  1.2       +0 -220    ports/math/atlas/files/patch-ilaenv.f (dead)
  1.2       +0 -16     ports/math/atlas/files/patch-mmsearch.c (dead)
  1.2       +0 -13     ports/math/atlas/files/patch-tfc.c (dead)
  1.2       +5 -5      ports/math/atlas/files/patch-tune+sysinfo+L1CacheSize.c
  1.4       +12 -11    ports/math/atlas/files/thread-patch
  1.2       +0 -12     ports/math/atlas/files/timing_tolerance-patch (dead)
  1.5       +16 -10    ports/math/atlas/pkg-descr
  1.10      +9 -64     ports/math/atlas/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Maho Nakata freebsd_committer freebsd_triage 2007-12-20 00:20:47 UTC
State Changed
From-To: open->closed

Please use math/atlas instead. atlas-devel is older.