Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2002 11:28:48 +0200
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        current@FreeBSD.org
Subject:   cc1 crashes with SIGBUS while building XFree86-Server-4.2.0_2
Message-ID:  <20020430112848.C229@v-ger.we.lc.ehu.es>

next in thread | raw e-mail | index | archive | help
I am getting this error while building XFree86-Server-4.2.0_2 on a
recently updated -CURRENT (Mon Apr 29 10:55:43 GMT):

LD_LIBRARY_PATH=3D../../../../../../exports/lib cc -c -O -pipe    -ansi -pe=
dantic -Dasm=3D__asm -Wall -Wpointer-arith   -I../../../../../../exports/in=
clude/X11 -I../../../../../../include/extensions -I../../../../../../extras=
/Mesa/src -I../../../../../../lib/GL/mesa/src/drv/common           -I../../=
../../../../lib/GL/mesa/src/drv/i810 -I../../../../../../lib/GL/dri -I../..=
/../../../../lib/GL/glx -I../../../../../../exports/include -I../../../../.=
./../exports/include/GL              -I../../../../../../lib/GL/mesa/dri   =
          -I../../../../../../programs/Xserver/GL/dri             -I../../.=
./../../../programs/Xserver/hw/xfree86/os-support              -I../../../.=
./../../programs/Xserver/hw/xfree86/drivers/i810            -I../../../../.=
./../lib/GL/dri/drm  -I../../../../../.. -I../../../../../../exports/includ=
e   -DCSRG_BASED  -DFUNCPROTO=3D15 -DNARROWPROTO -DXTHREADS   -DXUSE_MTSAFE=
_API -DXNO_MTSAFE_PWDAPI    -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI -DGL=
X_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -DUSE_X86_ASM -DUSE_MMX_=
ASM      -ansi -pedantic -Dasm=3D__asm -Wall -Wpointer-arith  -I../../../..=
/../../exports/include/X11 -I../../../../../../include/extensions -I../../.=
./../../../extras/Mesa/src -I../../../../../../lib/GL/mesa/src/drv/common -=
I../../../../../../lib/GL/mesa/src/drv/i810 -I../../../../../../lib/GL/dri =
-I../../../../../../lib/GL/glx              -I../../../../../../exports/inc=
lude -I../../../../../../exports/include/GL              -I../../../../../.=
./lib/GL/mesa/dri             -I../../../../../../programs/Xserver/GL/dri -=
I../../../../../../programs/Xserver/hw/xfree86/os-support              -I..=
/../../../../../programs/Xserver/hw/xfree86/drivers/i810            -I../..=
/../../../../lib/GL/dri/drm  -I../../../../../.. -I../../../../../../export=
s/include   -DCSRG_BASED  -DFUNCPROTO=3D15 -DNARROWPROTO -DXTHREADS   -DXUS=
E_MTSAFE_API -DXNO_MTSAFE_PWDAPI    -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86=
DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -DUSE_X86_ASM -D=
USE_MMX_ASM       -fPIC i810tris.c
In file included from /usr/include/pthread.h:43,
                 from ../../../../../../exports/include/X11/Xthreads.h:199,
                 from ../../../../../../extras/Mesa/src/glthread.h:176,
                 from ../../../../../../extras/Mesa/src/types.h:36,
                 from i810tris.c:30:
/usr/include/sys/time.h: In function `timespec2bintime':
/usr/include/sys/time.h:154: warning: ANSI C forbids long long integer cons=
tants
/usr/include/sys/time.h: In function `timeval2bintime':
/usr/include/sys/time.h:172: warning: ANSI C forbids long long integer cons=
tants
cpp0: cc: output pipe has been closedInternal compiler error: program cc1 g=
ot fatal signal 10

This cc1 SIGBUS is triggered by different source files at different times.
But it happens while building XFree86-Server sooner or later, and always
with SIGBUS.

I did not have problems building the rest of the XFree86-4 ports, or
making the world, neither.

I commented out "CFLAGS" (and also CPUTYPE) from /etc/make.conf, but it
seems that the XFree86 build system uses "-O -pipe" anyway.

Any ideas?

Cheers,
JMA
--=20
****** Jose M. Alcaide  //  jose@we.lc.ehu.es  //  jmas@FreeBSD.org ******
** "Beware of Programmers who carry screwdrivers" --  Leonard Brandwein **

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020430112848.C229>