Are you building valgrind on ARM-based machine?
I am building on x86 and my configure options are:
--prefix=/usr/local/bin/valgrind \
--host=armv7-unknown-linux-gnu \
CC=/opt/arm_v7_vfp_le_tegra/bin/arm-cortex_a9_selp-linux-gnueabi-gcc \
AR=/opt/arm_v7_vfp_le_tegra/bin/arm-cortex_a9_selp-linux-gnueabi-ar

Hi All,

The option --host=armv7-unknown-linux-gnu works and configure was successful. After configure I got the following message

Maximum build arch: arm

Primary build arch: arm

Secondary build arch:

Build OS: linux

Primary build target: ARM_LINUX

Secondary build target:

*But while doing make I got the compilation error as *

*cc1: error: unrecognized command line option "-marm"*

*make[3]: *** [libvex_arm_linux_a-main_globals.o] Error 1*

**

I think there are some more options which I must give while configuring Valgrind for ARM. Currently I am using the following command to configure

*./**configure --prefix=/path/to/install --build=arm-linux --host=****armv7-unknown-linux-gnu --target=armv7*

Is anyone aware of this problem?

Thanks Sergey for your valuable suggestion.

Regards,

Santhosh

------------------------------------------------------------------------

*From:*Sergey Grekhov [mailto:[email protected]]
*Sent:* Tuesday, November 09, 2010 4:31 PM
*To:* Santhosh Kumar Janardhanam
*Cc:* [email protected]
*Subject:* Re: [Valgrind-users] help needed to use valgrind in ARM

Try the following option:
--host=armv7-unknown-linux-gnu



Hi All,

I have downloaded the latest release of valgrind (valgrind-3.6.0.tar.bz2) and trying to build it for ARM processor. The build fails while configuring. I used the following command for configuring.

*./configure --prefix=/path/to/install --build=arm-linux  --host=arm*

It fails with the following error message.

*configure: error: Unsupported host architecture. Sorry*

**

I am using arm-linux-gcc cross compiler from code sourcery. I have also exported the path where to find the cross compiler toolchain

Can anyone guide me how to install & use valgrind for ARM Processors?

Thanks and Regards,

Santhosh

-
--
Kind regards,
Sergey Grekhov.

------------------------------------------------------------------------
SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.
Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html


------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev


_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users


--
--
Kind regards,
Sergey Grekhov.

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to