Hi, I'm trying to cross-compile x86 (i686) toolchain on an x86_64 machine (which is running CLFS-1.0-rc-something :-) ). In chapter 5.8 (Glibc-2.5) I encountered following error:
<--begin_code--> gcc -g iconvconfig.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -mpreferred-stack-boundary=2 -DGCONV_PATH='"/usr/lib/gconv"' -DGCONV_DIR='"/usr/lib/gconv"' -D_GNU_SOURCE -I../include-native -I/home/kuba/src/glibc-build/iconv/ -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /home/kuba/src/glibc-build/iconv/iconvconfig-native.o -MD -MP -MF /home/kuba/src/glibc-build/iconv/iconvconfig-native.o.dt -MT /home/kuba/src/glibc-build/iconv/iconvconfig-native.o iconvconfig.c:1: error: -mpreferred-stack-boundary=2 is not between 4 and 12 make[2]: *** [/home/kuba/src/glibc-build/iconv/iconvconfig-native.o] Error 1 make[2]: Leaving directory `/home/kuba/src/glibc-2.5/iconv' make[1]: *** [iconv/others] Error 2 make[1]: Leaving directory `/home/kuba/src/glibc-2.5' make: *** [all] Error 2 <--end_code--> I tried to add an option to configure script, namely: CFLAGS="-mpreferred-stack-boundary=8" but then glibc complains about "glibc cannot be build without optimizations" and the process stops. Does anyone has an idea on how to solve the error with stack-boundary? Konrad Micinski _______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
