Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2016 05:23:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 213987] devel/boost-libs: fix for lang/gcc5
Message-ID:  <bug-213987-25061-1l7RVsFRvI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213987-25061@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213987

Jan Beich (mail not working) <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Rejected
             Status|New                         |Closed

--- Comment #1 from Jan Beich (mail not working) <jbeich@FreeBSD.org> ---
Likely obsoleted by ports r426908. Even if not, please, describe build
environment in more detail e.g., backed by poudriere logs and if there're local
patches. Don't forget to quote errors which are crucial when remuving cruft in
future.

Also, if the compiler is buggy it should be patched rather than stacking more
hacks into consumers. While GCC 4.2 in base can't be patched retroactively the
ports can and *should*.

> +.if ${COMPILER_TYPE} == gcc
> +CXXFLAGS += -std=gnu++11 -D_GLIBCXX_USE_C99=1 -include cmath

devel/boost-libs is fragile if consumers are built with different compiler or
flags. Adding -std=gnu++11 would require an exp-run. Besides, GCC in base
doesn't support C++11

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213987-25061-1l7RVsFRvI>