Opened 13 years ago
Closed 12 years ago
#32360 closed defect (fixed)
ragel 6.7 fails to link universal
Reported by: | drbacher@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | ragel |
Description
The ragel 6.7 port fails to link the universal variant when using the llvm-gcc-4.2 compiler.
port install ragel configure.compiler=llvm-gcc-4.2
fails with the following errors for all object files:
ignoring file ..., file was built for unsupported file format which is not the architecture being linked (i386)
The link succeeds if the universal variant is removed:
port install ragel configure.compiler=llvm-gcc-4.2 -universal
Attachments (2)
Change History (5)
Changed 13 years ago by drbacher@…
Attachment: | ragel-llvm-universal-main.log added |
---|
comment:1 follow-up: 2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to mww@… |
---|---|
Summary: | ragel 6.7 fails to link universal with llvm-gcc-4.2 → ragel 6.7 fails to link universal |
It's not compiler-specific (nor universal-specific; it would affect users trying to do a non-default-build_arch build as well). This software simply does not respect the CFLAGS/LDFLAGS we're setting and will need to be fixed.
P.S: Remember to Cc the maintainer of the affected port so they see your tickets and can begin to work on them.
comment:2 Changed 13 years ago by drbacher@…
Replying to ryandesign@…:
It's not compiler-specific (nor universal-specific; it would affect users trying to do a non-default-build_arch build as well). This software simply does not respect the CFLAGS/LDFLAGS we're setting and will need to be fixed.
Thanks for the pointer. It looks like the configure script blindly resets CXXFLAGS to -g. I've attached a simple patch that fixes the build for me.
comment:3 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
ragel main.log built with llvm-gcc-4.2