From owner-freebsd-current@FreeBSD.ORG Thu Nov 11 19:32:44 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 351D9106566B; Thu, 11 Nov 2010 19:32:44 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id C974D8FC1A; Thu, 11 Nov 2010 19:32:43 +0000 (UTC) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 295145ACAB; Thu, 11 Nov 2010 20:32:25 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 25A675AC91; Thu, 11 Nov 2010 20:32:25 +0100 (CET) X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 039305CD54; Thu, 11 Nov 2010 20:32:25 +0100 (CET) Received: from wep4035.physik.uni-wuerzburg.de ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.5.2HF105) with ESMTP id 2010111120322476-105161 ; Thu, 11 Nov 2010 20:32:24 +0100 Date: Thu, 11 Nov 2010 20:32:23 +0100 From: Alexey Shuvaev To: Alexander Best Message-ID: <20101111193223.GA83129@wep4035.physik.uni-wuerzburg.de> References: <20101030232244.GA35209@freebsd.org> <20101105214700.GT85693@acme.spoerlein.net> <20101109182512.GA16204@freebsd.org> <20101109194605.GB45046@wep4035.physik.uni-wuerzburg.de> <20101110202621.GA53505@freebsd.org> <20101110213215.GA68484@freebsd.org> <20101111161830.GA15345@freebsd.org> MIME-Version: 1.0 In-Reply-To: <20101111161830.GA15345@freebsd.org> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.21 (2010-09-15) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.5.2HF105 | October 15, 2010) at 11/11/2010 08:32:24 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.5.2HF105 | October 15, 2010) at 11/11/2010 08:32:24 PM Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: issue with "options DDB" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 19:32:44 -0000 On Thu, Nov 11, 2010 at 04:18:30PM +0000, Alexander Best wrote: > On Wed Nov 10 10, Alexander Best wrote: > > On Wed Nov 10 10, Alexander Best wrote: > > > On Tue Nov 9 10, Alexey Shuvaev wrote: > > > > On Tue, Nov 09, 2010 at 06:25:12PM +0000, Alexander Best wrote: > > > > > On Fri Nov 5 10, Ulrich Sp=F6rlein wrote: > > > > > > On Sat, 30.10.2010 at 23:22:44 +0000, Alexander Best wrote: > > > > > > > hi there, > > > > > > >=20 > > > > > > > with "options DDB" in my kernel conf i run into the following= issue with my > > > > > > > kernel modules: > > > > > > >=20 > > > > > > > link=5Felf=5Flookup=5Fsymbol: missing symbol hash table > > > > > > > KLD file snd=5Fhda.ko is missing dependencies > > > > > > > KLD file sound.ko is missing dependencies > > > > > > > KLD file nvidia.ko is missing dependencies > > > > > > > KLD file linux.ko is missing dependencies > > > > > > > KLD file ng=5Fubt.ko is missing dependencies > > > > > > > KLD file ng=5Fhci.ko is missing dependencies > > > > > > > KLD file ng=5Fbluetooth.ko is missing dependencies > > > > > > > KLD file netgraph.ko is missing dependencies > > > > > > > link=5Felf=5Flookup=5Fsymbol: missing symbol hash table > > > > > > >=20 > > > > > > > removing the option solves the issue. any advice? > > > > > > >=20 > > > > > > > cheers. > > > > > > > alex > > > > > > >=20 > > > > > > > ps: i'm running HEAD (r214542; amd64). > > > > > >=20 > > > > > > You failed to mention the command that you run. I assume 'build= kernel'? > > > > > > Please note that you need and update-to-date "buildworld" for t= he kernel > > > > > > tools to be there, so please try the following (with options DD= B): > > > > > >=20 > > > > > > cd /usr/src > > > > > > make clean; make cleandir; make clean > > > > > > make buildworld > > > > > > make buildkernel KERNCONF=3DYOURKERNEL > > > > >=20 > > > > > hmmm....seems there is a problem with gcc. this is what i get dur= ing > > > > > buildworld: > > > > >=20 > > > > >=20 > > > > > clang++ -O2 -pipe -fno-strict-aliasing -funroll-loops -march=3Dna= tive -DIN=5FGLIBCPP=5FV3 -DHAVE=5FCONFIG=5FH -I/usr/src/gnu/lib/libsupc++/.= ./../../contrib/gcclibs/include -I/usr/src/gnu/lib/libsupc++/../../../contr= ib/libstdc++/libsupc++ -I/usr/src/gnu/lib/libsupc++/../../../contrib/gcc -I= /usr/src/gnu/lib/libsupc++/../libstdc++ -I. -frandom-seed=3DRepeatabilityCo= nsideredGood -g -fstack-protector -fconserve-space -fno-implicit-templates = -ffunction-sections -fdata-sections -c /usr/src/gnu/lib/libsupc++/../../../= contrib/libstdc++/libsupc++/tinfo2.cc > > > > > clang++: warning: argument unused during compilation: '-fconserve= -space' > > > > ^^^^^^^^^^^ > > > >=20 > > > > > clang++: warning: argument unused during compilation: '-fno-impli= cit-templates' > > > > > clang++ -O2 -pipe -fno-strict-aliasing -funroll-loops -march=3Dna= tive -DIN=5FGLIBCPP=5FV3 -DHAVE=5FCONFIG=5FH -I/usr/src/gnu/lib/libsupc++/.= ./../../contrib/gcclibs/include -I/usr/src/gnu/lib/libsupc++/../../../contr= ib/libstdc++/libsupc++ -I/usr/src/gnu/lib/libsupc++/../../../contrib/gcc -I= /usr/src/gnu/lib/libsupc++/../libstdc++ -I. -frandom-seed=3DRepeatabilityCo= nsideredGood -g -fstack-protector -fconserve-space -fno-implicit-templates = -ffunction-sections -fdata-sections -c /usr/src/gnu/lib/libsupc++/../../../= contrib/libstdc++/libsupc++/vec.cc > > > > > clang++: warning: argument unused during compilation: '-fconserve= -space' > > > > > clang++: warning: argument unused during compilation: '-fno-impli= cit-templates' > > > > > clang++ -O2 -pipe -fno-strict-aliasing -funroll-loops -march=3Dna= tive -DIN=5FGLIBCPP=5FV3 -DHAVE=5FCONFIG=5FH -I/usr/src/gnu/lib/libsupc++/.= ./../../contrib/gcclibs/include -I/usr/src/gnu/lib/libsupc++/../../../contr= ib/libstdc++/libsupc++ -I/usr/src/gnu/lib/libsupc++/../../../contrib/gcc -I= /usr/src/gnu/lib/libsupc++/../libstdc++ -I. -frandom-seed=3DRepeatabilityCo= nsideredGood -g -fstack-protector -fconserve-space -fno-implicit-templates = -ffunction-sections -fdata-sections -c /usr/src/gnu/lib/libsupc++/../../../= contrib/libstdc++/libsupc++/vterminate.cc > > > > > clang++: warning: argument unused during compilation: '-fconserve= -space' > > > > > clang++: warning: argument unused during compilation: '-fno-impli= cit-templates' > > > > > clang -O2 -pipe -fno-strict-aliasing -funroll-loops -march=3Dnati= ve -DIN=5FGLIBCPP=5FV3 -DHAVE=5FCONFIG=5FH -I/usr/src/gnu/lib/libsupc++/../= ../../contrib/gcclibs/include -I/usr/src/gnu/lib/libsupc++/../../../contrib= /libstdc++/libsupc++ -I/usr/src/gnu/lib/libsupc++/../../../contrib/gcc -I/u= sr/src/gnu/lib/libsupc++/../libstdc++ -I. -frandom-seed=3DRepeatabilityCons= ideredGood -g -std=3Dgnu99 -fstack-protector -c /usr/src/gnu/lib/libsupc++= /../../../contrib/gcclibs/libiberty/cp-demangle.c > > > > > building static supc++ library > > > > > ranlib libsupc++.a > > > > > =3D=3D=3D> gnu/lib/libobjc (all) > > > > > gcc -O2 -pipe -fno-strict-aliasing -funroll-loops -march=3Dnative= -DHAVE=5FGTHR=5FDEFAULT -DIN=5FGCC -DIN=5FTARGET=5FLIBS -I. -I/usr/src/gnu= /lib/libobjc/../../usr.bin/cc/cc=5Ftools -I/usr/src/gnu/lib/libobjc/../../.= ./contrib/libobjc/objc -I/usr/src/gnu/lib/libobjc/../../../contrib/libobjc = -I/usr/src/gnu/lib/libobjc/../../../contrib/gcc/config -I/usr/src/gnu/lib/l= ibobjc/../../../contrib/gcc -I/usr/src/gnu/lib/libobjc/../../../contrib/gcc= libs/include -fexceptions -frandom-seed=3DRepeatabilityConsideredGood -g -s= td=3Dgnu99 -fstack-protector -c /usr/src/gnu/lib/libobjc/../../../contrib/= libobjc/archive.c > > > > > *** Signal 11 > > > > >=20 > > > > > Stop in /usr/src/gnu/lib/libobjc. > > > > > *** Error code 1 > > > > >=20 > > > > > Stop in /usr/src/gnu/lib. > > > > > *** Error code 1 > > > > >=20 > > > > > Stop in /usr/src. > > > > > *** Error code 1 > > > > >=20 > > > > > Stop in /usr/src. > > > > > *** Error code 1 > > > > >=20 > > > > > Stop in /usr/src. > > > > > *** Error code 1 > > > > >=20 > > > > > Stop in /usr/src. > > > > >=20 > > > > >=20 [snip] > > > > >=20 > > > > So, you are trying to do a mixed clang+gcc build. Which architectur= e is this? > > > > Does the problem occur in the case of a pure gcc build? > > >=20 > > > i just tried and with gcc buildworld succeeds. > >=20 > > maybe i should cd to /usr/sr/usr.bin/clang and install it before doing > > builworld. maybe my clang version contains an already fixed bug? >=20 > ok i did a complete buildworld/installworld with gcc as compiler. then i > switched back to clang, but the problem still occurs. :( >=20 Show your make.conf and src.conf (in full). =