Package: cmake
Version: 2.6-patch 0 

I started to compile the original libmysqlclient from mysql.com. 
The BUILD.unix suggest the following command:
        $ cmake -G "Unix Makefiles" 
CMake performs a lot of tests and then then it died with a segmentation fault. 
(Every time the same thing, exact at the same position)

I'm using Debian 5.0.4, today with apt-get updated,  64bit, kernel 
2.6.26-2-amd64, libc-2.7.so

With the self-compiled CMake 2.8.0 everything works fine.
Source: http://www.cmake.org/files/v2.8/cmake-2.8.0.tar.gz

=== here is my gdb output ===
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f03a9018710 (LWP 430)]
0x00000030056a44e1 in std::string::compare () from /usr/lib/libstdc++.so.6
(gdb) bt
#0  0x00000030056a44e1 in std::string::compare () from /usr/lib/libstdc++.so.6
#1  0x00000000004f369a in cmSetSourceFilesPropertiesCommand::InitialPass ()
#2  0x000000000052369e in cmCommand::InvokeInitialPass ()
#3  0x000000000048f5cc in cmMakefile::ExecuteCommand ()
#4  0x000000000048fe87 in cmMakefile::ReadListFile ()
#5  0x0000000000590383 in cmLocalGenerator::Configure ()
#6  0x000000000059c077 in cmLocalUnixMakefileGenerator3::Configure ()
#7  0x000000000048af06 in cmMakefile::ConfigureSubDirectory ()
#8  0x000000000048b1aa in cmMakefile::AddSubDirectory ()
#9  0x0000000000501cd8 in cmAddSubDirectoryCommand::InitialPass ()
#10 0x000000000052369e in cmCommand::InvokeInitialPass ()
#11 0x000000000048f5cc in cmMakefile::ExecuteCommand ()
#12 0x0000000000514a23 in cmIfFunctionBlocker::IsFunctionBlocked ()
#13 0x0000000000481f9e in cmMakefile::IsFunctionBlocked ()
#14 0x000000000048f44b in cmMakefile::ExecuteCommand ()
#15 0x0000000000514a23 in cmIfFunctionBlocker::IsFunctionBlocked ()
#16 0x0000000000481f9e in cmMakefile::IsFunctionBlocked ()
#17 0x000000000048f44b in cmMakefile::ExecuteCommand ()
#18 0x000000000048fe87 in cmMakefile::ReadListFile ()
#19 0x0000000000590383 in cmLocalGenerator::Configure ()
#20 0x000000000059c077 in cmLocalUnixMakefileGenerator3::Configure ()
#21 0x000000000057044f in cmGlobalGenerator::Configure ()
#22 0x00000000004dbc33 in cmake::ActualConfigure ()
#23 0x00000000004dc144 in cmake::Configure ()
#24 0x00000000004dcc2e in cmake::Run ()
#25 0x0000000000469fca in do_cmake ()
#26 0x000000000046ac5c in main ()
=== end gdb output ===

I think thats not a problem of libmysqlclient, but if you want the info, i've 
used this sourcecode
http://ftp.gwdg.de/pub/misc/mysql/Downloads/Connector-C/mysql-connector-c-6.0.2.tar.gz

