ports/183432: Port benchmark/bonnie++ does not compile on clang

Kenji Rikitake kenji at k2r.org
Tue Oct 29 06:40:01 UTC 2013


>Number:         183432
>Category:       ports
>Synopsis:       Port benchmark/bonnie++ does not compile on clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 29 06:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kenji Rikitake
>Release:        10.0-BETA2
>Organization:
>Environment:
FreeBSD wellmax.priv.k2r.org 10.0-BETA2 FreeBSD 10.0-BETA2 #13 r257290: Tue Oct 29 12:31:14 JST 2013     root at wellmax.priv.k2r.org:/usr/obj/usr/src/sys/K2RKERNEL  amd64
>Description:
Port benchmark/bonnie++ does not compile with clang.
>How-To-Repeat:
cd /usr/ports/benchmark/bonnie++
make clean && make

>Fix:
Setting USE_GCC=yes in the Makefile solved the problem. Patch attached.

Patch attached with submission follows:

--- Makefile.FCS	2013-09-21 00:52:44.000000000 +0900
+++ Makefile	2013-10-29 15:02:07.000000000 +0900
@@ -14,6 +14,8 @@
 
 GNU_CONFIGURE=	yes
 
+USE_GCC=	yes
+
 WRKSRC=	${WRKDIR}/${PORTNAME}-1.97.1
 
 MAN1=	bon_csv2html.1 bon_csv2txt.1 generate_randfile.1


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


More information about the freebsd-ports-bugs mailing list