From owner-freebsd-stable@FreeBSD.ORG Sat Feb 8 23:33:00 2014 Return-Path: Delivered-To: freebsd-stable@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 ESMTPS id 368612E9 for ; Sat, 8 Feb 2014 23:33:00 +0000 (UTC) Received: from amys.codelibre.net (3.5.1.6.b.a.e.f.f.f.7.a.a.e.a.3.d.b.d.d.0.6.8.0.0.b.8.0.1.0.0.2.ip6.arpa [IPv6:2001:8b0:860:ddbd:3aea:a7ff:feab:6153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 840CF1902 for ; Sat, 8 Feb 2014 23:32:58 +0000 (UTC) Received: from amys.codelibre.net (localhost [127.0.0.1]) by amys.codelibre.net (8.14.7/8.14.7) with ESMTP id s18NWtED011774 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 8 Feb 2014 23:32:55 GMT (envelope-from rleigh@amys.codelibre.net) Received: (from rleigh@localhost) by amys.codelibre.net (8.14.7/8.14.7/Submit) id s18NWtC8011773 for freebsd-stable@freebsd.org; Sat, 8 Feb 2014 23:32:55 GMT (envelope-from rleigh) Date: Sat, 8 Feb 2014 23:32:55 +0000 From: Roger Leigh To: freebsd-stable@freebsd.org Subject: 10.0 toolchain broken for C++11 code Message-ID: <20140208233255.GA6282@amys.codelibre.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-GPG-Key: 0x07B3C8BC4083E800 X-Debian: testing/unstable X-OS-Uptime: 11:12PM up 12:15, 1 user, load averages: 0.27, 0.20, 0.20 User-Agent: Mutt/1.5.22 (2013-10-16) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 23:33:00 -0000 Hi folks, I'm new to using FreeBSD. I'm the author of the schroot(1) tool, and I've been porting it to FreeBSD using the new 10.0-RELEASE on amd64 and powerpc. The plan is to make it support jails and ZFS snapshots on FreeBSD systems. However, I've hit a blocker in that after fixing a few Linux-isms I've I've found that I can't actually link my code. This is a minimal testcase: % cat test.cpp #include int main() { const std::type_info& t =3D typeid(nullptr); } % CC -std=3Dc++11 -o test test.cpp /tmp/test-OoDHHT.o: In function `main': test.cpp:(.text+0xd): undefined reference to `_ZTIDn' CC: error: linker command failed with exit code 1 (use -v to see invocation) See also: standards/185663 https://github.com/pathscale/libcxxrt/issues/16 Being unfamiliar with FreeBSD my question is really, what sort of timescale is typical for fixing this type of issue? At least for my code, the toolchain is basically unusable until this is fixed, and I don't think there's a workaround for it. If it gets fixed in -STABLE, is it possible to selectively cherry-pick this somehow, or would I need to switch to -STABLE wholesale? Is there an expected date for 10.1 to be released? Thanks, Roger --=20 .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.