=== here the full output ===
ha...@storm:/storage/home/hauke/development/pwaf/src/mysql$ gdb cmake
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(no debugging symbols found)
(gdb) set args -G "Unix Makefiles"
(gdb) run
Starting program: /usr/bin/cmake -G "Unix Makefiles"
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include files HAVE_ALLOCA_H
-- Looking for include files HAVE_ALLOCA_H - found
-- Looking for include files HAVE_ARPA_INET_H
-- Looking for include files HAVE_ARPA_INET_H - found
-- Looking for include files HAVE_CRYPT_H
-- Looking for include files HAVE_CRYPT_H - found
-- Looking for include files HAVE_DIRENT_H
-- Looking for include files HAVE_DIRENT_H - found
-- Looking for include files HAVE_EXECINFO_H
-- Looking for include files HAVE_EXECINFO_H - found
-- Looking for include files HAVE_FCNTL_H
-- Looking for include files HAVE_FCNTL_H - found
-- Looking for include files HAVE_FENV_H
-- Looking for include files HAVE_FENV_H - found
-- Looking for include files HAVE_FLOAT_H
-- Looking for include files HAVE_FLOAT_H - found
-- Looking for include files HAVE_FPU_CONTROL_H
-- Looking for include files HAVE_FPU_CONTROL_H - not found.
-- Looking for include files HAVE_GRP_H
-- Looking for include files HAVE_GRP_H - found
-- Looking for include files HAVE_IEEEFP_H
-- Looking for include files HAVE_IEEEFP_H - not found.
-- Looking for include files HAVE_LIMITS_H
-- Looking for include files HAVE_LIMITS_H - found
-- Looking for include files HAVE_MALLOC_H
-- Looking for include files HAVE_MALLOC_H - found
-- Looking for include files HAVE_MEMORY_H
-- Looking for include files HAVE_MEMORY_H - found
-- Looking for include files HAVE_NETINET_IN_H
-- Looking for include files HAVE_NETINET_IN_H - found
-- Looking for include files HAVE_PATHS_H
-- Looking for include files HAVE_PATHS_H - found
-- Looking for include files HAVE_PWD_H
-- Looking for include files HAVE_PWD_H - found
-- Looking for include files HAVE_SCHED_H
-- Looking for include files HAVE_SCHED_H - found
-- Looking for include files HAVE_SELECT_H
-- Looking for include files HAVE_SELECT_H - not found.
-- Looking for include files HAVE_STDDEF_H
-- Looking for include files HAVE_STDDEF_H - found
-- Looking for include files HAVE_STDINT_H
-- Looking for include files HAVE_STDINT_H - found
-- Looking for include files HAVE_STDLIB_H
-- Looking for include files HAVE_STDLIB_H - found
-- Looking for include files HAVE_STRINGS_H
-- Looking for include files HAVE_STRINGS_H - found
-- Looking for include files HAVE_STRING_H
-- Looking for include files HAVE_STRING_H - found
-- Looking for include files HAVE_SYNCH_H
-- Looking for include files HAVE_SYNCH_H - not found.
-- Looking for include files HAVE_SYSENT_H
-- Looking for include files HAVE_SYSENT_H - not found.
-- Looking for include files HAVE_SYS_FPU_H
-- Looking for include files HAVE_SYS_FPU_H - not found.
-- Looking for include files HAVE_SYS_IOCTL_H
-- Looking for include files HAVE_SYS_IOCTL_H - found
-- Looking for include files HAVE_SYS_IPC_H
-- Looking for include files HAVE_SYS_IPC_H - found
-- Looking for include files HAVE_SYS_MMAN_H
-- Looking for include files HAVE_SYS_MMAN_H - found
-- Looking for include files HAVE_SYS_PRCTL_H
-- Looking for include files HAVE_SYS_PRCTL_H - found
-- Looking for include files HAVE_SYS_SELECT_H
-- Looking for include files HAVE_SYS_SELECT_H - found
-- Looking for include files HAVE_SYS_SHM_H
-- Looking for include files HAVE_SYS_SHM_H - found
-- Looking for include files HAVE_SYS_SOCKET_H
-- Looking for include files HAVE_SYS_SOCKET_H - found
-- Looking for include files HAVE_SYS_STAT_H
-- Looking for include files HAVE_SYS_STAT_H - found
-- Looking for include files HAVE_SYS_STREAM_H
-- Looking for include files HAVE_SYS_STREAM_H - not found.
-- Looking for include files HAVE_SYS_TIMEB_H
-- Looking for include files HAVE_SYS_TIMEB_H - found
-- Looking for include files HAVE_SYS_TYPES_H
-- Looking for include files HAVE_SYS_TYPES_H - found
-- Looking for include files HAVE_SYS_UN_H
-- Looking for include files HAVE_SYS_UN_H - found
-- Looking for include files HAVE_TERMIOS_H
-- Looking for include files HAVE_TERMIOS_H - found
-- Looking for include files HAVE_TERMIO_H
-- Looking for include files HAVE_TERMIO_H - found
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for include files HAVE_UTIME_H
-- Looking for include files HAVE_UTIME_H - found
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for access
-- Looking for access - found
-- Looking for aiowait
-- Looking for aiowait - not found
-- Looking for alarm
-- Looking for alarm - found
-- Looking for alloca
-- Looking for alloca - not found
-- Looking for bcmp
-- Looking for bcmp - found
-- Looking for bfill
-- Looking for bfill - not found
-- Looking for bmove
-- Looking for bmove - not found
-- Looking for bzero
-- Looking for bzero - found
-- Looking for clock_gettime
-- Looking for clock_gettime - not found
-- Looking for compress
-- Looking for compress - not found
-- Looking for crypt
-- Looking for crypt - not found
-- Looking for dlerror
-- Looking for dlerror - not found
-- Looking for dlopen
-- Looking for dlopen - not found
-- Looking for fchmod
-- Looking for fchmod - found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for fconvert
-- Looking for fconvert - not found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Looking for fesetround
-- Looking for fesetround - not found
-- Looking for finite
-- Looking for finite - found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for fsync
-- Looking for fsync - found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for getcwd
-- Looking for getcwd - found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for gethrtime
-- Looking for gethrtime - not found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for getpass
-- Looking for getpass - found
-- Looking for getpassphrase
-- Looking for getpassphrase - not found
-- Looking for getpwnam
-- Looking for getpwnam - found
-- Looking for getpwuid
-- Looking for getpwuid - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for getwd
-- Looking for getwd - found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for initgroups
-- Looking for initgroups - found
-- Looking for ldiv
-- Looking for ldiv - found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for log2
-- Looking for log2 - not found
-- Looking for longjmp
-- Looking for longjmp - found
-- Looking for lstat
-- Looking for lstat - found
-- Looking for madvise
-- Looking for madvise - found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for memalign
-- Looking for memalign - found
-- Looking for memcpy
-- Looking for memcpy - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for mlock
-- Looking for mlock - found
-- Looking for mlockall
-- Looking for mlockall - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for mmap64
-- Looking for mmap64 - found
-- Looking for perror
-- Looking for perror - found
-- Looking for poll
-- Looking for poll - found
-- Looking for pread
-- Looking for pread - found
-- Looking for pthread_attr_create
-- Looking for pthread_attr_create - not found
-- Looking for pthread_attr_getstacksize
-- Looking for pthread_attr_getstacksize - not found
-- Looking for pthread_attr_setprio
-- Looking for pthread_attr_setprio - not found
-- Looking for pthread_attr_setschedparam
-- Looking for pthread_attr_setschedparam - found
-- Looking for pthread_attr_setscope
-- Looking for pthread_attr_setscope - found
-- Looking for pthread_attr_setstacksize
-- Looking for pthread_attr_setstacksize - not found
-- Looking for pthread_condattr_create
-- Looking for pthread_condattr_create - not found
-- Looking for pthread_init
-- Looking for pthread_init - not found
-- Looking for pthread_key_delete
-- Looking for pthread_key_delete - not found
-- Looking for pthread_kill
-- Looking for pthread_kill - not found
-- Looking for pthread_rwlock_rdlock
-- Looking for pthread_rwlock_rdlock - not found
-- Looking for pthread_setprio_np
-- Looking for pthread_setprio_np - not found
-- Looking for pthread_setschedparam
-- Looking for pthread_setschedparam - found
-- Looking for pthread_sigmask
-- Looking for pthread_sigmask - not found
-- Looking for pthread_threadmask
-- Looking for pthread_threadmask - not found
-- Looking for pthread_yield_np
-- Looking for pthread_yield_np - not found
-- Looking for readdir_r
-- Looking for readdir_r - found
-- Looking for readlink
-- Looking for readlink - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for rename
-- Looking for rename - found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for select
-- Looking for select - found
-- Looking for setfd
-- Looking for setfd - not found
-- Looking for setfilepointer
-- Looking for setfilepointer - not found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for sigthreadmask
-- Looking for sigthreadmask - not found
-- Looking for sigwait
-- Looking for sigwait - found
-- Looking for sleep
-- Looking for sleep - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for stpcpy
-- Looking for stpcpy - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for strnlen
-- Looking for strnlen - found
-- Looking for strpbrk
-- Looking for strpbrk - found
-- Looking for strsep
-- Looking for strsep - found
-- Looking for strstr
-- Looking for strstr - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoul
-- Looking for strtoul - found
-- Looking for strtoull
-- Looking for strtoull - found
-- Looking for tell
-- Looking for tell - not found
-- Looking for thr_setconcurrency
-- Looking for thr_setconcurrency - not found
-- Looking for thr_yield
-- Looking for thr_yield - not found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for sys_errlist
-- Looking for sys_errlist - found
-- Looking for __bss_start
-- Looking for __bss_start - not found.
-- Looking for madvise
-- Looking for madvise - found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Check size of sigset_t
-- Check size of sigset_t - done
-- Check size of char
-- Check size of char - done
-- Check size of char *
-- Check size of char * - done
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of off_t
-- Check size of off_t - done
-- Check size of uchar
-- Check size of uchar - failed
-- Check size of uint
-- Check size of uint - done
-- Check size of ulong
-- Check size of ulong - done
-- Check size of int8
-- Check size of int8 - failed
-- Check size of uint8
-- Check size of uint8 - failed
-- Check size of int16
-- Check size of int16 - failed
-- Check size of uint16
-- Check size of uint16 - failed
-- Check size of int32
-- Check size of int32 - failed
-- Check size of uint32
-- Check size of uint32 - failed
-- Check size of u_int32_t
-- Check size of u_int32_t - done
-- Check size of int64
-- Check size of int64 - failed
-- Check size of uint64
-- Check size of uint64 - failed
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Performing Test HAVE_TIMESPEC_TS_SEC
-- Performing Test HAVE_TIMESPEC_TS_SEC - Failed
-- Performing Test QSORT_TYPE_IS_VOID
-- Performing Test QSORT_TYPE_IS_VOID - Success
-- Performing Test SIGNAL_RETURN_TYPE_IS_VOID
-- Performing Test SIGNAL_RETURN_TYPE_IS_VOID - Success
-- Performing Test HAVE_ISNAN
-- Performing Test HAVE_ISNAN - Success
-- Performing Test HAVE_RINT
-- Performing Test HAVE_RINT - Success
-- Performing Test C_HAS_inline
-- Performing Test C_HAS_inline - Success
[New Thread 0x7f03a9018710 (LWP 430)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f03a9018710 (LWP 430)]
0x00000030056a44e1 in std::string::compare () from /usr/lib/libstdc++.so.6
(gdb) bt
#0  0x00000030056a44e1 in std::string::compare () from /usr/lib/libstdc++.so.6
#1  0x00000000004f369a in cmSetSourceFilesPropertiesCommand::InitialPass ()
#2  0x000000000052369e in cmCommand::InvokeInitialPass ()
#3  0x000000000048f5cc in cmMakefile::ExecuteCommand ()
#4  0x000000000048fe87 in cmMakefile::ReadListFile ()
#5  0x0000000000590383 in cmLocalGenerator::Configure ()
#6  0x000000000059c077 in cmLocalUnixMakefileGenerator3::Configure ()
#7  0x000000000048af06 in cmMakefile::ConfigureSubDirectory ()
#8  0x000000000048b1aa in cmMakefile::AddSubDirectory ()
#9  0x0000000000501cd8 in cmAddSubDirectoryCommand::InitialPass ()
#10 0x000000000052369e in cmCommand::InvokeInitialPass ()
#11 0x000000000048f5cc in cmMakefile::ExecuteCommand ()
#12 0x0000000000514a23 in cmIfFunctionBlocker::IsFunctionBlocked ()
#13 0x0000000000481f9e in cmMakefile::IsFunctionBlocked ()
#14 0x000000000048f44b in cmMakefile::ExecuteCommand ()
#15 0x0000000000514a23 in cmIfFunctionBlocker::IsFunctionBlocked ()
#16 0x0000000000481f9e in cmMakefile::IsFunctionBlocked ()
#17 0x000000000048f44b in cmMakefile::ExecuteCommand ()
#18 0x000000000048fe87 in cmMakefile::ReadListFile ()
#19 0x0000000000590383 in cmLocalGenerator::Configure ()
#20 0x000000000059c077 in cmLocalUnixMakefileGenerator3::Configure ()
#21 0x000000000057044f in cmGlobalGenerator::Configure ()
#22 0x00000000004dbc33 in cmake::ActualConfigure ()
#23 0x00000000004dc144 in cmake::Configure ()
#24 0x00000000004dcc2e in cmake::Run ()
#25 0x0000000000469fca in do_cmake ()
#26 0x000000000046ac5c in main ()
(gdb)                               
=== end of full output ===



Regards 
Hauke



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to