Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  5 Dec 2013 00:06:39 -0800 (PST)
From:      Jeremy Chadwick <jdc@koitsu.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        Kenji Rikitake <kenji@k2r.org>
Subject:   ports/184509: benchmarks/bonnie++ incorrectly requires lang/gcc
Message-ID:  <20131205080639.0FB3B73A1A@icarus.home.lan>
Resent-Message-ID: <201312050810.rB58A0rM061773@freefall.freebsd.org>

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

>Number:         184509
>Category:       ports
>Synopsis:       benchmarks/bonnie++ incorrectly requires lang/gcc
>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:   Thu Dec 05 08:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Chadwick
>Release:        FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD icarus.home.lan 9.2-STABLE FreeBSD 9.2-STABLE #0 r258959: Wed Dec 4 22:38:16 PST 2013 root@icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_9_amd64 amd64
>Description:
	PR 183432 has introduced a completely unnecessary dependency
	on gcc 4.6.4 (more specifically, building of ports/lang/gcc):

root@icarus:/usr/ports/benchmarks/bonnie++ # make all-depends-list
/usr/ports/lang/gcc
/usr/ports/devel/binutils
/usr/ports/devel/gmake
/usr/ports/lang/gcc-ecj45
/usr/ports/archivers/zip
/usr/ports/lang/perl5.16
/usr/ports/math/gmp
/usr/ports/math/mpfr
/usr/ports/math/mpc
/usr/ports/converters/libiconv
/usr/ports/devel/bison
/usr/ports/devel/libtool
/usr/ports/devel/m4

	bonnie++ builds just fine using the base system gcc on RELENG_9
	(gcc 4.2.1).  I do not use clang anywhere on my system (I use
	WITHOUT_CLANG=true in /etc/src.conf).

	The cause of this dependency is the introduction of USE_GCC=yes
	into the Makefile.  What you probably should be using is:

	USE_GCC=any

	...which I can verify solves the issue I describe above.

	But please check with folks who use clang first.  I've CC'd the
	author of PR 183432 so he can check to see if USE_GCC=any still
	works for him on his clang-based system.

	If it doesn't, then bapt@ needs to be involved in this discussion
	and explain to ports maintainers how to properly use USE_GCC or
	how to make this port work with both base system gcc as well as
	clang.
>How-To-Repeat:
	See above.
>Fix:
	See above.


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



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