Opened 13 years ago
Closed 13 years ago
#31997 closed defect (fixed)
eigen 2.0.16 build fails with clang
Reported by: | thedoobs@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | clang | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | eigen |
Description
Trying to install kstars, but it keeps failing at eigen. Attached is the debug output from "sudo port -d install eigen".
Attachments (1)
Change History (4)
Changed 13 years ago by thedoobs@…
Attachment: | debug-31997.txt added |
---|
comment:1 follow-up: 2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | clang added |
---|---|
Summary: | eigen 2.0.16 install fail → eigen 2.0.16 build fails with clang |
comment:2 follow-up: 3 Changed 13 years ago by thedoobs@…
Replying to ryandesign@…:
I see you're using clang. Have you tried llvm-gcc-4.2 instead? See wiki:ProblemHotlist#compiler.
Your suggestion to use llvm-gcc-4.2 worked. I used "sudo port install eigen configure.compiler=llvm-gcc-4.2". Any ideas why this doesn't build under the default compiler? Thanks for the help!
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Replying to thedoobs@…:
Replying to ryandesign@…:
I see you're using clang. Have you tried llvm-gcc-4.2 instead? See wiki:ProblemHotlist#compiler.
Your suggestion to use llvm-gcc-4.2 worked. I used "sudo port install eigen configure.compiler=llvm-gcc-4.2".
Thanks for verifying that. Fixed in r87078.
Any ideas why this doesn't build under the default compiler? Thanks for the help!
Not offhand. But clang is a newer / different compiler and it is stricter about some bad programming practices than gcc.
I see you're using clang. Have you tried llvm-gcc-4.2 instead? See wiki:ProblemHotlist#compiler.