This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hail marry (booting PowerMac 8600)


Hi,

The differences are pretty extensive. But I will try to weed through
it and see if something jumps out.

According to the .mesh.o.cmd file -fno-strict-overflow is also there.

If it helps, I don't think 4.2.4 works either. I have not repeated the
exact test (a 4.2.4 compiled mesh with 4.3.5 everything else) but I
have tried to build the entire kernel with 4.2.4 and it behaved the
same as 4.3.5. Any chance the list of changes is smaller (between
4.1.2 and 4.2.4)?

Thanks!

kevin

On Wed, Feb 2, 2011 at 4:07 PM, Ian Lance Taylor <iant@google.com> wrote:
>
> Many many things changed.  I would recommend looking at the code
> generated by the two compilers to see if you can spot the key
> difference.
>
> As a short in the dark, you said you use -fno-strict-aliasing; do you
> also use -fno-strict-overflow?
>
> Ian
>
cmd_drivers/scsi/mesh.o := gcc -m32 -Wp,-MD,drivers/scsi/.mesh.o.d  \
-nostdinc -isystem
/opt/gcc-4.3.5-gnu/lib/gcc/powerpc-unknown-linux-gnu/4.3.5/include \
-I/mnt/mnt3/linux-2.6.36/arch/powerpc/include -Iinclude  \
-include include/generated/autoconf.h -D__KERNEL__ \
-Iarch/powerpc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration \
-Wno-format-security -fno-delete-null-pointer-checks -O2 -msoft-float \
-pipe -Iarch/powerpc -ffixed-r2 -mmultiple -mno-altivec -mno-spe -mspe=no \
-funit-at-a-time -mno-string -mcpu=powerpc -Wa,-maltivec -fno-stack-protector \
-fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign \
-fno-strict-overflow    -D"KBUILD_STR(s)=\#s" \
-D"KBUILD_BASENAME=KBUILD_STR(mesh)"  \
-D"KBUILD_MODNAME=KBUILD_STR(mesh)"  -c \
-o drivers/scsi/mesh.o drivers/scsi/mesh.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]