Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2010 20:32:23 +0100
From:      Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: issue with "options DDB"
Message-ID:  <20101111193223.GA83129@wep4035.physik.uni-wuerzburg.de>
In-Reply-To: <20101111161830.GA15345@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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).
=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101111193223.GA83129>