gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Error message when compiling for ARM (Jetson orin nano)

BN
Beser, Nicholas D.
Mon, Sep 16, 2024 1:46 PM

I attempted to compile gem5.opt (ALL) and received the following error message: (After a long an apparently error free output)

build/ALL/gem5.opt -j6 &>buildlogopt.txt

[SO Param] m5.objects.KvmGic, MuxingKvmGicV2 -> ALL/python/_m5/param_MuxingKvmGicV2.cc
{standard input}: Assembler messages:
{standard input}:1072524: Warning: end of file not at end of a line; newline inserted
{standard input}:1072976: Error: symbol `.LVU230' is already defined
[SO Param] m5.objects.KvmGic, MuxingKvmGicV2 -> ALL/params/MuxingKvmGicV2.hh
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
[SO Param] m5.objects.KvmGic, MuxingKvmGicV3 -> ALL/params/MuxingKvmGicV3.hh
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
scons: *** [build/ALL/arch/arm/generated/inst-constrs-3.o] Error 1

Any ideas what might be causing this? I think I am able to compile build/ALL/gem5.fast without errors.

Nick

I attempted to compile gem5.opt (ALL) and received the following error message: (After a long an apparently error free output) build/ALL/gem5.opt -j6 &>buildlogopt.txt [SO Param] m5.objects.KvmGic, MuxingKvmGicV2 -> ALL/python/_m5/param_MuxingKvmGicV2.cc {standard input}: Assembler messages: {standard input}:1072524: Warning: end of file not at end of a line; newline inserted {standard input}:1072976: Error: symbol `.LVU230' is already defined [SO Param] m5.objects.KvmGic, MuxingKvmGicV2 -> ALL/params/MuxingKvmGicV2.hh {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive [SO Param] m5.objects.KvmGic, MuxingKvmGicV3 -> ALL/params/MuxingKvmGicV3.hh g++: fatal error: Killed signal terminated program cc1plus compilation terminated. scons: *** [build/ALL/arch/arm/generated/inst-constrs-3.o] Error 1 Any ideas what might be causing this? I think I am able to compile build/ALL/gem5.fast without errors. Nick
JL
Jason Lowe-Power
Tue, Sep 17, 2024 3:03 PM

That's almost certainly that you're running out of memory. Try using fewer
cores (smaller -j).

Cheers,
Jason

On Mon, Sep 16, 2024 at 7:59 AM Beser, Nicholas D. via gem5-users <
gem5-users@gem5.org> wrote:

I attempted to compile gem5.opt (ALL) and received the following error
message: (After a long an apparently error free output)

build/ALL/gem5.opt -j6 &>buildlogopt.txt

[SO Param] m5.objects.KvmGic, MuxingKvmGicV2 ->
ALL/python/_m5/param_MuxingKvmGicV2.cc

{standard input}: Assembler messages:

{standard input}:1072524: Warning: end of file not at end of a line;
newline inserted

{standard input}:1072976: Error: symbol `.LVU230' is already defined

[SO Param] m5.objects.KvmGic, MuxingKvmGicV2 ->
ALL/params/MuxingKvmGicV2.hh

{standard input}: Error: open CFI at the end of file; missing .cfi_endproc
directive

[SO Param] m5.objects.KvmGic, MuxingKvmGicV3 ->
ALL/params/MuxingKvmGicV3.hh

g++: fatal error: Killed signal terminated program cc1plus

compilation terminated.

scons: *** [build/ALL/arch/arm/generated/inst-constrs-3.o] Error 1

Any ideas what might be causing this? I think I am able to compile
build/ALL/gem5.fast without errors.

Nick


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

That's almost certainly that you're running out of memory. Try using fewer cores (smaller -j). Cheers, Jason On Mon, Sep 16, 2024 at 7:59 AM Beser, Nicholas D. via gem5-users < gem5-users@gem5.org> wrote: > I attempted to compile gem5.opt (ALL) and received the following error > message: (After a long an apparently error free output) > > > > build/ALL/gem5.opt -j6 &>buildlogopt.txt > > > > [SO Param] m5.objects.KvmGic, MuxingKvmGicV2 -> > ALL/python/_m5/param_MuxingKvmGicV2.cc > > {standard input}: Assembler messages: > > {standard input}:1072524: Warning: end of file not at end of a line; > newline inserted > > {standard input}:1072976: Error: symbol `.LVU230' is already defined > > [SO Param] m5.objects.KvmGic, MuxingKvmGicV2 -> > ALL/params/MuxingKvmGicV2.hh > > {standard input}: Error: open CFI at the end of file; missing .cfi_endproc > directive > > [SO Param] m5.objects.KvmGic, MuxingKvmGicV3 -> > ALL/params/MuxingKvmGicV3.hh > > g++: fatal error: Killed signal terminated program cc1plus > > compilation terminated. > > scons: *** [build/ALL/arch/arm/generated/inst-constrs-3.o] Error 1 > > > > > > Any ideas what might be causing this? I think I am able to compile > build/ALL/gem5.fast without errors. > > > > Nick > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >