tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] SegFault with configure of projects


From: Jens Arm
Subject: [Tinycc-devel] SegFault with configure of projects
Date: Fri, 24 Oct 2003 15:07:17 +0200

Hi

I get SegFaults if I use tcc in configure. First I do a "export CC=tcc". Now If 
I run configure, in this example from dillo,
tcc is SegFaulting (for zlib/jpeg/png):

....
configure:3934: checking for zlib.h
configure:3941: result: yes
configure:3947: checking for zlibVersion in -lz
configure:3978: tcc -o conftest -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include -g   conftest.c -lz   
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 
-lm >&5
./configure: line 1: 23302 Segmentation fault      $CC -o conftest$ac_exeext 
$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5
configure:3981: $? = 139
configure: failed program was:
| #line 3954 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "dillo"
| #define VERSION "0.7.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char zlibVersion ();
| int
| main ()
| {
| zlibVersion ();
|   ;
|   return 0;
| }
configure:3999: result: no
......


Jens





reply via email to

[Prev in Thread] Current Thread [Next in Thread]