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 E09762FBAA for ; Tue, 6 Feb 2001 08:58:05 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f16DwEn20226 for axp-list@listman.redhat.com; Tue, 6 Feb 2001 08:58:14 -0500 Received: from mail.gmd.de (mail.gmd.de [129.26.8.90]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f16DwDd20220 for ; Tue, 6 Feb 2001 08:58:14 -0500 Received: from twister.gmd.de (twister [129.26.8.91]) by mail.gmd.de (8.9.3/8.9.3) with ESMTP id OAA09809 for ; Tue, 6 Feb 2001 14:58:01 +0100 (MET) Received: (from wittig@localhost) by twister.gmd.de (8.8.7/8.8.7) id OAA19867 for axp-list@redhat.com; Tue, 6 Feb 2001 14:58:01 +0100 (MET) Date: Tue, 6 Feb 2001 14:58:01 +0100 From: Georg Wittig To: axp-list@redhat.com Subject: gcc-2.96 problem under rh70 Message-ID: <20010206145801.A3282@twister.gmd.de> Mail-Followup-To: axp-list@redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors The following program doesn't compile with gcc-2.96: --------------------------------- #include #include demo(int dummy1, ...){ va_list dummy2; va_start(dummy2, dummy1); } --------------------------------- /usr/lib/gcc-lib/alpha-redhat-linux/2.96/include/varargs.h:66:17: warning: "va_start" redefined /usr/lib/gcc-lib/alpha-redhat-linux/2.96/include/stdarg.h:54:1: warning: this is the location of the previous definition test.c:6:26: too many arguments for macro "va_start" --------------------------------- Of course, this isn't a real program, but an excerpt from a bigger program to nail down the problem. That program used to compile and work under RH >= 4.2 on all the Alphas, but no longer under RH70. $ rpm -qa | grep gcc gcc-c++-2.96-69 gcc-2.96-69 $ uname -r 2.2.17-4 $ grep platform /proc/cpuinfo platform string : COMPAQ Professional Workstation XP1000 $ cat /etc/redhat-release Red Hat Linux release 7.0 (Guinness) $ Suggestions how to work-around that problem until the bug is fixed are welcome. Thanks in advance for your help. -- Georg Wittig, GMD Georg.Wittig@gmd.de - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A lot of time has been wasted arguing over what came first -- the chicken or the egg. It was undoubtedly the rooster.