From owner-freebsd-alpha Tue Jul 16 13:20:55 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B120A37B400 for ; Tue, 16 Jul 2002 13:20:53 -0700 (PDT) Received: from lyra.enemy.org (lyra.enemy.org [62.116.11.42]) by mx1.FreeBSD.org (Postfix) with SMTP id 96B6F43E31 for ; Tue, 16 Jul 2002 13:20:52 -0700 (PDT) (envelope-from cjm@satanii.enemy.org) Received: (qmail 24316 invoked from network); 16 Jul 2002 20:21:50 -0000 Received: from unknown (HELO satanii.enemy.org) (62.116.11.3) by lyra.enemy.org with SMTP; 16 Jul 2002 20:21:50 -0000 Received: from satanii.enemy.org (localhost [127.0.0.1]) by satanii.enemy.org (8.12.3/8.12.3) with ESMTP id g6GKL5vt026115; Tue, 16 Jul 2002 22:21:06 +0200 (CEST) (envelope-from cjm@satanii.enemy.org) Message-Id: <200207162021.g6GKL5vt026115@satanii.enemy.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: freebsd-alpha@FreeBSD.ORG Cc: Jan Lentfer Subject: Re: gftp core dumps for floating point exception In-reply-to: Jan.Lentfer's message of Tue, 16 Jul 2002 21:29:39 +0200. <20020716212939.4694066d.Jan.Lentfer@web.de> X-Sig1: This Message is MIME-less... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 16 Jul 2002 22:21:05 +0200 From: "Chris J. Mutter" Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, > I think this is an Alpha related issue and maybe someone can try to reproduce it: > > ftp/gftp build fine but when you start it up, the window opens very shortly a nd then the program quits with: > > bash-2.05a$ gftp > Floating point exception (core dumped) > > I tried to compile with system-gcc and gcc3.1 with -O and with -O0, all the s ame. compiled it with the 4.6R-p1 gcc (gcc version 2.95.3 20010315 (release) [FreeBSD]): Floating exception(coredump) it even doesnt compile with the compaq-cc. it gives an compile error when it reaches gftp-text.h line 41: void gftp_text_log ( gftp_logging_level level, void *ptr, const char *string, ... ) __attribute__((format(printf, 3, 4))); the compaq-cc expects a ``;'' after the ...) could someone with c-skills please explain me that line? looks weird with the `...'). it at lease looks ugly. there are also some pointer-mismatches the compiler i.e. says: In this statement, the referenced type of the pointer value "&data_addr_len" is "unsigned long", which is not compatible with "unsigned int". (ptrmismatch) regards, cjm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message