ppc64 cross compiler hangs in infinite loop while compiling kernel/posix-timers.coptimised

From: Chris Friesen
Date: Tue Aug 24 2004 - 14:36:40 EST


I'm using a crosstool-generated ppc64 cross compiler for ppc. Specifically, its the 3.4.0 compiler.

Building with "V=1", the full command is:

powerpc64-linux-gnu-gcc -m64 -Wp,-MD,kernel/.posix-timers.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -msoft-float -pipe -Wno-uninitialized -mminimal-toc -mtraceback=none -mtune=power4 -funit-at-a-time -O2 -Wdeclaration-after-statement -DKBUILD_BASENAME=posix_timers -DKBUILD_MODNAME=posix_timers -c -o kernel/.tmp_posix-timers.o kernel/posix-timers.c

This hangs. If I remove the "-O2" portion, it compiles fine. Obviously something is confusing it. Anyone have any ideas?

Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/