From owner-freebsd-stable@FreeBSD.ORG Tue Jun 17 07:51:16 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 025AB876; Tue, 17 Jun 2014 07:51:16 +0000 (UTC) Received: from mail.webmatic.de (mail.webmatic.de [212.78.101.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.webmatic.de", Issuer "PositiveSSL CA 2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B53952F4B; Tue, 17 Jun 2014 07:51:14 +0000 (UTC) Received: from mail.webmatic.de (localhost [127.0.0.1]) by mail.webmatic.de (Postfix) with ESMTP id 571FB8A0B0; Tue, 17 Jun 2014 09:51:09 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 17 Jun 2014 09:51:09 +0200 From: Thomas Krause To: Dimitry Andric Subject: Re: FreeBSD10 - libstdc++.so.7 - arcconf In-Reply-To: <5A1E4599-3634-48A4-BC2F-D8AE5F02DE78@FreeBSD.org> References: <539F5C97.6090000@chef-ingenieur.de> <5A1E4599-3634-48A4-BC2F-D8AE5F02DE78@FreeBSD.org> Message-ID: <2a18f66fc548692ec5377f6348eb2382@chef-ingenieur.de> X-Sender: freebsd-stable@chef-ingenieur.de User-Agent: Roundcube Webmail/1.0.0 Cc: owner-freebsd-stable@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2014 07:51:16 -0000 Am 16.06.2014 23:56, schrieb Dimitry Andric: > On 16 Jun 2014, at 23:07, Thomas Krause > wrote: >> >> I'm using Adaptec controllers for my servers. >> The arcconf utility is not working under FreeBSD10 (because of clang): >> Shared object "libstdc++.so.7" not found, required by "arcconf" > > This has nothing to do with clang, it's because libstdc++ is not > installed by default. > > >> Is there an easy way to get it working? >> I don't want to install gcc (about 470MB disk space) only for this >> tool. > > make -C /usr/src/gnu/lib/libstdc++ -D WITH_GNUCXX obj all install > make -C /usr/src/gnu/lib/libsupc++ -D WITH_GNUCXX obj all install > > You can also set WITH_GNUCXX in /etc/src.conf, for your next > buildworld. > > -Dimitry > > P.S.: I think Baptiste is working on creating a separate port for just > installing the libstdc++ runtime files from the gcc port. But this > will > get you up and running now. doesn't work for my ;-( # make -C /usr/src/gnu/lib/libstdc++ -D WITH_GNUCXX obj all install ln -sf /usr/src/gnu/lib/libstdc++/../../../contrib/gcc/unwind-generic.h unwind.h c++ -O2 -pipe -march=core2 -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++ -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++ -I/usr/src/gnu/lib/libstdc++/../../../contrib/gcc -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include -I/usr/src/gnu/lib/libstdc++/../../../contrib/gcclibs/include -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include -I. -frandom-seed=RepeatabilityConsideredGood -Qunused-arguments -fstack-protector -Wno-c++11-extensions -fno-implicit-templates -ffunction-sections -fdata-sections -Wno-deprecated -stdlib=libstdc++ -c /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/src/bitmap_allocator.cc -o bitmap_allocator.o In file included from /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/src/bitmap_allocator.cc:30: /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/ext/bitmap_allocator.h:37:10: fatal error: 'cstddef' file not found #include // For std::size_t, and ptrdiff_t. ^ 1 error generated. *** Error code 1 Stop. make: stopped in /usr/src/gnu/lib/libstdc++ # uname -srp FreeBSD 10.0-RELEASE-p3 amd64 /Thomas.