[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: m4 1.4.11 test failures
From: |
Bruno Haible |
Subject: |
Re: m4 1.4.11 test failures |
Date: |
Sun, 13 Apr 2008 12:50:12 +0200 |
User-agent: |
KMail/1.5.4 |
Elbert Pol wrote:
> I attach the logs :P
Thanks, this is helpful again.
> test-binary-io.c: In function `main':
> test-binary-io.c:62: warning: implicit declaration of function `setmode'
Fixing this warning through the patch below.
> Killed by SIGFPE
> FAIL: test-frexp.exe
>
> Killed by SIGFPE
> FAIL: test-frexpl.exe
>
> Killed by SIGFPE
> FAIL: test-printf-frexp.exe
>
> Killed by SIGFPE
> FAIL: test-printf-frexpl.exe
For these, it would be useful to get the line number and stack trace of the
crash; you can get it by using gdb.
(gdb) run
(gdb) where
> Killed by SIGFPE
> FAIL: test-signbit.exe
For this one, additionally the instruction of the crash would be interesting.
(gdb) run
(gdb) where
(gdb) x/10i $eip
(gdb) info registers
(gdb) info float
Bruno
2008-04-12 Bruno Haible <address@hidden>
* lib/binary-io.h [__EMX__]: Include <io.h>.
*** lib/binary-io.h.orig 2008-04-13 12:39:26.000000000 +0200
--- lib/binary-io.h 2008-04-13 12:38:15.000000000 +0200
***************
*** 1,5 ****
/* Binary mode I/O.
! Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
--- 1,5 ----
/* Binary mode I/O.
! Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
***************
*** 36,49 ****
# undef O_TEXT
#endif
#if O_BINARY
! # if !(defined __EMX__ || defined __DJGPP__ || defined __CYGWIN__)
# define setmode _setmode
# undef fileno
# define fileno _fileno
# endif
- # if defined __DJGPP__ || defined __CYGWIN__
- # include <io.h> /* declares setmode() */
- # endif
# ifdef __DJGPP__
# include <unistd.h> /* declares isatty() */
# /* Avoid putting stdin/stdout in binary mode if it is connected to the
--- 36,48 ----
# undef O_TEXT
#endif
#if O_BINARY
! # if defined __EMX__ || defined __DJGPP__ || defined __CYGWIN__
! # include <io.h> /* declares setmode() */
! # else
# define setmode _setmode
# undef fileno
# define fileno _fileno
# endif
# ifdef __DJGPP__
# include <unistd.h> /* declares isatty() */
# /* Avoid putting stdin/stdout in binary mode if it is connected to the
- Re: m4 1.4.11 test failures, Eric Blake, 2008/04/10
- Re: m4 1.4.11 test failures,
Bruno Haible <=
- os2, Elbert Pol, 2008/04/15
- Re: os2, Eric Blake, 2008/04/15
- Re: os2, Bruno Haible, 2008/04/15
- Re: os2, Elbert Pol, 2008/04/16
- Re: os2, Bruno Haible, 2008/04/16
- Re: os2, Elbert Pol, 2008/04/17