[MacPorts] #44460: atlas @3.10.2+gcc48 fails to build on PPC
#44460: atlas @3.10.2+gcc48 fails to build on PPC -------------------------+-------------------------------- Reporter: drjesacco@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: atlas -------------------------+-------------------------------- atlas @3.10.2+gcc48 fails to build on PPC. This is a regression bug. The PPC-specific patches from the previous release [3.10.1_5] have gone missing. Only two of the three patches from version 3.10.1_5: (1) patch-ATL_cmm4x4x128_av_c.diff <== no longer required[[BR]] (2) patch-emit_mm_c.diff[[BR]] (3) patch-makes-Make.lib.diff still apply. The changes in patch(1) have already been integrated into the source code. Patch(2) resolves the problem with the dst vector instruction: dst vector instruction is optional for the PowerPC (not allowed without -force_cpusubtype_ALL option) With Patch(2) applied, the build for atlas @3.10.2+gcc48 completes, but fails to create the shared version(s) of lib atlas. Patch(3) may help. I am testing this now. -Joseph -- Ticket URL: <https://trac.macports.org/ticket/44460> MacPorts <http://www.macports.org/> Ports system for OS X
#44460: atlas @3.10.2+gcc48 fails to build on PPC --------------------------+-------------------------------- Reporter: drjesacco@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: atlas | --------------------------+-------------------------------- Comment (by vince@…): Oops. Sorry for that. I'll restore them asap. -- Ticket URL: <https://trac.macports.org/ticket/44460#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44460: atlas @3.10.2+gcc48 fails to build on PPC --------------------------+-------------------------------- Reporter: drjesacco@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: atlas | --------------------------+-------------------------------- Comment (by drjesacco@…): No big deal. The only people who do not make mistakes are dead... :-) There is a bunch of post-build stuff in the current Portfile that has been commented out. Will those lines need to be re-activated to get the shared versions of the atlas libraries built? -Joseph -- Ticket URL: <https://trac.macports.org/ticket/44460#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44460: atlas @3.10.2+gcc48 fails to build on PPC --------------------------+-------------------------------- Reporter: drjesacco@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: atlas | --------------------------+-------------------------------- Comment (by drjesacco@…): To answer my own question... The post-build stuff in the current Portfile that has been commented out needs to be re-activated to get the shared versions of the atlas libraries built. The files in the static atlas libraries are compiled with -fPIC. The code in the post-build section uses the files in the static libraries to construct shared versions of the atlas libraries. -Joseph -- Ticket URL: <https://trac.macports.org/ticket/44460#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44460: atlas @3.10.2+gcc48 fails to build on PPC --------------------------+-------------------------------- Reporter: drjesacco@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: atlas | --------------------------+-------------------------------- Comment (by vince@…): Thanks a lot of digging into this. I’ll do everything necessary tomorrow. I don’t want to impose on your kindness, but if you had a moment to post the deleted patches, it’d spare me the complex shebang of dredging them up out of the SVN black hole. Thanks so much again! -- Ticket URL: <https://trac.macports.org/ticket/44460#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44460: atlas @3.10.2+gcc48 fails to build on PPC --------------------------+-------------------------------- Reporter: drjesacco@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: atlas | --------------------------+-------------------------------- Comment (by drjesacco@…): You are welcome. See attached diffs. -Joseph -- Ticket URL: <https://trac.macports.org/ticket/44460#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#44460: atlas @3.10.2+gcc48 fails to build on PPC --------------------------+-------------------------------- Reporter: drjesacco@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: atlas | --------------------------+-------------------------------- Comment (by vince@…): Thanks a lot. Committed in r122764. Hope it'll work, and apologies once again for this botch-up. -- Ticket URL: <https://trac.macports.org/ticket/44460#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#44460: atlas @3.10.2+gcc48 fails to build on PPC --------------------------+-------------------------------- Reporter: drjesacco@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: atlas | --------------------------+-------------------------------- Comment (by egall@…): Replying to [comment:7 vince@…]:
Thanks a lot. Committed in r122764. Hope it'll work, and apologies once again for this botch-up.
I think some of the comments were screwed up in r122764... Pretty sure the `$Id$` line is supposed to stay a comment, for example. -- Ticket URL: <https://trac.macports.org/ticket/44460#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#44460: atlas @3.10.2+gcc48 fails to build on PPC --------------------------+-------------------------------- Reporter: drjesacco@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: atlas | --------------------------+-------------------------------- Comment (by vince@…): Geez. Thanks. Fixed in r122765. I commented the first line and run a 'port lint' that reported no error. I hope it's a clincher this time… :| -- Ticket URL: <https://trac.macports.org/ticket/44460#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#44460: atlas @3.10.2+gcc48 fails to build on PPC --------------------------+-------------------------------- Reporter: drjesacco@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: atlas | --------------------------+-------------------------------- Comment (by drjesacco@…): Maybe not... Go look at the Portfile example shown in section 4.3.1 of the MacPorts Guide. -Joseph -- Ticket URL: <https://trac.macports.org/ticket/44460#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts