[ 
https://issues.apache.org/jira/browse/THRIFT-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466651#comment-13466651
 ] 

Nathan Beyer commented on THRIFT-1673:
--------------------------------------

Does the '$CFLAGS' variable need to be set at all? Is there a particular 
parameter that needs to be included?

I tried remove the modification of '$CFLAGS' and everything seems to work just 
fine on Ruby 1.8.7-p370 and Ruby 1.9.3-p194 on OS X Lion. There are a lot of 
warnings for the native code when built via Ruby 1.9.3-p194, but the 
compilation and tests complete successfully.
                
> Ruby compile flags for extension for multi arch builds (os x)
> -------------------------------------------------------------
>
>                 Key: THRIFT-1673
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1673
>             Project: Thrift
>          Issue Type: Bug
>          Components: Ruby - Library
>    Affects Versions: 0.9
>         Environment: os x
>            Reporter: Jake Farrell
>            Assignee: Jake Farrell
>             Fix For: 0.9
>
>
> ld: warning: ld: warning: ignoring file thrift_native.o, file was built for 
> unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 
> 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked 
> (i386): thrift_native.oignoring file struct.o, file was built for unsupported 
> file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 
> 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): struct.o

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to