FWD: [asac@jwsdot.com: Bug#236291: Help needed for hppa Segmentation fault on buildd during configure]
Can someone help look at this?
randolph
----- Forwarded message from Martin Michlmayr <tbm@cyrius.com> -----
Date: Tue, 9 Mar 2004 21:48:00 +0000
From: Martin Michlmayr <tbm@cyrius.com>
To: Randolph Chung <tausq@debian.org>
Subject: [asac@jwsdot.com: Bug#236291: Help needed for hppa Segmentation fault on buildd during configure]
Got some time to look at this?
----- Forwarded message from Alexander Sack <asac@jwsdot.com> -----
From: Alexander Sack <asac@jwsdot.com>
Subject: Bug#236291: Help needed for hppa Segmentation fault on buildd during configure
Date: Tue, 09 Mar 2004 18:06:31 +0100
To: 236291@bugs.debian.org, control@bugs.debian.org
User-Agent: Mozilla Thunderbird 0.5 (X11/20040227)
X-Debian-PR-Package: mozilla-thunderbird
X-Accept-Language: en-us, en
tags 236291 + help
thanks
Hi,
I currently need some help, because I have no access to hppa. Somehow the
configure segfaults on the buildd on hppa.
[ out of
http://buildd.debian.org/fetch.php?&pkg=mozilla-thunderbird&ver=0.5-4&arch=hppa&stamp=1078662314&file=log&as=raw]
>>>
checking whether ld has archive extraction flags... yes
checking for ANSI C header files... yes
checking for working const... ./configure: line 10278: 5022 Segmentation
fault ( eval $ac_compile ) 2>&5
no
checking for mode_t... yes
<<<
Anyone willing to help, please contact me! I can give some further
informations and support.
Maybe just a recompile with a different compiler will do it.
Thanks for any help.
Here the the apparent place where the seg fault appears to happen:
cat > conftest.$ac_ext <<EOF
#line 5977 "configure"
#include "confdefs.h"
int main() {
/* Ultrix mips cc rejects this. */
typedef int charset[2]; const charset x;
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;
/* NEC SVR4.0.2 mips cc rejects this. */
struct point {int x, y;};
static struct point const zero = {0,0};
/* AIX XL C 1.02.0.0 rejects this.
It does not let you subtract one const X* pointer from another in an arm
of an if-expression whose if-part is not a constant expression */
const char *g = "string";
ccp = &g + (g ? g-g : 0);
/* HPUX 7.0 cc rejects these. */
++ccp;
p = (char**) ccp;
ccp = (char const *const *) p;
{ /* SCO 3.2v4 cc rejects this. */
char *t;
char const *s = 0 ? (char *) 0 : (char const *) 0;
*t++ = 0;
}
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
int x[] = {25, 17};
const int *foo = &x[0];
++foo;
}
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
typedef const int *iptr;
iptr p = 0;
++p;
}
{ /* AIX XL C 1.02.0.0 rejects this saying
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
struct s { int j; const int *ap[3]; };
struct s *b; b->j = 5;
}
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
const int foo = 10;
}
; return 0; }
EOF
if { (eval echo configure:6026: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
^^
thats where it
appears to
segfault
--
PGP messages preferred. | .''`. ** Debian GNU/Linux **
Alexander Sack | : :' : The universal
asac@jwsdot.com | `. `' Operating System
http://www.jwsdot.com/ | `- http://www.debian.org/
--
To UNSUBSCRIBE, email to debian-bugs-dist-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
----- End forwarded message -----
--
Martin Michlmayr
tbm@cyrius.com
----- End forwarded message -----
Reply to: