Opened 12 years ago

Last modified 12 years ago

#32346 closed defect

ragel 6.7 fails to build with clang — at Version 1

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)

Change History (2)

comment:1 in reply to:  description Changed 12 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 12 years ago by drbacher@…

Attachment: ragel-clang-main.log added

ragel main.log compiled under clang

Note: See TracTickets for help on using tickets.