monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] minimum requirements


From: Markus Wanner
Subject: Re: [Monotone-devel] minimum requirements
Date: Sun, 25 May 2014 20:19:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0

Hi,

On 05/16/2014 07:12 PM, Markus Wanner wrote:
> On my wishlist (for minimum requirements):
>  * Mac OS X 10.8 (Mountain Lion) / XCode 5

I successfully compiled and run tests of nvm.mandatory-cxx11 on Mountain
Lion, now.

As it turned out, the major stumbling block was that Apple (and
therefore MacPorts) defaults to use libstdc++ on that OS version, in a
version that doesn't offer proper C++11 support. Switching to libc++
(-stdlib=libc++) enables C++11 features. However, as those two are
incompatible, this also means you to link against botan and idna
libraries using that standard library. Therefore, I had to recompile
them against libc++, rather than using the packages provided by MacPorts.

Given that OS version reached EOL, already, I don't think that's a
hindrance for switching to C++11.

>  * FreeBSD 10
>  * NetBSD 6.1
>  * Gentoo Hardened
>  * Solaris 10

As per the build farm, these platforms now compile nvm.mandatory-cxx11
just fine:
  CentOS 6.5 (using g++ 4.8.2 from devtools-2 package)
  Cygwin
  Debian sid
  Gentoo Hardened
  MinGW / Msys 1.0
  NetBSD 6.1 (using gcc48)
  OmniOS r151008 (pretending to be SunOS 5.11)
  Ubuntu precise

Manual testing additionally yields good results on:
  Debian stable
  FreeBSD 10
  Mac OS X 10.8 (Mountain Lion)


I just updated NEWS and INSTALL on nvm.mandatory-cxx11 to document the
new requirements. And I added installation instructions, please review.


Some comments regarding the few test failures:

 - cow, an Ubuntu 10.04 LTS (precise) box shows a failure on log_dir.
   That's the same test that fails on GNU Debian/hurd for the 1.0
   release. Therefore, I don't think that's related to C++11.

 - on boar, a Windows Server using MinGW / Msys 1.0 system, all extra
   tests fail. AFAICT these didn't ever work. (Looks rather like a lua
   issue.)

 - armadillo, the CentOS 6.5 box once failed on
   add,remove,cleanup_registered_workspaces, then passed. Looks like an
   intermittent issue, so it's hardly related to C++11, either.

 - wallaby runs Debian/sid using a bleeding-edge llvm/clang toolchain,
   which seems currently broken. My guess is that the standard library
   headers provided by the new gcc version (4.9.0) caused that breakage.
   In any case, I'm not too concerned about failures on that build
   animal in general.


> I'm currently providing quite a few build animals to hit my targets and
> to make my wishes come true. If you want to keep a platform supported,
> please consider contributing a buildbot or at least run occasional tests
> on that platform.

Given the above successes, the lack of offers to help with other
platforms and baring further objections, I plan to land
nvm.mandatory-cxx11 within the next few days.

Regards

Markus Wanner


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]