Pandaboard is ARM Cortex A9 based.
Joshi, Vikas wrote:
> Pandaboard is ARM Cortex A9 based.
>
>
>
> ------------------------------------------------------------------------
>
> *From:* panda...@googlegroups.com [mailto:panda...@googlegroups.com]
> *On Behalf Of *syazatul maryam azhar
> *Sent:* Monday, February 07, 2011 2:27 PM
> *To:* panda...@googlegroups.com
> *Subject:* [pandaboard] Cross Compile Valgrind on ARMv7 Error
>
>
>
> Hi,
>
> I'm getting this error while trying to cross compile valgrind for
> PandaBoard (armv7 architecture).
>
> m_debuglog.c: In function �add_to_buf�:
> m_debuglog.c:242: error: unknown register name �r7� in �asm�
> m_debuglog.c:242: error: unknown register name �r2� in �asm�
> m_debuglog.c:242: error: unknown register name �r1� in �asm�
> m_debuglog.c:242: error: unknown register name �r0� in �asm�
> m_debuglog.c: In function �vgPlain_debugLog�:
> m_debuglog.c:261: error: unknown register name �r7� in �asm�
> m_debuglog.c:261: error: unknown register name �r0� in �asm�
> m_debuglog.c:242: error: unknown register name �r7� in �asm�
> m_debuglog.c:242: error: unknown register name �r2� in �asm�
> m_debuglog.c:242: error: unknown register name �r1� in �asm�
> m_debuglog.c:242: error: unknown register name �r0� in �asm�
I was thinking of pulling the code and compiling to see if the errors can be replicated.
Vikas
________________________________________
From: panda...@googlegroups.com [panda...@googlegroups.com] On Behalf Of Gordan Bobic [gor...@bobich.net]
Sent: Monday, February 07, 2011 6:01 AM
To: panda...@googlegroups.com
Subject: Re: [pandaboard] Cross Compile Valgrind on ARMv7 Error
Isn't Cortex A9 an ARMv7 architecture processor?
Joshi, Vikas wrote:
> Pandaboard is ARM Cortex A9 based.
>
>
>
> ------------------------------------------------------------------------
>
> *From:* panda...@googlegroups.com [mailto:panda...@googlegroups.com]
> *On Behalf Of *syazatul maryam azhar
> *Sent:* Monday, February 07, 2011 2:27 PM
> *To:* panda...@googlegroups.com
> *Subject:* [pandaboard] Cross Compile Valgrind on ARMv7 Error
>
>
>
> Hi,
>
> I'm getting this error while trying to cross compile valgrind for
> PandaBoard (armv7 architecture).
>
> m_debuglog.c: In function ‘add_to_buf’:
> m_debuglog.c:242: error: unknown register name ‘r7’ in ‘asm’
> m_debuglog.c:242: error: unknown register name ‘r2’ in ‘asm’
> m_debuglog.c:242: error: unknown register name ‘r1’ in ‘asm’
> m_debuglog.c:242: error: unknown register name ‘r0’ in ‘asm’
> m_debuglog.c: In function ‘vgPlain_debugLog’:
> m_debuglog.c:261: error: unknown register name ‘r7’ in ‘asm’
> m_debuglog.c:261: error: unknown register name ‘r0’ in ‘asm’
> m_debuglog.c:242: error: unknown register name ‘r7’ in ‘asm’
> m_debuglog.c:242: error: unknown register name ‘r2’ in ‘asm’
> m_debuglog.c:242: error: unknown register name ‘r1’ in ‘asm’
> m_debuglog.c:242: error: unknown register name ‘r0’ in ‘asm’
Isn't Cortex A9 an ARMv7 architecture processor?
Joshi, Vikas wrote:
Pandaboard is ARM Cortex A9 based.
------------------------------------------------------------------------
*From:* panda...@googlegroups.com [mailto:panda...@googlegroups.com] *On Behalf Of *syazatul maryam azhar
*Sent:* Monday, February 07, 2011 2:27 PM
*To:* panda...@googlegroups.com
*Subject:* [pandaboard] Cross Compile Valgrind on ARMv7 Error
Hi,
I'm getting this error while trying to cross compile valgrind for PandaBoard (armv7 architecture).
m_debuglog.c: In function ‘add_to_buf’:
m_debuglog.c:242: error: unknown register name ‘r7’ in ‘asm’
m_debuglog.c:242: error: unknown register name ‘r2’ in ‘asm’
m_debuglog.c:242: error: unknown register name ‘r1’ in ‘asm’
m_debuglog.c:242: error: unknown register name ‘r0’ in ‘asm’
m_debuglog.c: In function ‘vgPlain_debugLog’:
m_debuglog.c:261: error: unknown register name ‘r7’ in ‘asm’
m_debuglog.c:261: error: unknown register name ‘r0’ in ‘asm’
m_debuglog.c:242: error: unknown register name ‘r7’ in ‘asm’
m_debuglog.c:242: error: unknown register name ‘r2’ in ‘asm’
m_debuglog.c:242: error: unknown register name ‘r1’ in ‘asm’
m_debuglog.c:242: error: unknown register name ‘r0’ in ‘asm’
This is my configure options:
./configure --prefix=/opt/valgrind --host=armv7-none-linux-
gnueabi --target=arm-none-linux-gnueabi
It failed in the make process. Does anyone have some ideas about these errors? Thanks a lot.
Regards,
Fairuz
Hi again,
I look up the Makefile generated by configure and found that the value of CC is gcc and not arm-none-linux-gnueabi-gcc. Is this normal?