Re: issue with "options DDB"

From: Alexey Shuvaev <shuvaev_at_physik.uni-wuerzburg.de>
Date: Thu, 11 Nov 2010 20:32:23 +0100
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örlein wrote:
> > > > > > On Sat, 30.10.2010 at 23:22:44 +0000, Alexander Best wrote:
> > > > > > > hi there,
> > > > > > > 
> > > > > > > with "options DDB" in my kernel conf i run into the following issue with my
> > > > > > > kernel modules:
> > > > > > > 
> > > > > > > link_elf_lookup_symbol: missing symbol hash table
> > > > > > > KLD file snd_hda.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_ubt.ko is missing dependencies
> > > > > > > KLD file ng_hci.ko is missing dependencies
> > > > > > > KLD file ng_bluetooth.ko is missing dependencies
> > > > > > > KLD file netgraph.ko is missing dependencies
> > > > > > > link_elf_lookup_symbol: missing symbol hash table
> > > > > > > 
> > > > > > > removing the option solves the issue. any advice?
> > > > > > > 
> > > > > > > cheers.
> > > > > > > alex
> > > > > > > 
> > > > > > > ps: i'm running HEAD (r214542; amd64).
> > > > > > 
> > > > > > You failed to mention the command that you run. I assume 'buildkernel'?
> > > > > > Please note that you need and update-to-date "buildworld" for the kernel
> > > > > > tools to be there, so please try the following (with options DDB):
> > > > > > 
> > > > > > cd /usr/src
> > > > > > make clean; make cleandir; make clean
> > > > > > make buildworld
> > > > > > make buildkernel KERNCONF=YOURKERNEL
> > > > > 
> > > > > hmmm....seems there is a problem with gcc. this is what i get during
> > > > > buildworld:
> > > > > 
> > > > > 
> > > > > clang++ -O2 -pipe -fno-strict-aliasing -funroll-loops -march=native -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -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/usr/src/gnu/lib/libsupc++/../libstdc++ -I. -frandom-seed=RepeatabilityConsideredGood -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'
> > > > ^^^^^^^^^^^
> > > > 
> > > > > clang++: warning: argument unused during compilation: '-fno-implicit-templates'
> > > > > clang++ -O2 -pipe -fno-strict-aliasing -funroll-loops -march=native -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -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/usr/src/gnu/lib/libsupc++/../libstdc++ -I. -frandom-seed=RepeatabilityConsideredGood -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-implicit-templates'
> > > > > clang++ -O2 -pipe -fno-strict-aliasing -funroll-loops -march=native -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -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/usr/src/gnu/lib/libsupc++/../libstdc++ -I. -frandom-seed=RepeatabilityConsideredGood -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-implicit-templates'
> > > > > clang -O2 -pipe -fno-strict-aliasing -funroll-loops -march=native -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -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/usr/src/gnu/lib/libsupc++/../libstdc++ -I. -frandom-seed=RepeatabilityConsideredGood -g -std=gnu99 -fstack-protector  -c /usr/src/gnu/lib/libsupc++/../../../contrib/gcclibs/libiberty/cp-demangle.c
> > > > > building static supc++ library
> > > > > ranlib libsupc++.a
> > > > > ===> gnu/lib/libobjc (all)
> > > > > gcc -O2 -pipe -fno-strict-aliasing -funroll-loops -march=native -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -I. -I/usr/src/gnu/lib/libobjc/../../usr.bin/cc/cc_tools -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/libobjc/../../../contrib/gcc -I/usr/src/gnu/lib/libobjc/../../../contrib/gcclibs/include -fexceptions -frandom-seed=RepeatabilityConsideredGood -g -std=gnu99 -fstack-protector  -c /usr/src/gnu/lib/libobjc/../../../contrib/libobjc/archive.c
> > > > > *** Signal 11
> > > > > 
> > > > > Stop in /usr/src/gnu/lib/libobjc.
> > > > > *** Error code 1
> > > > > 
> > > > > Stop in /usr/src/gnu/lib.
> > > > > *** Error code 1
> > > > > 
> > > > > Stop in /usr/src.
> > > > > *** Error code 1
> > > > > 
> > > > > Stop in /usr/src.
> > > > > *** Error code 1
> > > > > 
> > > > > Stop in /usr/src.
> > > > > *** Error code 1
> > > > > 
> > > > > Stop in /usr/src.
> > > > > 
> > > > > 
[snip]
> > > > > 
> > > > So, you are trying to do a mixed clang+gcc build. Which architecture is this?
> > > > Does the problem occur in the case of a pure gcc build?
> > > 
> > > i just tried and with gcc buildworld succeeds.
> > 
> > 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?
> 
> ok i did a complete buildworld/installworld with gcc as compiler. then i
> switched back to clang, but the problem still occurs. :(
> 
Show your make.conf and src.conf (in full).
Received on Thu Nov 11 2010 - 18:32:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:09 UTC