[MacPorts] #33024: broken pari/GP in OS/X Lion
#33024: broken pari/GP in OS/X Lion ------------------------------------+--------------------------------------- Reporter: molinp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: pari gcc | Port: ------------------------------------+--------------------------------------- the package pari is broken under OS/X Lion This can be seen with the following (incorrect) calculation gp> bezout(13,17) %1 = [1, -1, 4] This is due to a bug in OSX Lion gcc compiler, and until Apple fixes it the pari package has to be build from source with gnu gcc instead of Lion gcc. -- Ticket URL: <https://trac.macports.org/ticket/33024> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33024: broken pari/GP in OS/X Lion ------------------------------------+--------------------------------------- Reporter: molinp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: pari ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * keywords: pari gcc => * port: => pari Old description:
the package pari is broken under OS/X Lion
This can be seen with the following (incorrect) calculation
gp> bezout(13,17) %1 = [1, -1, 4]
This is due to a bug in OSX Lion gcc compiler, and until Apple fixes it the pari package has to be build from source with gnu gcc instead of Lion gcc.
New description: the package pari is broken under OS/X Lion This can be seen with the following (incorrect) calculation {{{ gp> bezout(13,17) %1 = [1, -1, 4] }}} This is due to a bug in OSX Lion gcc compiler, and until Apple fixes it the pari package has to be build from source with gnu gcc instead of Lion gcc. -- Comment: There is no "Lion GCC compiler". GCC is part of Xcode, not Lion, and as of Xcode 4.2, there is no GCC in Xcode. Furthermore, MacPorts does not use GCC to compile anything as of Xcode 4: in Xcode 4.0 and 4.1 MacPorts uses llvm-gcc-4.2, while with Xcode 4.2 and up, MacPorts uses clang. What version of Xcode do you have? -- Ticket URL: <https://trac.macports.org/ticket/33024#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33024: pari: clang compiles it incorrectly ------------------------------------+--------------------------------------- Reporter: molinp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: pari ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * cc: sczech@… (added) Comment: Has duplicate #33536. -- Ticket URL: <https://trac.macports.org/ticket/33024#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33024: pari: llvm-gcc compiles it incorrectly -------------------------------------+-------------------------------------- Reporter: molinp@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: pari | -------------------------------------+-------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: When built with clang I get: {{{ ? bezout(13,17) %1 = [4, -3, 1] }}} which appears to be correct according to the documentation of what bezout is meant to do. Upstream bug report only mentions llvm-gcc: http://pari.math.u-bordeaux.fr /cgi-bin/bugreport.cgi?bug=1252 Therefore I have simply blacklisted llvm-gcc-4.2 for this port in r95549. -- Ticket URL: <https://trac.macports.org/ticket/33024#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts