Re: Arithmetic Error on Sun Solaris GCC compiled program
From: Tom Harrington (tph_at_pcisys.no.spam.dammit.net)
Date: 08/30/04
- Previous message: Rich Teer: "Re: Arithmetic Error on Sun Solaris GCC compiled program"
- In reply to: Verne Arase: "Arithmetic Error on Sun Solaris GCC compiled program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 29 Aug 2004 22:05:45 -0600
In article <0001HW.BD567B5100277E64F00805B0@news.usenetserver.com>,
Verne Arase <VerneA@pobox.com> wrote:
> Everything runs fine on MacOS X 10.3.5, but when I attempt to port the
> code to a Solaris 5.8 system with GCC 2.95.2 and run, I get:
>
> chkdhcp v1.0a1 begin execution
>
>
> Processing begun on file "/etc/dhcpd.conf"
>
> Arithmetic Exception(coredump)
>
> ... which isn't terribly helpful.
That's why gcc always has gdb nearby. Running the tool under gdb will
probably prove useful. I'd guess it's something like a calculation
returning "inf" or "NaN", that ends up getting handled differently, but
gdb should clear it right up.
-- Tom "Tom" Harrington Macaroni, Automated System Maintenance for Mac OS X. Version 2.0: Delocalize, Repair Permissions, lots more. See http://www.atomicbird.com/
- Previous message: Rich Teer: "Re: Arithmetic Error on Sun Solaris GCC compiled program"
- In reply to: Verne Arase: "Arithmetic Error on Sun Solaris GCC compiled program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|