[MacPorts] #28512: atlas wont compile
MacPorts
noreply at macports.org
Fri Feb 25 15:36:07 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 ryandesign@…):
Replying to [comment:58 vince@…]:
> You appear to have CFLAGS and CXXFLAGS set for G4 (ppc) not G5 (ppc64).
> Please check your CFLAGS, CXXFLAGS and F90FLAGS.
CFLAGS, CXXFLAGS, F90FLAGS, etc. are not environment variables that the
user has direct influence over in MacPorts. Certainly, if the user has set
these in their shell environment, MacPorts will ignore them.
Is your concern the fact that the string "-m32" is appearing in these
flags? If so, I believe that is the result of "build_arch" being set to
"ppc" in macports.conf. "ppc" is in fact the default value of "build_arch"
on all PowerPC systems. PowerPC G5 users could certainly change
"build_arch" to "ppc64" if they want 64-bit builds, but since that is not
the default on any Mac, that configuration is not well-tested.
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
}}}
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.
Finally, this ticket is enormous, and it is troubling that people keep
adding new and unrelated issues to this ticket. First there was the
"Undefined symbols: _ATL_DecAtomicCount" error which all users
experienced, which was resolved. Then there was the build error on all
PowerPC systems, which was resolved. Now there is a new issue only
affecting 64-bit PowerPC systems. These should have been three separate
tickets.
--
Ticket URL: <https://trac.macports.org/ticket/28512#comment:61>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list