#17630: Further clean up of ATLAS (or equivalent BLAS) linking
-------------------------------------+-------------------------------------
Reporter: jpflori | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.5
Component: packages: | Resolution:
standard | Merged in:
Keywords: | Reviewers:
Authors: Jean-Pierre Flori | Work issues:
Report Upstream: N/A | Commit:
Branch: | 091e941e88d7509f6fffe44785136ae27287aab2
u/jpflori/ticket/17630 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by fbissey):
Here is what is happening when you try to use Accelerate in R on OS X
{{{
gcc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined
dynamic_lookup -single_module -multiply_defined suppress -L../../../lib
-L/Users/fbissey/build/sage-6.5.beta1/local/lib/ -o internet.so Rhttpd.o
Rsock.o internet.o nanoftp.o nanohttp.o sock.o sockconn.o -lR
-Wl,-framework -Wl,CoreFoundation
mkdir
/Users/fbissey/build/sage-6.5.beta1/local/var/tmp/sage/build/r-3.1.2.p0/src/modules
making Lapack.d from Lapack.c
making vecLibg95c.d from vecLibg95c.c
<built-in>: warning: subframework include vecLib/vecLib.h conflicts with
framework include
<built-in>: warning: subframework include vecLib/vecLibTypes.h conflicts
with framework include
<built-in>: warning: subframework include vecLib/vBasicOps.h conflicts
with framework include
<built-in>: warning: subframework include vecLib/vBigNum.h conflicts with
framework include
<built-in>: warning: subframework include vecLib/vectorOps.h conflicts
with framework include
<built-in>: warning: subframework include vecLib/vfp.h conflicts with
framework include
<built-in>: warning: subframework include vecLib/vDSP.h conflicts with
framework include
<built-in>: warning: subframework include vecLib/cblas.h conflicts with
framework include
<built-in>: warning: subframework include vecLib/clapack.h conflicts with
framework include
<built-in>: warning: subframework include
vecLib/LinearAlgebra/LinearAlgebra.h conflicts with framework include
<built-in>: warning: subframework include vecLib/LinearAlgebra/base.h
conflicts with framework include
In file included from /usr/include/os/object.h:27:0,
from
/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/base.h:6,
from
/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h:10,
from
/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vecLib.h:65,
from
/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
from vecLibg95c.c:8:
/usr/include/os/base.h:113:20: error: missing binary operator before token
"("
#if __has_extension(attribute_overloadable)
^
/usr/include/os/base.h:119:54: error: missing binary operator before token
"("
#if __has_feature(objc_fixed_enum) || __has_extension(cxx_strong_enums)
^
<built-in>: warning: subframework include vecLib/LinearAlgebra/object.h
conflicts with framework include
<built-in>: warning: subframework include vecLib/LinearAlgebra/matrix.h
conflicts with framework include
<built-in>: warning: subframework include vecLib/LinearAlgebra/vector.h
conflicts with framework include
<built-in>: warning: subframework include vecLib/LinearAlgebra/splat.h
conflicts with framework include
<built-in>: warning: subframework include
vecLib/LinearAlgebra/arithmetic.h conflicts with framework include
<built-in>: warning: subframework include
vecLib/LinearAlgebra/linear_systems.h conflicts with framework include
<built-in>: warning: subframework include vecLib/LinearAlgebra/norms.h
conflicts with framework include
<built-in>: warning: subframework include vecLib/vForce.h conflicts with
framework include
make[3]: *** [vecLibg95c.d] Error 1
make[2]: *** [make.lapack] Error 2
make[1]: *** [R] Error 1
make: *** [R] Error 1
Error building R.
}}}
BOOOM!
--
Ticket URL: <http://trac.sagemath.org/ticket/17630#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.