From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id B83FD2F07E for ; Fri, 18 May 2001 14:35:54 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f4IIXOb09095 for axp-list@listman.redhat.com; Fri, 18 May 2001 14:33:24 -0400 Received: from c1.solidsolutions.com (dsl027-159-034.nyc1.dsl.speakeasy.net [216.27.159.34] (may be forged)) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f4IIXLb09091 for ; Fri, 18 May 2001 14:33:22 -0400 Received: from DFDIS30 (dfdis9.dfdis.com [206.31.218.115]) by c1.solidsolutions.com (8.9.3/8.9.3) with SMTP id NAA30473 for ; Fri, 18 May 2001 13:29:21 -0400 Message-ID: <005001c0dfca$0c827d00$8119fea9@fs1.internal.interscopetech.net> From: "Frank Palmieri" To: Subject: Profiling with ccc - bad symbols Date: Fri, 18 May 2001 14:40:34 -0400 Organization: InterScope Technologies, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com X-Reply-To: "Frank Palmieri" List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: I have a program doing JPEG compression using libjpeg that I am trying to profile. The program is a mix of C & C++ with the best performance if I compile the C portions with ccc (the Compaq C compiler) and the C++ portion with g++ (GNU C++ compiler). The problem I'm having is that the times in the profiling with gprof are attributed to the wrong symbols. I'm using floating point DCT in JPEG and routines that are only executed in the integer DCT are being attributed. Everything works fine if I use all gnu tools. The problem only occurs with ccc. The symbols from cxx appear fine as long as I use the --style=compaq with gprof. Current versions: RedHat Linux 6.1 for Alpha gcc/g++ egcs-2.91.66 ccc 6.2.9.504-2 cxx 6.3.9.5 gprof 2.9.1 What compiler flags should be used with ccc to get it to generate gnu compatible symbols? I need this with optimization on. We are currently compiling ccc with: -g2 -fast -ev67 -O3 -speculate all -non_shared -lsys5 +GemFB The documentation I can find doesn't really talk about profiling on the Linux platform. It is mostly recycled Digital UNIX documentation. Thanks, Frank Palmieri InterScope Technologies, Inc. 5001 Baum Blvd, Suite 434 Pittsburgh, PA 15213-1851 frank@interscopetech.com http://www.interscopetech.com 412-802-7176 Fax: 412-802-7179