<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 10, 2013 at 5:21 PM, joem <span dir="ltr"><<a href="mailto:joem@martindale-electric.co.uk" target="_blank">joem@martindale-electric.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">On Tue, 2013-09-10 at 15:59 +0100, luke.leighton wrote:<br>
> sorry, joe - you might have to do a "git pull", i might not have done<br>
> a git push this end :)<br>
><br>
> check around like 95 of arch/arm/mach-sun7i/pm/standby/Makefile it should be:<br>
><br>
> SUSPEND_LD_FILE = suspend.xn<br>
> RESUME1_LD_FILE = resume1.xn<br>
> RESUME0_LD_FILE = resume0.xn<br>
><br>
> CC = $(CROSS_COMPILE)gcc-4.4<br>
><br>
> #CFLAGS = -g -c -nostdlib -march=armv7-a -marm -fno-unwind-tables<br>
> -fno-asynchronous-unwind-tables -mlittle-endian<br>
> --min_array_alignment=4 --no_unaligned_access -O2<br>
> CFLAGS = -g -c -nostdlib -march=armv7-a -marm -D__STANDBY_MODULE__<br>
> -fno-unwind-tables -fno-asynchronous-unwind-tables -mlittle-endian -O0<br>
> #--min_array_alignment=4 --no_unaligned_access<br>
><br>
><br>
><br>
> > cc1: error: unrecognized command line option "-fmin_array_alignment=4"<br>
> > cc1: error: unrecognized command line option "-fno_unaligned_access"<br>
><br>
> yep that's cos i didn't commit the Makefile corrections to use gcc 4.4.<br>
<br>
</div>Thank you.<br>
<br>
I did git pull, and make clean and then tried to compile<br>
and went a lot further but got the messages here<br>
<a href="http://www.gplsquared.com/eoma_boot/compile_error3.txt" target="_blank">http://www.gplsquared.com/eoma_boot/compile_error3.txt</a><br>
<br>
<br>
The last few lines of the error were:<br>
arm-linux-gnueabihf-gcc-4.4 -I. -I/home/jm/code/eoma/linux/include<br>
-I/home/jm/code/eoma/linux/arch/arm/mach-sun7i/include -g -c -nostdlib<br>
-march=armv7-a -marm -D__STANDBY_MODULE__ -fno-unwind-tables<br>
-fno-asynchronous-unwind-tables -mlittle-endian -O0 dram/dram_init.c<br>
-o dram/dram_init.o<br>
arm-linux-gnueabihf-ld -T resume1.xn<br>
-EL ./super/common.o ./super/super_twi.o ./super/super_delay.o ./super/super_clock.o ./super/super_power.o ./super/super_tmr.o ./super/dram/dram.o ./super/dram/dram_init.o ./super/resume/resume1.o ./../mem_cpu.o ./../mem_mmu_pc.o ./../mem_mmu_pc_asm.o ./../mem_serial.o ./../mem_printk.o ./../pm_debug.o ./../mem_timing.o ./../mem_divlibc.o ./../mem_divlib.o -o resume1.elf -Map resume1.map<br>
arm-linux-gnueabihf-objdump -D resume1.elf > resume1.lst<br>
arm-linux-gnueabihf-gcc-4.4 -I. -I/home/jm/code/eoma/linux/include<br>
-I/home/jm/code/eoma/linux/arch/arm/mach-sun7i/include -g -c -nostdlib<br>
-march=armv7-a -marm -D__STANDBY_MODULE__ -fno-unwind-tables<br>
-fno-asynchronous-unwind-tables -mlittle-endian -O0 ./../mem_serial.c<br>
-o ./../mem_serial.o<br>
arm-linux-gnueabihf-ld -T suspend.xn<br>
-EL ./super/common.o ./super/super_tmr.o ./super/super_clock.o ./super/super_twi.o ./super/super_delay.o ./super/super_power.o ./super/suspend/suspend.o ./super/dram/dram.o ./super/dram/dram_init.o ./../mem_cpu.o ./../mem_mmu_pc.o ./../mem_mmu_pc_asm.o ./../mem_serial.o ./../mem_printk.o ./../mem_divlib.o ./../mem_divlibc.o ./../mem_int.o ./../pm_debug.o ./../mem_timing.o -o suspend.elf -Map suspend.map<br>
arm-linux-gnueabihf-ld -T standby.xn -EL common.o standby.o<br>
standby_clock.o standby_ir.o standby_key.o standby_power.o standby_tmr.o<br>
standby_twi.o standby_usb.o standby_delay.o dram/dram.o<br>
dram/dram_init.o ./../pm_debug.o ./../mem_mmu_pc_asm.o ./../mem_serial.o ./../mem_printk.o ./../mem_divlibc.o ./../mem_int.o ./../mem_timing.o ./../mem_divlib.o -o standby.elf -Map standby.map<br>
arm-linux-gnueabihf-objdump -D suspend.elf > suspend.lst<br>
arm-linux-gnueabihf-objdump -D standby.elf > standby.lst<br>
Segmentation fault (core dumped)<br>
make: *** [suspend] Error 139<br>
<div class="im">make: *** Waiting for unfinished jobs....<br>
</div>Segmentation fault (core dumped)<br>
make: *** [standby] Error 139<br>
Segmentation fault (core dumped)<br>
make: *** [resume1] Error 139<br>
<div class="im">make: Leaving directory<br></div></blockquote><div>Weired! objdump has crashed, it is not a compilation error... <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br></blockquote></div><br></div></div>