"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