Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2013 10:08:24 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-ports@freebsd.org
Subject:   compiler header float/double as problem source?
Message-ID:  <1383412104491-5857588.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
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.



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