Opened 13 years ago
Closed 12 years ago
#33024 closed defect (fixed)
pari: llvm-gcc compiles it incorrectly
Reported by: | molinp@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | sczech@… | |
Port: | pari |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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.
Change History (3)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | pari gcc removed |
Port: | pari added |
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | sczech@… added |
---|---|
Summary: | broken pari/GP in OS/X Lion → pari: clang compiles it incorrectly |
Has duplicate #33536.
comment:3 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | pari: clang compiles it incorrectly → pari: llvm-gcc compiles it incorrectly |
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.
Note: See
TracTickets for help on using
tickets.
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?