[Arm-netbook] SATA - ATAS

luke.leighton luke.leighton at gmail.com
Tue Sep 10 16:55:30 BST 2013


On Tue, Sep 10, 2013 at 4:52 PM, joem <joem at martindale-electric.co.uk> wrote:
> On Tue, 2013-09-10 at 16:26 +0100, luke.leighton wrote:
>> On Tue, Sep 10, 2013 at 4:21 PM, joem <joem at martindale-electric.co.uk> wrote:
>>
>> > I did git pull, and make clean and then tried to compile
>> > and went a lot further but got the messages here
>> > http://www.gplsquared.com/eoma_boot/compile_error3.txt
>> >
>> >
>> > The last few lines of the error were:
>> > arm-linux-gnueabihf-gcc-4.4 -I. -I/home/jm/code/eoma/linux/include
>>
>>  ok that's good....
>>
>> > arm-linux-gnueabihf-objdump -D suspend.elf > suspend.lst
>> > arm-linux-gnueabihf-objdump -D standby.elf > standby.lst
>> > Segmentation fault (core dumped)
>> > make: *** [suspend] Error 139
>> > make: *** Waiting for unfinished jobs....
>> > Segmentation fault (core dumped)
>> > make: *** [standby] Error 139
>> > Segmentation fault (core dumped)
>> > make: *** [resume1] Error 139
>>
>>  AWESOME!!! now that really *is* an error that should be reported to
>> the gcc team.
>>
>>  hmmmm... i have an idea: could you try arm-linux-gnueabi-gcc-4.4 ?
>>
>>  so install that compiler and then also modify the CROSS-COMPILE= to
>> arm-linux-gnueabi- rather than gnueabihf-
>
>
> Done - similar errors:
> http://www.gplsquared.com/eoma_boot/compile_error4.txt
>
> Last few lines of the error:
>
> arm-linux-gnueabi-gcc-4.4 -I. -I/home/jm/code/eoma/linux/include
> -I/home/jm/code/eoma/linux/arch/arm/mach-sun7i/include  -g -c -nostdlib
> -march=armv7-a -marm -D__STANDBY_MODULE__ -fno-unwind-tables
> -fno-asynchronous-unwind-tables -mlittle-endian -O0  ./../mem_serial.c
> -o              ./../mem_serial.o
> arm-linux-gnueabi-ld -T resume1.xn
> -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
> arm-linux-gnueabi-objdump -D resume1.elf > resume1.lst
> arm-linux-gnueabi-ld -T suspend.xn
> -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
> arm-linux-gnueabi-objdump -D suspend.elf > suspend.lst
> arm-linux-gnueabi-ld -T standby.xn  -EL  common.o standby.o
> standby_clock.o standby_ir.o standby_key.o standby_power.o standby_tmr.o
> standby_twi.o standby_usb.o standby_delay.o dram/dram.o
> 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
> arm-linux-gnueabi-objdump -D standby.elf > standby.lst
> Segmentation fault (core dumped)
> make: *** [resume1] Error 139
> make: *** Waiting for unfinished jobs....
> Segmentation fault (core dumped)
> make: *** [suspend] Error 139
> Segmentation fault (core dumped)
> make: *** [standby] Error 139
> make: Leaving directory
> `/home/jm/code/eoma/linux/arch/arm/mach-sun7i/pm/standby'
> jm at jm-inspiron:~/code/eoma/linux$ git clean -f

 git clean -f first, then do the make.  otherwise the old [corrupted?]
.o files will attempt to be added to the same archive.

 if this really continues to bugger up you might have to use debian's gcc 4.4.

 hhmmmm... or patch the bloody code.  i might see if i can find you a
different 3.3-a20 kernel source to use, joe.

l.



More information about the arm-netbook mailing list