Opened 15 years ago

Closed 15 years ago

#23240 closed defect (fixed)

py26-numpy +no_atlas does not build on x86_64

Reported by: jochen@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: stromnov (Andrey Stromnov)
Port: py26-numpy

Description

Trying to upgrade py26-numpy to 1.4.0_0 I get the following error

compile options: '-DNO_ATLAS_INFO=3 -Inumpy/core/blasdot -Inumpy/core/include -Ibuild/src.macosx-10.6-x86_64-2.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -Ibuild/src.macosx-10.6-x86_64-2.6/numpy/core/src/multiarray -Ibuild/src.macosx-10.6-x86_64-2.6/numpy/core/src/umath -c'
extra options: '-faltivec -I/System/Library/Frameworks/vecLib.framework/Headers'
gcc-mp-4.3: numpy/core/blasdot/_dotblas.c
cc1: error: unrecognized command line option "-faltivec"
cc1: error: unrecognized command line option "-faltivec"
error: Command "/opt/local/bin/gcc-mp-4.3 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DNO_ATLAS_INFO=3 -Inumpy/core/blasdot -Inumpy/core/include -Ibuild/src.macosx-10.6-x86_64-2.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -Ibuild/src.macosx-10.6-x86_64-2.6/numpy/core/src/multiarray -Ibuild/src.macosx-10.6-x86_64-2.6/numpy/core/src/umath -c numpy/core/blasdot/_dotblas.c -o build/temp.macosx-10.6-x86_64-2.6/numpy/core/blasdot/_dotblas.o -faltivec -I/System/Library/Frameworks/vecLib.framework/Headers" failed with exit status 1

Log-file attached

Attachments (1)

numpy-1.4.log (74.5 KB) - added by jochen@… 15 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Port: py26-numpy added; py26-numy removed

Changed 15 years ago by jochen@…

Attachment: numpy-1.4.log added

comment:2 Changed 15 years ago by jochen@…

Summary: py26-numpy +no_atals does not build on x86_64py26-numpy +no_atlas does not build on x86_64

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Cc: stromnov@… added

comment:4 Changed 15 years ago by stromnov (Andrey Stromnov)

Please, try to reinstall gcc43 before building numpy.

-faltivec (APPLE only)
    This flag is provided for compatibility with Metrowerks CodeWarrior and MrC compilers as well as previous Apple
    versions of GCC.  It causes the -mpim-altivec option to be turned on.

comment:5 in reply to:  4 ; Changed 15 years ago by jochen@…

Replying to stromnov@…:

Please, try to reinstall gcc43 before building numpy.

-faltivec (APPLE only)
    This flag is provided for compatibility with Metrowerks CodeWarrior and MrC compilers as well as previous Apple
    versions of GCC.  It causes the -mpim-altivec option to be turned on.

Hmm, of course I can do that, but why would I want to specify -faltivec on a machine with a x86_64 (Intel!) CPU?

Would it even help (maybe it could because the compiler silently ignores it)?

comment:6 in reply to:  5 ; Changed 15 years ago by stromnov (Andrey Stromnov)

Replying to jochen@…:

Hmm, of course I can do that, but why would I want to specify -faltivec on a machine with a x86_64 (Intel!) CPU?

Just because of yours +universe variant.

Would it even help (maybe it could because the compiler silently ignores it)?

It's very strange, that yours gcc doesn't support Apple-specific switches. Probably yours gcc is slightly out-of-date.

comment:7 in reply to:  6 Changed 15 years ago by jochen@…

Replying to stromnov@…:

Replying to jochen@…:

Hmm, of course I can do that, but why would I want to specify -faltivec on a machine with a x86_64 (Intel!) CPU?

Just because of yours +universe variant.

I am not using +universal. I have currently installed the following py26-numpy @1.3.0_0+no_atlas (active) and simply say sudo port upgrade py26-numpy

Would it even help (maybe it could because the compiler silently ignores it)?

It's very strange, that yours gcc doesn't support Apple-specific switches. Probably yours gcc is slightly out-of-date.

port sync ; port outdated does not give gcc43 to be outdated...

comment:8 Changed 15 years ago by stromnov (Andrey Stromnov)

Please, supply output of:

python2.6 -c "import distutils.util; print distutils.util.get_platform()"

comment:9 in reply to:  8 Changed 15 years ago by jochen@…

Replying to stromnov@…:

Please, supply output of:

python2.6 -c "import distutils.util; print distutils.util.get_platform()"
macosx-10.6-x86_64

comment:10 Changed 15 years ago by stromnov (Andrey Stromnov)

Please check updated variant (r62626).

comment:11 in reply to:  10 Changed 15 years ago by jochen@…

Resolution: fixed
Status: newclosed

Replying to stromnov@…:

Please check updated variant (r62626).

That works, thanks!

Note: See TracTickets for help on using tickets.