gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Build gem5 on non x86 system

BN
Beser, Nicholas D.
Fri, Mar 15, 2024 12:42 AM

I have been using gem5 on a number of linux systems  such as WSL under windows 10/11, and  Oracle VM and native Ubuntu 22.04 on a X86 system. All of the system were X86 based. I have a jetson orin nano which runs Ubuntu 20.04 and is based on the ARM processor. Has anyone ever compiled gem5 on a non-x86 based system? I have access to gcc compilers for x86, arm and mips that run on ARM, but I am not sure what needs to be done to compile gem5 on ARM.

Nick Beser

I have been using gem5 on a number of linux systems such as WSL under windows 10/11, and Oracle VM and native Ubuntu 22.04 on a X86 system. All of the system were X86 based. I have a jetson orin nano which runs Ubuntu 20.04 and is based on the ARM processor. Has anyone ever compiled gem5 on a non-x86 based system? I have access to gcc compilers for x86, arm and mips that run on ARM, but I am not sure what needs to be done to compile gem5 on ARM. Nick Beser
HN
Hoa Nguyen
Fri, Mar 15, 2024 3:57 AM

Hi Nick,

I don't think there would be any problem with compiling gem5 on arm (or
riscv) architecture on Ubuntu. I've been compiling/using gem5 on an arm
system and it works for me.

However, please make sure that the system has enough memory to compile
gem5. Typically compiling gem5 takes a lot of memory, and you can pass
"--limit-ld-memory-usage" to reduce the memory consumption.

Regards,
Hoa Nguyen

On Thu, Mar 14, 2024, 17:44 Beser, Nicholas D. via gem5-users <
gem5-users@gem5.org> wrote:

I have been using gem5 on a number of linux systems  such as WSL under
windows 10/11, and  Oracle VM and native Ubuntu 22.04 on a X86 system. All
of the system were X86 based. I have a jetson orin nano which runs Ubuntu
20.04 and is based on the ARM processor. Has anyone ever compiled gem5 on a
non-x86 based system? I have access to gcc compilers for x86, arm and mips
that run on ARM, but I am not sure what needs to be done to compile gem5 on
ARM.

Nick Beser


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

Hi Nick, I don't think there would be any problem with compiling gem5 on arm (or riscv) architecture on Ubuntu. I've been compiling/using gem5 on an arm system and it works for me. However, please make sure that the system has enough memory to compile gem5. Typically compiling gem5 takes a lot of memory, and you can pass "--limit-ld-memory-usage" to reduce the memory consumption. Regards, Hoa Nguyen On Thu, Mar 14, 2024, 17:44 Beser, Nicholas D. via gem5-users < gem5-users@gem5.org> wrote: > I have been using gem5 on a number of linux systems such as WSL under > windows 10/11, and Oracle VM and native Ubuntu 22.04 on a X86 system. All > of the system were X86 based. I have a jetson orin nano which runs Ubuntu > 20.04 and is based on the ARM processor. Has anyone ever compiled gem5 on a > non-x86 based system? I have access to gcc compilers for x86, arm and mips > that run on ARM, but I am not sure what needs to be done to compile gem5 on > ARM. > > > > Nick Beser > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >
BN
Beser, Nicholas D.
Fri, Mar 15, 2024 1:27 PM

Hoa,

Thank you for your suggestion. The Jetson Orin Nano normally comes with 4Gbyte Ram, so I can see that it could be a problem. Where do you apply the –limit-ld-memory-usage command? Did you attempt to build it with the docker command? I am using the Jetson Orin Nano for GPU and openmpi work, so the docker approach would help isolate the system. I am going to work through the installation procedure and see where it ends up.

Nick

From: Hoa Nguyen hoanguyen@ucdavis.edu
Sent: Thursday, March 14, 2024 11:58 PM
To: The gem5 Users mailing list gem5-users@gem5.org
Cc: Beser, Nicholas D. Nick.Beser@jhuapl.edu
Subject: [EXT] Re: [gem5-users] Build gem5 on non x86 system

APL external email warning: Verify sender hoanguyen@ucdavis.edumailto:hoanguyen@ucdavis.edu before clicking links or attachments

Hi Nick,

I don't think there would be any problem with compiling gem5 on arm (or riscv) architecture on Ubuntu. I've been compiling/using gem5 on an arm system and it works for me.

