Re: [arm-gnu] Segfault running to assemble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [arm-gnu] Segfault running to assemble
- To: arm-gnu@xxxxxxxxxxxxxxxx
- Subject: Re: [arm-gnu] Segfault running to assemble
- From: 42Bastian <list-bastian.schick@xxxxxxxxxxx>
- Date: Mon, 03 May 2010 22:56:24 +0200
Mark
>> Here's the code:
>> http://andrewpullin.org/tools/arm/start.S
>
>> arm-none-eabi-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -DDEBUG -Os
>> -fno-strict-aliasing -fno-common -ffixed-r8 -ffunction-sections
>> -msoft-float -Wcast-align -Wall -D__KERNEL__ -DTEXT_BASE= -fno-builtin
>> -ffreestanding -isystem
>> /opt/arm-2010q1/bin/../lib/gcc/arm-none-eabi/4.4.1/include -pipe
>> -march=armv4t -mlong-calls -mtune=arm7tdmi-s -DCONFIG_ARM -D__ARM__
>> -mthumb-interwork -c -o ../src/start-romvars.o ../src/start-romvars.s
>>
>> arm-none-eabi-gcc: Internal error: Segmentation fault (program as)
>
> It's probably start-romvars.s that's causing the fault, not start.S,
> right? If so, please post that file to the list.
IMO the first instruction he posted generates start-romvars.s (gcc -E ...)
from start.S
--
42Bastian
+
| http://www.sciopta.com
| Fastest direct message passing kernel.
| IEC61508 certified.
+