Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 09:53:38 +0200 (CEST)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/183321: devel/fmake crashe in conditional
Message-ID:  <201310260753.r9Q7rc1g048970@home3.dinoex.sub.de>
Resent-Message-ID: <201310260810.r9Q8A1JL079779@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183321
>Category:       ports
>Synopsis:       devel/fmake crashe in conditional
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 26 08:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 9.1-RELEASE
>Organization:
privat
>Environment:

	FreeBSD 9.1 /bin/make or /usr/local/bin/fmake
	fmake-r250982

>Description:

	fmake crashes on some makefiles.

>How-To-Repeat:

	echo << 'EOF' > Makefile.bad
.if empty(MACRO1) && && empty(MACRO2)
.endif
EOF
	$ fmake -f Makefile.bad 
Abort trap: 6 (core dumped)
	$ make -f Makefile.bad 
Abort trap: 6 (core dumped)

gdb /usr/obj/usr/src/usr.bin/make/make  make.core 
GNU gdb 6.1.1 [FreeBSD]
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 "amd64-marcel-freebsd"...(no debugging symbols found)...
Core was generated by `make'.
Program terminated with signal 6, Aborted.
#0  0x0000000000449d1c in __sfvwrite ()
(gdb) bt
#0  0x0000000000449d1c in __sfvwrite ()
#1  0x0000000000000002 in ?? ()
#2  0x0000000000403350 in Cond_If ()
#3  0x000000000040d35e in Parse_File ()
#4  0x000000000040a45b in ReadMakefile ()
#5  0x000000000040a4de in TryReadMakefile ()
#6  0x000000000040ad99 in main ()

>Fix:

	unknown.

>Release-Note:
>Audit-Trail:
>Unformatted:



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