Thanks Fernando. The thing is that I built gcc 4.8 for Alpha and compiled
binaries for alpha work with qemu. But fail to work with gem5. So, I was
wondering about possible reasons ?


-Ayaz

On Sat, Jul 16, 2016 at 12:03 PM, Fernando Endo <fernando.en...@gmail.com>
wrote:

> Hello,
>
> I assume that the Alpha support in gcc was droped a long time ago, so
> backporting it to a very recent gcc may not work.
>
> Regards,
>
> --
> Fernando A. Endo, Post-doc
>
> INRIA Rennes-Bretagne Atlantique
> France
>
>
> 2016-07-12 23:09 GMT+02:00 Ayaz Akram <aaq...@gmail.com>:
>
>> Thanks, Andreas. Actually I needed to test something specifically for
>> Alpha.
>>
>>
>>
>> On Tue, Jul 12, 2016 at 5:05 PM, Andreas Hansson <andreas.hans...@arm.com
>> > wrote:
>>
>>> Hi Ayaz,
>>>
>>> Unless there is a very specific need to run Alpha, as a user you’re
>>> better off using ARM or X86: better gem5 support, up-to-date kernels,
>>> latest tool chains, Android support etc.
>>>
>>> Andreas
>>>
>>> From: gem5-users <gem5-users-boun...@gem5.org> on behalf of Ayaz Akram <
>>> aaq...@gmail.com>
>>> Reply-To: gem5 users mailing list <gem5-users@gem5.org>
>>> Date: Tuesday, 12 July 2016 at 21:58
>>> To: gem5 users mailing list <gem5-users@gem5.org>
>>> Subject: [gem5-users] Gcc 4.8.5 for Alpha
>>>
>>> Hi All,
>>>
>>> I recently built an alpha cross compiler using crosstool-ng (version
>>> 1.22). The built cross compiler version is gcc 4.8.5 with linux kernel 3.18
>>> headers. The problem is that the generated binaries with this cross
>>> compiler fail to run on gem5 (fault is raised saying "tried to access
>>> unmapped address") in SE mode. The binaries generated with alpha cross
>>> compiler on gem5's website work fine. I have also changed the uname related
>>> syscall implementation in gem5 for alpha (to return correct kernel release
>>> no.).
>>>
>>> Actually I get "no .eh_frame_hdr table will be created" error from
>>> compiler when I compile alpha programs. But, according to my understanding
>>> this should not effect the functionality of binaries. Also, the compiled
>>> binaries work fine with qemu-alpha.
>>>
>>> I wonder if someone has successfully used recent gcc version for alpha
>>> with gem5?
>>>
>>> I will appreciate your time !
>>> Thanks
>>>
>>> --
>>> Ayaz
>>> IMPORTANT NOTICE: The contents of this email and any attachments are
>>> confidential and may also be privileged. If you are not the intended
>>> recipient, please notify the sender immediately and do not disclose the
>>> contents to any other person, use it for any purpose, or store or copy the
>>> information in any medium. Thank you.
>>>
>>> _______________________________________________
>>> gem5-users mailing list
>>> gem5-users@gem5.org
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to