However, please make sure that the system has enough memory to compile gem5. Typically compiling gem5 takes a lot of memory, and you can pass "--limit-ld-memory-usage" to reduce the memory consumption.

Regards,
Hoa Nguyen

On Thu, Mar 14, 2024, 17:44 Beser, Nicholas D. via gem5-users <gem5-users@gem5.orgmailto:gem5-users@gem5.org> wrote:
I have been using gem5 on a number of linux systems  such as WSL under windows 10/11, and  Oracle VM and native Ubuntu 22.04 on a X86 system. All of the system were X86 based. I have a jetson orin nano which runs Ubuntu 20.04 and is based on the ARM processor. Has anyone ever compiled gem5 on a non-x86 based system? I have access to gcc compilers for x86, arm and mips that run on ARM, but I am not sure what needs to be done to compile gem5 on ARM.

Nick Beser


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

Hoa, Thank you for your suggestion. The Jetson Orin Nano normally comes with 4Gbyte Ram, so I can see that it could be a problem. Where do you apply the –limit-ld-memory-usage command? Did you attempt to build it with the docker command? I am using the Jetson Orin Nano for GPU and openmpi work, so the docker approach would help isolate the system. I am going to work through the installation procedure and see where it ends up. Nick From: Hoa Nguyen <hoanguyen@ucdavis.edu> Sent: Thursday, March 14, 2024 11:58 PM To: The gem5 Users mailing list <gem5-users@gem5.org> Cc: Beser, Nicholas D. <Nick.Beser@jhuapl.edu> Subject: [EXT] Re: [gem5-users] Build gem5 on non x86 system APL external email warning: Verify sender hoanguyen@ucdavis.edu<mailto:hoanguyen@ucdavis.edu> before clicking links or attachments Hi Nick, I don't think there would be any problem with compiling gem5 on arm (or riscv) architecture on Ubuntu. I've been compiling/using gem5 on an arm system and it works for me. However, please make sure that the system has enough memory to compile gem5. Typically compiling gem5 takes a lot of memory, and you can pass "--limit-ld-memory-usage" to reduce the memory consumption. Regards, Hoa Nguyen On Thu, Mar 14, 2024, 17:44 Beser, Nicholas D. via gem5-users <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> wrote: I have been using gem5 on a number of linux systems such as WSL under windows 10/11, and Oracle VM and native Ubuntu 22.04 on a X86 system. All of the system were X86 based. I have a jetson orin nano which runs Ubuntu 20.04 and is based on the ARM processor. Has anyone ever compiled gem5 on a non-x86 based system? I have access to gcc compilers for x86, arm and mips that run on ARM, but I am not sure what needs to be done to compile gem5 on ARM. Nick Beser _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org> To unsubscribe send an email to gem5-users-leave@gem5.org<mailto:gem5-users-leave@gem5.org>
HN
Hoa Nguyen
Fri, Mar 15, 2024 6:25 PM

Hi Nick,

You can use the argument like this,

scons build/RISCV/gem5.opt –limit-ld-memory-usage -jnproc

I was able to compile gem5 with docker with 6GiB of RAM, and was not able
to do that with 4GiB of RAM.

I think you already hint at a better solution, which is to use build the
docker image on a different machine, and bundle the gem5 binary to the
docker image. Then you can distribute the image to the Jetson.

Regards,
Hoa Nguyen

On Fri, Mar 15, 2024, 06:27 Beser, Nicholas D. Nick.Beser@jhuapl.edu
wrote:

Hoa,

Thank you for your suggestion. The Jetson Orin Nano normally comes with
4Gbyte Ram, so I can see that it could be a problem. Where do you apply the
–limit-ld-memory-usage command? Did you attempt to build it with the docker
command? I am using the Jetson Orin Nano for GPU and openmpi work, so the
docker approach would help isolate the system. I am going to work through
the installation procedure and see where it ends up.

Nick

From: Hoa Nguyen hoanguyen@ucdavis.edu
Sent: Thursday, March 14, 2024 11:58 PM
To: The gem5 Users mailing list gem5-users@gem5.org
Cc: Beser, Nicholas D. Nick.Beser@jhuapl.edu
Subject: [EXT] Re: [gem5-users] Build gem5 on non x86 system

