Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems compiling project with x86 .asm files as Universal Binary




On 20 jan 2006, at 00:23, E. Wing wrote:

My second problem is when I'm compiling on the Intel side, there is a
failure somewhere and I get the following error output:
{standard input}:22:Alignment too large: 15. assumed.
{standard input}:80:Alignment too large: 15. assumed.

Just a quick update, I was told by one of the library authors to replace .align 16 with .align 8 and that seemed to fix the problem.

Better replace it with 4. ".align x" means "align to 2^x" here, so currently you're aligning to 256 byte boundaries.


But now I'm getting a linker problem in the final build step. I'm told
that one of my mmx/sse related .o files
"has local relocation entries in non-writable section (__TEXT,__text)

Since you are using assembler, I guess it's your assembler that contains non-pic code.



Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Problems compiling project with x86 .asm files as Universal Binary (From: "E. Wing" <email@hidden>)
 >Re: Problems compiling project with x86 .asm files as Universal Binary (From: Dave Camp <email@hidden>)
 >Re: Problems compiling project with x86 .asm files as Universal Binary (From: "E. Wing" <email@hidden>)
 >Re: Problems compiling project with x86 .asm files as Universal Binary (From: "E. Wing" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.