[MacPorts] #21490: pure 0.35 depends on llvm 2.6, but only llvm 2.5 is available
#21490: pure 0.35 depends on llvm 2.6, but only llvm 2.5 is available ----------------------------------+----------------------------------------- Reporter: jadenb1729@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: pure ----------------------------------+----------------------------------------- I don't know whether this counts as a bug or not, but it seems impossible to install the current version of pure through MacPorts on a PowerPC: {{{ $ port info llvm pure llvm @2.5 (lang) ... -- pure @0.35 (lang) ... $ port installed pure The following ports are currently active: pure @0.34_0+macosx (active) $ port upgrade pure ... Error: pure 0.35 requires llvm 2.6 or later on PowerPC but you have llvm 2.5. }}} I'm using MacPorts 1.8.0 on a PowerPC (obviously) running 10.4.11. -- Ticket URL: <http://trac.macports.org/ticket/21490> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21490: pure 0.35 depends on llvm 2.6, but only llvm 2.5 is available ----------------------------------+----------------------------------------- Reporter: jadenb1729@… | Owner: ryandesign@… Type: defect | Status: new Priority: Low | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: pure ----------------------------------+----------------------------------------- Changes (by blb@…): * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <http://trac.macports.org/ticket/21490#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21490: pure 0.35 depends on llvm 2.6, but only llvm 2.5 is available ----------------------------------+----------------------------------------- Reporter: jadenb1729@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Low | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: pure ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: new => assigned Comment: Yes, that is correct. pure has never worked correctly on PowerPC, and now that the author of pure has had the chance to investigate this, it was found that llvm < 2.6 generates incorrect code on PowerPC. I have [ticket:21174 already requested] llvm-devel be updated to the latest prerelease version of llvm 2.6 but the maintainer has not yet responded. -- Ticket URL: <http://trac.macports.org/ticket/21490#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21490: pure 0.35 depends on llvm 2.6, but only llvm 2.5 is available ----------------------------------+----------------------------------------- Reporter: jadenb1729@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Low | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: pure ----------------------------------+----------------------------------------- Comment(by shawjef3@…): I made a Portfile for LLVM that builds LLVM 2.6. Pure compiled without complaining on my powerbook g4. I installed with +pic+ocaml. http://trac.macports.org/ticket/22299 If you put the Portfile in /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/llvm it should work fine. If not, post the problem to my ticket and I'll try to fix it. -- Ticket URL: <http://trac.macports.org/ticket/21490#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21490: pure 0.35 depends on llvm 2.6, but only llvm 2.5 is available ----------------------------------+----------------------------------------- Reporter: jadenb1729@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Low | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: pure ----------------------------------+----------------------------------------- Comment(by shawjef3@…): Correction: I installed llvm with+pic+ocaml+host_only. I added the host_only variant so that llvm wouldn't build support for targets like Alpha, MIPS, etc. that most people won't use. However it won't support compiling universal libraries. Later if people want I can look into adding variants like +x86, +PowerPC, +MIPS, etc. -- Ticket URL: <http://trac.macports.org/ticket/21490#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21490: pure 0.35 depends on llvm 2.6, but only llvm 2.5 is available ----------------------------------+----------------------------------------- Reporter: jadenb1729@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Low | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: pure ----------------------------------+----------------------------------------- Comment(by ryandesign@…): Replying to [comment:3 shawjef3@…]:
I made a Portfile for LLVM that builds LLVM 2.6.
Thanks. Replying to [comment:4 shawjef3@…]:
However it won't support compiling universal libraries.
#15496 is already filed for that.
Later if people want I can look into adding variants like +x86, +PowerPC, +MIPS, etc.
We don't use variants for architectures (though variants can be used for platforms, like Intel vs. PowerPC). If the port doesn't already build correctly for 64-bit when build_arch is set to a 64-bit architecture in macports.conf, the port should examine the build_arch variable and do something appropriate with it to build 64-bit when 64-bit is requested. -- Ticket URL: <http://trac.macports.org/ticket/21490#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21490: pure 0.35 depends on llvm 2.6, but only llvm 2.5 is available -----------------------------------+---------------------------------------- Reporter: jadenb1729@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Low | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: Port: pure | -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: llvm is updated to 2.6 and pure should work fine with it. -- Ticket URL: <http://trac.macports.org/ticket/21490#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts