New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #31997 (closed defect: fixed)

Opened 19 months ago

Last modified 19 months ago

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@…
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

debug-31997.txt (4.9 MB) - added by thedoobs@… 19 months ago.

Change History

Changed 19 months ago by thedoobs@…

comment:1 follow-up: ↓ 2 Changed 19 months ago by ryandesign@…

  • Keywords clang added
  • Summary changed from eigen 2.0.16 install fail to eigen 2.0.16 build fails with clang

I see you're using clang. Have you tried llvm-gcc-4.2 instead? See wiki:ProblemHotlist#compiler.

comment:2 in reply to: ↑ 1 ; follow-up: ↓ 3 Changed 19 months 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 in reply to: ↑ 2 Changed 19 months ago by ryandesign@…

  • Cc ryandesign@… added
  • Status changed from new to closed
  • Resolution set to fixed

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.

Note: See TracTickets for help on using tickets.