*APL external email warning: *Verify sender hoanguyen@ucdavis.edu before
clicking links or attachments

Hi Nick,

I don't think there would be any problem with compiling gem5 on arm (or
riscv) architecture on Ubuntu. I've been compiling/using gem5 on an arm
system and it works for me.

However, please make sure that the system has enough memory to compile
gem5. Typically compiling gem5 takes a lot of memory, and you can pass
"--limit-ld-memory-usage" to reduce the memory consumption.

Regards,

Hoa Nguyen

On Thu, Mar 14, 2024, 17:44 Beser, Nicholas D. via gem5-users <
gem5-users@gem5.org> wrote:

I have been using gem5 on a number of linux systems  such as WSL under
windows 10/11, and  Oracle VM and native Ubuntu 22.04 on a X86 system. All
of the system were X86 based. I have a jetson orin nano which runs Ubuntu
20.04 and is based on the ARM processor. Has anyone ever compiled gem5 on a
non-x86 based system? I have access to gcc compilers for x86, arm and mips
that run on ARM, but I am not sure what needs to be done to compile gem5 on
ARM.

Nick Beser


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

Hi Nick, You can use the argument like this, scons build/RISCV/gem5.opt –limit-ld-memory-usage -j`nproc` I was able to compile gem5 with docker with 6GiB of RAM, and was not able to do that with 4GiB of RAM. I think you already hint at a better solution, which is to use build the docker image on a different machine, and bundle the gem5 binary to the docker image. Then you can distribute the image to the Jetson. Regards, Hoa Nguyen On Fri, Mar 15, 2024, 06:27 Beser, Nicholas D. <Nick.Beser@jhuapl.edu> wrote: > Hoa, > > > > Thank you for your suggestion. The Jetson Orin Nano normally comes with > 4Gbyte Ram, so I can see that it could be a problem. Where do you apply the > –limit-ld-memory-usage command? Did you attempt to build it with the docker > command? I am using the Jetson Orin Nano for GPU and openmpi work, so the > docker approach would help isolate the system. I am going to work through > the installation procedure and see where it ends up. > > > > Nick > > > > *From:* Hoa Nguyen <hoanguyen@ucdavis.edu> > *Sent:* Thursday, March 14, 2024 11:58 PM > *To:* The gem5 Users mailing list <gem5-users@gem5.org> > *Cc:* Beser, Nicholas D. <Nick.Beser@jhuapl.edu> > *Subject:* [EXT] Re: [gem5-users] Build gem5 on non x86 system > > > > *APL external email warning: *Verify sender hoanguyen@ucdavis.edu before > clicking links or attachments > > > > Hi Nick, > > > > I don't think there would be any problem with compiling gem5 on arm (or > riscv) architecture on Ubuntu. I've been compiling/using gem5 on an arm > system and it works for me. > > > > However, please make sure that the system has enough memory to compile > gem5. Typically compiling gem5 takes a lot of memory, and you can pass > "--limit-ld-memory-usage" to reduce the memory consumption. > > > > Regards, > > Hoa Nguyen > > > > On Thu, Mar 14, 2024, 17:44 Beser, Nicholas D. via gem5-users < > gem5-users@gem5.org> wrote: > > I have been using gem5 on a number of linux systems such as WSL under > windows 10/11, and Oracle VM and native Ubuntu 22.04 on a X86 system. All > of the system were X86 based. I have a jetson orin nano which runs Ubuntu > 20.04 and is based on the ARM processor. Has anyone ever compiled gem5 on a > non-x86 based system? I have access to gcc compilers for x86, arm and mips > that run on ARM, but I am not sure what needs to be done to compile gem5 on > ARM. > > > > Nick Beser > > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org > >
BN
Beser, Nicholas D.
Fri, Mar 15, 2024 7:30 PM

That sounds like a workable solution. I need to hunt down an large memory ARM system for that. I wanted to set up something like that so I don’t have to have the class go through a shaky install procedure.

Nick

From: Hoa Nguyen hoanguyen@ucdavis.edu
Sent: Friday, March 15, 2024 2:26 PM
To: Beser, Nicholas D. Nick.Beser@jhuapl.edu
Cc: The gem5 Users mailing list gem5-users@gem5.org
Subject: Re: [EXT] Re: [gem5-users] Build gem5 on non x86 system

