Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 06:33:50 GMT
From:      Kenji Rikitake <kenji@k2r.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183432: Port benchmark/bonnie++ does not compile on clang
Message-ID:  <201310290633.r9T6Xo3k042129@oldred.freebsd.org>
Resent-Message-ID: <201310290640.r9T6e0Io038845@freefall.freebsd.org>

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

>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@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:



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