[MacPorts] #28512: atlas wont compile
MacPorts
noreply at macports.org
Sat Feb 26 01:55:41 PST 2011
#28512: atlas wont compile
------------------------------------+---------------------------------------
Reporter: macports@… | Owner: jameskyle@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.99
Keywords: | Port: atlas
------------------------------------+---------------------------------------
Comment(by vince@…):
Replying to [comment:61 ryandesign@…]:
> I see occurrences of "-m64" in the build log as well, and that mix of
32-bit and 64-bit is probably the cause of the relevant error message from
the log:
>
> {{{
> :info:build ld warning: in ATL_dmvnk_b0.o, file is not of required
architecture
> :info:build ld warning: in ATL_dmvnk_b1.o, file is not of required
architecture
> :info:build Undefined symbols:
> :info:build "_ATL_UGEMVNK", referenced from:
> :info:build _ATL_UGEMVNK$non_lazy_ptr in ATL_dgemvN.o
> :info:build "_ATL_UGEMVNK_b0", referenced from:
> :info:build _ATL_dgemvN in ATL_dgemvN.o
> :info:build _ATL_UGEMVNK_b0$non_lazy_ptr in ATL_dgemvN.o
> :info:build ld: symbol(s) not found
> }}}
You're absolutely right, that's the reason. On my G5, build_arch is set to
ppc64, and it builds fine.
>
> Atlas should not be trying to build itself 64-bit on PowerPC G5 systems
unless "build_arch" is "ppc64" in macports.conf. Atlas apparently decided
on its own that it wanted to build 64-bit, which is a bug that should be
fixed.
I can do that, but does it make sense? Atlas is meant to optimize as much
as possible the computation of matrix operations. Compiling in 32-bit
while superior performance can be obtained by switching to 64-bit seems to
me obviously contrary to the philosophy of the port.
--
Ticket URL: <https://trac.macports.org/ticket/28512#comment:64>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list