Opened 13 years ago

Closed 12 years ago

#32346 closed defect (fixed)

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 (Ryan Carsten Schmidt))

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 (1)

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

Download all attachments as: .zip

Change History (4)

comment:1 in reply to:  description ; Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: clang added
Owner: changed from macports-tickets@… to mww@…
Summary: ragel 6.7 fails to build on 10.7 Lion with Xcode 4.2ragel 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 13 years ago by drbacher@…

Attachment: ragel-clang-main.log added

ragel main.log compiled under clang

comment:2 in reply to:  1 Changed 13 years 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 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.