New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32346 (closed defect: fixed)

Opened 19 months ago

Last modified 12 months ago

ragel 6.7 fails to build with clang

Reported by: drbacher@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: clang Cc:
Port: ragel

Description (last modified by ryandesign@…) (diff)

The ragel 6.7 port fails to build with the clang compiler. The build succeeds with the llvm-gcc-4.2 compiler (as suggested in the ProblemHotlist).

port install ragel configure.compiler=llvm-gcc-4.2 -universal

I had to add "-universal" to work around link errors like:

file was built for unsupported file format which is not the architecture being linked (i386)

Attachments

ragel-clang-main.log (36.8 KB) - added by drbacher@… 19 months ago.
ragel main.log compiled under clang

Change History

comment:1 in reply to: ↑ description ; follow-up: ↓ 2 Changed 19 months ago by ryandesign@…

  • Owner changed from macports-tickets@… to mww@…
  • Keywords clang added
  • Description modified (diff)
  • Summary changed from ragel 6.7 fails to build on 10.7 Lion with Xcode 4.2 to ragel 6.7 fails to build with clang

Replying to drbacher@…:

The ragel 6.7 port fails to build with the clang compiler.

Could you attach a main.log file from the failed build with clang?

I had to add "-universal" to work around link errors like:

Usually you should file a separate ticket for separate issues.

Changed 19 months ago by drbacher@…

ragel main.log compiled under clang

comment:2 in reply to: ↑ 1 Changed 19 months ago by drbacher@…

Replying to ryandesign@…:

Usually you should file a separate ticket for separate issues.

Fair enough. I'll file a separate ticket for the +universal failure.

comment:3 Changed 12 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.