APL external email warning: Verify sender hoanguyen@ucdavis.edumailto:hoanguyen@ucdavis.edu before clicking links or attachments

Hi Nick,

You can use the argument like this,

scons build/RISCV/gem5.opt –limit-ld-memory-usage -jnproc

I was able to compile gem5 with docker with 6GiB of RAM, and was not able to do that with 4GiB of RAM.

I think you already hint at a better solution, which is to use build the docker image on a different machine, and bundle the gem5 binary to the docker image. Then you can distribute the image to the Jetson.

Regards,
Hoa Nguyen

On Fri, Mar 15, 2024, 06:27 Beser, Nicholas D. <Nick.Beser@jhuapl.edumailto:Nick.Beser@jhuapl.edu> wrote:
Hoa,

Thank you for your suggestion. The Jetson Orin Nano normally comes with 4Gbyte Ram, so I can see that it could be a problem. Where do you apply the –limit-ld-memory-usage command? Did you attempt to build it with the docker command? I am using the Jetson Orin Nano for GPU and openmpi work, so the docker approach would help isolate the system. I am going to work through the installation procedure and see where it ends up.

Nick

From: Hoa Nguyen <hoanguyen@ucdavis.edumailto:hoanguyen@ucdavis.edu>
Sent: Thursday, March 14, 2024 11:58 PM
To: The gem5 Users mailing list <gem5-users@gem5.orgmailto:gem5-users@gem5.org>
Cc: Beser, Nicholas D. <Nick.Beser@jhuapl.edumailto:Nick.Beser@jhuapl.edu>
Subject: [EXT] Re: [gem5-users] Build gem5 on non x86 system

APL external email warning: Verify sender hoanguyen@ucdavis.edumailto:hoanguyen@ucdavis.edu before clicking links or attachments

Hi Nick,

I don't think there would be any problem with compiling gem5 on arm (or riscv) architecture on Ubuntu. I've been compiling/using gem5 on an arm system and it works for me.

However, please make sure that the system has enough memory to compile gem5. Typically compiling gem5 takes a lot of memory, and you can pass "--limit-ld-memory-usage" to reduce the memory consumption.

Regards,
Hoa Nguyen

On Thu, Mar 14, 2024, 17:44 Beser, Nicholas D. via gem5-users <gem5-users@gem5.orgmailto:gem5-users@gem5.org> wrote:
I have been using gem5 on a number of linux systems  such as WSL under windows 10/11, and  Oracle VM and native Ubuntu 22.04 on a X86 system. All of the system were X86 based. I have a jetson orin nano which runs Ubuntu 20.04 and is based on the ARM processor. Has anyone ever compiled gem5 on a non-x86 based system? I have access to gcc compilers for x86, arm and mips that run on ARM, but I am not sure what needs to be done to compile gem5 on ARM.

Nick Beser


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

