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



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.
+