From owner-freebsd-ports@FreeBSD.ORG Sat Nov 2 17:08:31 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1F3CC398 for ; Sat, 2 Nov 2013 17:08:31 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 031C82E8B for ; Sat, 2 Nov 2013 17:08:30 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VcegS-0007Pg-Iy for freebsd-ports@freebsd.org; Sat, 02 Nov 2013 10:08:24 -0700 Date: Sat, 2 Nov 2013 10:08:24 -0700 (PDT) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <1383412104491-5857588.post@n5.nabble.com> Subject: compiler header float/double as problem source? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Nov 2013 17:08:31 -0000 Hello. My poudriere jail for 9-amd64 is able to compile most of my ports (including gnome3), but my 10-amd64 and 11-amd64 jails fail miserably. I recently came across a possible reason, so I would like to ask how related this reason is to the issue and if there is any corrective measure. I am trying to compile sysutils/grub2; not from ports but from the GIT trunk. The recent attempt to compile broke, and the grub-devel list members were kind enough to answer me as to the reason: "Your system headers do something stupid: they use float/double in standalone headers we use option -Dfloat=__grub_poison and -Ddouble=__grub_poison to check that we don't use any float/double. Unfortunately such stupidity is more widespread that it should be. I'll remove poisonin of float/double in trunk." Given the above explanation, I would like to understand why, or better yet, correct the "stupidity" on my system. Mind you, I have little or negligible coding experience, and I am just trying to understand whether the explanation above could contribute to or be the major cause of my observed general port build failures. Host (9-amd64), jail-10 and jail-11 for poudriere were all self-complied from source with simple modifications in /etc/src.conf (WITHOUT_INET6, WITHOUT_BLUETOOTH, etc) Thanks and regards ----- FreeBSD-9.2-stable_amd64_root-on-zfs_clang-only-world -- View this message in context: http://freebsd.1045724.n5.nabble.com/compiler-header-float-double-as-problem-source-tp5857588.html Sent from the freebsd-ports mailing list archive at Nabble.com.