Alignment not a power of 2, I can't solve the problem with the old posts found into the discuss group

Hansjörg Petriffer
Wed Mar 21 23:50:00 GMT 2001

I work with cygwin 1.1.8.
By making an cross assembler for i386-coff I receive the following error

bash-2.04$ /src/gcc/gcc-2.95.2/configure --target=i386-coff --prefix=/tools
ith-gnu-as --with-gnu-ld --with-newlib -v 2>&1 | tee configure.out

PATH=/tools/bin:$PATH ; export PATH
make -w all install 2>&1 | tee make.out

${name} \
       /src/gcc/gcc-2.95.2/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  i386-coff-ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
/tmp/ccKOIPkR.s: Assembler messages:
/tmp/ccKOIPkR.s:113: Error: Alignment not a power of 2
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/tmp/build/gcc'

Have anyone an idea what can cause this?


Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list