That sounds like a workable solution. I need to hunt down an large memory ARM system for that. I wanted to set up something like that so I don’t have to have the class go through a shaky install procedure. Nick From: Hoa Nguyen <hoanguyen@ucdavis.edu> Sent: Friday, March 15, 2024 2:26 PM To: Beser, Nicholas D. <Nick.Beser@jhuapl.edu> Cc: The gem5 Users mailing list <gem5-users@gem5.org> Subject: Re: [EXT] Re: [gem5-users] Build gem5 on non x86 system APL external email warning: Verify sender hoanguyen@ucdavis.edu<mailto:hoanguyen@ucdavis.edu> before clicking links or attachments Hi Nick, You can use the argument like this, scons build/RISCV/gem5.opt –limit-ld-memory-usage -j`nproc` I was able to compile gem5 with docker with 6GiB of RAM, and was not able to do that with 4GiB of RAM. I think you already hint at a better solution, which is to use build the docker image on a different machine, and bundle the gem5 binary to the docker image. Then you can distribute the image to the Jetson. Regards, Hoa Nguyen On Fri, Mar 15, 2024, 06:27 Beser, Nicholas D. <Nick.Beser@jhuapl.edu<mailto:Nick.Beser@jhuapl.edu>> wrote: Hoa, Thank you for your suggestion. The Jetson Orin Nano normally comes with 4Gbyte Ram, so I can see that it could be a problem. Where do you apply the –limit-ld-memory-usage command? Did you attempt to build it with the docker command? I am using the Jetson Orin Nano for GPU and openmpi work, so the docker approach would help isolate the system. I am going to work through the installation procedure and see where it ends up. Nick From: Hoa Nguyen <hoanguyen@ucdavis.edu<mailto:hoanguyen@ucdavis.edu>> Sent: Thursday, March 14, 2024 11:58 PM To: The gem5 Users mailing list <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> Cc: Beser, Nicholas D. <Nick.Beser@jhuapl.edu<mailto:Nick.Beser@jhuapl.edu>> Subject: [EXT] Re: [gem5-users] Build gem5 on non x86 system APL external email warning: Verify sender hoanguyen@ucdavis.edu<mailto:hoanguyen@ucdavis.edu> before clicking links or attachments Hi Nick, I don't think there would be any problem with compiling gem5 on arm (or riscv) architecture on Ubuntu. I've been compiling/using gem5 on an arm system and it works for me. However, please make sure that the system has enough memory to compile gem5. Typically compiling gem5 takes a lot of memory, and you can pass "--limit-ld-memory-usage" to reduce the memory consumption. Regards, Hoa Nguyen On Thu, Mar 14, 2024, 17:44 Beser, Nicholas D. via gem5-users <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> wrote: I have been using gem5 on a number of linux systems such as WSL under windows 10/11, and Oracle VM and native Ubuntu 22.04 on a X86 system. All of the system were X86 based. I have a jetson orin nano which runs Ubuntu 20.04 and is based on the ARM processor. Has anyone ever compiled gem5 on a non-x86 based system? I have access to gcc compilers for x86, arm and mips that run on ARM, but I am not sure what needs to be done to compile gem5 on ARM. Nick Beser _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org> To unsubscribe send an email to gem5-users-leave@gem5.org<mailto:gem5-users-leave@gem5.org>
BN
Beser, Nicholas D.
Fri, Mar 15, 2024 7:42 PM

Hoa,

I just ran the system monitor on my Jetson Orin Nano, and it says I have 8G of RAM. I think I should be in good position to work the problem.

Nick

From: Hoa Nguyen hoanguyen@ucdavis.edu
Sent: Friday, March 15, 2024 2:26 PM
To: Beser, Nicholas D. Nick.Beser@jhuapl.edu
Cc: The gem5 Users mailing list gem5-users@gem5.org
Subject: Re: [EXT] Re: [gem5-users] Build gem5 on non x86 system

APL external email warning: Verify sender hoanguyen@ucdavis.edumailto:hoanguyen@ucdavis.edu before clicking links or attachments

Hi Nick,

You can use the argument like this,

scons build/RISCV/gem5.opt –limit-ld-memory-usage -jnproc

I was able to compile gem5 with docker with 6GiB of RAM, and was not able to do that with 4GiB of RAM.

I think you already hint at a better solution, which is to use build the docker image on a different machine, and bundle the gem5 binary to the docker image. Then you can distribute the image to the Jetson.

Regards,
Hoa Nguyen

On Fri, Mar 15, 2024, 06:27 Beser, Nicholas D. <Nick.Beser@jhuapl.edumailto:Nick.Beser@jhuapl.edu> wrote:
Hoa,

Thank you for your suggestion. The Jetson Orin Nano normally comes with 4Gbyte Ram, so I can see that it could be a problem. Where do you apply the –limit-ld-memory-usage command? Did you attempt to build it with the docker command? I am using the Jetson Orin Nano for GPU and openmpi work, so the docker approach would help isolate the system. I am going to work through the installation procedure and see where it ends up.

Nick

From: Hoa Nguyen <hoanguyen@ucdavis.edumailto:hoanguyen@ucdavis.edu>
Sent: Thursday, March 14, 2024 11:58 PM
To: The gem5 Users mailing list <gem5-users@gem5.orgmailto:gem5-users@gem5.org>
Cc: Beser, Nicholas D. <Nick.Beser@jhuapl.edumailto:Nick.Beser@jhuapl.edu>
Subject: [EXT] Re: [gem5-users] Build gem5 on non x86 system

APL external email warning: Verify sender hoanguyen@ucdavis.edumailto:hoanguyen@ucdavis.edu before clicking links or attachments

Hi Nick,

