Re: arm-linux-gcc can't recognize "-mpreferred-stack-boundary"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Arthur Yang" <arthuryang@xxxxxxxxxxxx> writes:

> However when I build glibc, I found error caused by that arm-linux-gcc can't recognizing "preferred-stack-boundary=4". The output is attached at the end of the mail.
> 
> So I checked like this:
> gcc -mpreferred-stack-boundary=4 tt.c
> It's OK.
> arm-linux-gcc -mpreferred-stack-boundary=4 tt.c
> it responded as below:
> cc1: error: invalid option `preferred-stack-boundary=4'

Yes.  -mpreferred-stack-boundary is an i386-specific option.

This problem would seem to be in the glibc cross-build procedure.  It
is using an i386-specific option for the ARM compiler.  I don't know
why.  It's not a compiler bug.  You will have to talk to the glibc
people.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux