[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Make segfaults with attached sources
From: |
John Pye |
Subject: |
Make segfaults with attached sources |
Date: |
Fri, 19 Aug 2005 16:05:03 +1000 |
User-agent: |
Mozilla Thunderbird 1.0.6-1.1.fc3 (X11/20050720) |
Hi there
I've just had my first ever segfault from GNU Make, with the attached
sources which I've been writing. I just added the bits about 'TESTS' and
'TESTOBJS' etc in the make file, so it's simeothing which I've done
there which is crashing perhaps it's my attempt to use
$(VAR:%.test:%.test.o) type patterns more than once in a line.
I've reproduced this bug on FC3 and cygwin with version 3.80 in both
cases. Hope the following will help a bit with tracking down the problem.
Cheers
JP
FC3 version:
address@hidden ~]$ make -v
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
address@hidden ~]$ gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=i386-redhat-linux
Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)
address@hidden nla-ginac]$ make
Segmentation fault
address@hidden nla-ginac]$ gdb -n make
GNU gdb Red Hat Linux (6.1post-1.20040607.43rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...(no debugging
symbols found)...Using host libthread_db library
"/lib/tls/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/make
Reading symbols from shared object read from target memory...(no
debugging symbols found)...done.
Loaded system supplied DSO at 0xb7fbc000
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x00299e7d in memmove () from /lib/tls/libc.so.6
(gdb) where
#0 0x00299e7d in memmove () from /lib/tls/libc.so.6
#1 0x54534554 in ?? ()
#2 0x2e253a53 in ?? ()
#3 0x74737973 in ?? ()
#4 0x253a6d65 in ?? ()
#5 0x0035742e in initial () from /lib/tls/libc.so.6
#6 0x086b4ca0 in ?? ()
#7 0x28297800 in ?? ()
#8 0x00000000 in ?? ()
(gdb)
cygwin version:
address@hidden ~/nla-ginac-20050819
$ make -v
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
address@hidden ~/nla-ginac-20050819
$ make
Segmentation fault (core dumped)
nla-ginac-20050819.tar.bz2
Description: BZip2 compressed data
- Make segfaults with attached sources,
John Pye <=