Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#28413 closed defect (fixed)

atlas 3.9.33 build fails on PowerPC

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: powerpc Cc: dershow, macports@…, afisynte@…, Veence (Vincent)
Port: atlas

Description

atlas 3.9.33_0 fails to build; see attached log. This is on Mac OS X 10.4.11 PPC. The previous version of atlas, 3.8.3_4, is currently installed.

Attachments (3)

main.ppc.tiger.gcc44.log.bz2 (18.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.
main.ppc.leopard.gcc44.log.bz2 (18.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.
main.ppc.leopard.gcc45.log.bz2 (18.1 KB) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.

Download all attachments as: .zip

Change History (18)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Keywords: tiger added

comment:2 Changed 14 years ago by Veence (Vincent)

There are three things at stake here. Tiger, gcc, PPC. I have successfully built Atlas 3.9.33 on the old MacPro (G5 - ppc64) at work with gcc45. In this case, that's a PPC-32bit architecture, right? Could you first retry with gcc45 instead of gcc44? I know it takes hours to compile on ppc, but who knows?

comment:3 in reply to:  2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to vince@…:

There are three things at stake here. Tiger, gcc, PPC. I have successfully built Atlas 3.9.33 on the old MacPro (G5 - ppc64) at work with gcc45. In this case, that's a PPC-32bit architecture, right?

If build_arch in macports.conf is ppc then that's 32-bit. If it's ppc64 then that's 64-bit. My PPC is a G4 which is 32-bit.

Could you first retry with gcc45 instead of gcc44? I know it takes hours to compile on ppc, but who knows?

Am currently testing on Leopard on that machine. Will retry with other gcc versions later; all the gccs I can build are already built.

I'll reattach my ppc tiger gcc44 log with a name that better identifies that.

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

comment:4 Changed 14 years ago by Veence (Vincent)

Ok. I don't think this is related to the OS in anyway, but, once again, it's an hypothesis without any ground. I'd rather blame gcc. I'll be off most of the day, with little access to Internet, but please post your results.

comment:5 Changed 14 years ago by Veence (Vincent)

Hold! A new version is out (3.9.35), I'll update the Portfile later today.

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: powerpc added; tiger removed
Summary: atlas 3.9.33 build failsatlas 3.9.33 build fails on PowerPC

Now attached is a ppc leopard gcc45 log. I'll test more with 3.9.35, thanks.

comment:7 Changed 14 years ago by Veence (Vincent)

I see this in the log. How come?

/mp/var/macports/build/_Volumes_data_macports_ports_math_atlas/work/atlas-3.9.33/build/..include/atlas_mmtesttime.h: FAILED COMMAND : make mmutstcase mmrout=dgenmm_sse.c DMC="gcc" DMCFLAGS="-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32" pre=d M=48 N=48 K=48 mb=48 nb=48 kb=48 lda=48 ldb=48 ldc=100 > /dev/null 2>&1

comment:8 Changed 14 years ago by dershow

Cc: dersh@… added

Cc Me!

comment:9 Changed 14 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:10 Changed 14 years ago by macports@…

I get the same problem trying to build this on a PowerBook G4.

:info:build /usr/bin/gcc -DL2SIZE=4194304 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/atlas-3.9.33/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/atlas-3.9.33/build/..//include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/atlas-3.9.33/build/..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_PPCG4 -DATL_CPUMHZ=1249 -DATL_AltiVec -DATL_GAS_PPC -DATL_AVgcc -DWALL -DATL_FULL_LAPACK -DATL_UCLEANM -DATL_UCLEANN -DATL_UCLEANK -DATL_BETA=0 -c -x assembler-with-cpp -maltivec -mabi=altivec ATL_dNBmm_b0.c
:info:build ATL_dNBmm_b0.c:406:dst vector instruction is optional for the PowerPC (not allowed without -force_cpusubtype_ALL option)
:info:build ATL_dNBmm_b0.c:417:dst vector instruction is optional for the PowerPC (not allowed without -force_cpusubtype_ALL option)
:info:build ATL_dNBmm_b0.c:519:dst vector instruction is optional for the PowerPC (not allowed without -force_cpusubtype_ALL option)
:info:build ATL_dNBmm_b0.c:523:dstst vector instruction is optional for the PowerPC (not allowed without -force_cpusubtype_ALL option)
:info:build ATL_dNBmm_b0.c:801:dst vector instruction is optional for the PowerPC (not allowed without -force_cpusubtype_ALL option)
:info:build ATL_dNBmm_b0.c:802:dstst vector instruction is optional for the PowerPC (not allowed without -force_cpusubtype_ALL option)
:info:build make[7]: *** [ATL_dNBmm_b0.o] Error 1
:info:build make[6]: *** [dcleanuplib] Error 2
:info:build make[5]: *** [dlib] Error 2
:info:build make[4]: *** [dmmlib] Error 2
:info:build make[3]: *** [dinstall] Error 2
:info:build make[2]: *** [MMinstall] Error 2

It's a bit of a show-stopper; everything seems to depend on atlas :-(

Vic.

comment:11 Changed 14 years ago by afisynte@…

Cc: afisynte@… added

Cc Me!

comment:12 Changed 14 years ago by afisynte@…

I think I am experiencing this issue as well with atlas 3.9.33 on 10.4.11 PPC.

Here is my build.log:
ticket:28189:BXX28gVH.txt
or
http://pastebin.com/BXX28gVH

These bugs appear to be similar:
#27897
#28189
#28413

Hopefully vince@... uploading 3.9.35 will fix this:
ticket:28441:2

comment:13 Changed 14 years ago by Veence (Vincent)

Done in r76347. Please try again and keep me posted.

comment:14 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: vince@… added
Resolution: fixed
Status: newclosed

@vince: Thanks for your work on this; atlas @3.9.37_1 r76451 built successfully on my Power Mac G4.

comment:15 in reply to:  14 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

@vince: Thanks for your work on this; atlas @3.9.37_1 r76451 built successfully on my Power Mac G4.

Of course I meant atlas @3.9.37_0 since there is no revision 1 yet.

Note: See TracTickets for help on using tickets.