I don't think there would be any problem with compiling gem5 on arm (or riscv) architecture on Ubuntu. I've been compiling/using gem5 on an arm system and it works for me.

However, please make sure that the system has enough memory to compile gem5. Typically compiling gem5 takes a lot of memory, and you can pass "--limit-ld-memory-usage" to reduce the memory consumption.

Regards,
Hoa Nguyen

On Thu, Mar 14, 2024, 17:44 Beser, Nicholas D. via gem5-users <gem5-users@gem5.orgmailto:gem5-users@gem5.org> wrote:
I have been using gem5 on a number of linux systems  such as WSL under windows 10/11, and  Oracle VM and native Ubuntu 22.04 on a X86 system. All of the system were X86 based. I have a jetson orin nano which runs Ubuntu 20.04 and is based on the ARM processor. Has anyone ever compiled gem5 on a non-x86 based system? I have access to gcc compilers for x86, arm and mips that run on ARM, but I am not sure what needs to be done to compile gem5 on ARM.

Nick Beser


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

Hoa, I just ran the system monitor on my Jetson Orin Nano, and it says I have 8G of RAM. I think I should be in good position to work the problem. Nick From: Hoa Nguyen <hoanguyen@ucdavis.edu> Sent: Friday, March 15, 2024 2:26 PM To: Beser, Nicholas D. <Nick.Beser@jhuapl.edu> Cc: The gem5 Users mailing list <gem5-users@gem5.org> Subject: Re: [EXT] Re: [gem5-users] Build gem5 on non x86 system APL external email warning: Verify sender hoanguyen@ucdavis.edu<mailto:hoanguyen@ucdavis.edu> before clicking links or attachments Hi Nick, You can use the argument like this, scons build/RISCV/gem5.opt –limit-ld-memory-usage -j`nproc` I was able to compile gem5 with docker with 6GiB of RAM, and was not able to do that with 4GiB of RAM. I think you already hint at a better solution, which is to use build the docker image on a different machine, and bundle the gem5 binary to the docker image. Then you can distribute the image to the Jetson. Regards, Hoa Nguyen On Fri, Mar 15, 2024, 06:27 Beser, Nicholas D. <Nick.Beser@jhuapl.edu<mailto:Nick.Beser@jhuapl.edu>> wrote: Hoa, Thank you for your suggestion. The Jetson Orin Nano normally comes with 4Gbyte Ram, so I can see that it could be a problem. Where do you apply the –limit-ld-memory-usage command? Did you attempt to build it with the docker command? I am using the Jetson Orin Nano for GPU and openmpi work, so the docker approach would help isolate the system. I am going to work through the installation procedure and see where it ends up. Nick From: Hoa Nguyen <hoanguyen@ucdavis.edu<mailto:hoanguyen@ucdavis.edu>> Sent: Thursday, March 14, 2024 11:58 PM To: The gem5 Users mailing list <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> Cc: Beser, Nicholas D. <Nick.Beser@jhuapl.edu<mailto:Nick.Beser@jhuapl.edu>> Subject: [EXT] Re: [gem5-users] Build gem5 on non x86 system APL external email warning: Verify sender hoanguyen@ucdavis.edu<mailto:hoanguyen@ucdavis.edu> before clicking links or attachments Hi Nick, I don't think there would be any problem with compiling gem5 on arm (or riscv) architecture on Ubuntu. I've been compiling/using gem5 on an arm system and it works for me. However, please make sure that the system has enough memory to compile gem5. Typically compiling gem5 takes a lot of memory, and you can pass "--limit-ld-memory-usage" to reduce the memory consumption. Regards, Hoa Nguyen On Thu, Mar 14, 2024, 17:44 Beser, Nicholas D. via gem5-users <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> wrote: I have been using gem5 on a number of linux systems such as WSL under windows 10/11, and Oracle VM and native Ubuntu 22.04 on a X86 system. All of the system were X86 based. I have a jetson orin nano which runs Ubuntu 20.04 and is based on the ARM processor. Has anyone ever compiled gem5 on a non-x86 based system? I have access to gcc compilers for x86, arm and mips that run on ARM, but I am not sure what needs to be done to compile gem5 on ARM. Nick Beser _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org> To unsubscribe send an email to gem5-users-leave@gem5.org<mailto:gem5-users-leave@gem5.org>