From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6961 invoked by alias); 20 Sep 2011 05:14:21 -0000 Received: (qmail 6947 invoked by uid 22791); 20 Sep 2011 05:14:19 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-vw0-f49.google.com (HELO mail-vw0-f49.google.com) (209.85.212.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Sep 2011 05:14:05 +0000 Received: by vws8 with SMTP id 8so248442vws.22 for ; Mon, 19 Sep 2011 22:14:04 -0700 (PDT) Received: by 10.220.172.7 with SMTP id j7mr72095vcz.246.1316495644354; Mon, 19 Sep 2011 22:14:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.176.140 with HTTP; Mon, 19 Sep 2011 22:13:43 -0700 (PDT) From: Harry Trinta Date: Tue, 20 Sep 2011 05:14:00 -0000 Message-ID: Subject: Error in Gcov for ARM To: gcc-help Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-09/txt/msg00159.txt.bz2 Dear, I am having a problem when compiling a program with options -ftest-coverage and -fprofile-arcs to run on an embedded system with ARM processor. I'm using a GCC cross-compiler (arm-elf) to compile the program. The errors is as follows: - undefined reference to `__gcov_merge_add' - undefined reference to `__gcov_init' is there any restriction on the use of these parameters for this type of processor? Thanks