On Thu Nov 11 10, Alexey Shuvaev wrote: > 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).
attached them both. -- a13x
# CLANG options .if !defined(CC) || ${CC} == "cc" CC=clang .endif .if !defined(CXX) || ${CXX} == "c++" CXX=clang++ .endif # Don't die on warnings NO_WERROR= WERROR= # Don't forget this when using Jails! NO_FSCHG= # Enable debugging symbols for world DEBUG_FLAGS = -g # BUILDWORLD options BOOT2_UFS=UFS2_ONLY # don't need UFS1 support anymore #KLD_DEBUG=yes #MALLOC_PRODUCTION=yes # disable assertions and statistics WITHOUT_ACCT=true #WITHOUT_ACPI=true # needed by VirtualBox WITHOUT_AMD=true WITHOUT_APM=true WITHOUT_AT=true WITHOUT_ATM=true WITHOUT_AUDIT=true WITHOUT_BIND=true WITHOUT_BSNMP=true WITHOUT_CALENDAR=true WITHOUT_CDDL=true WITHOUT_CTM=true WITHOUT_CVS=true WITHOUT_FLOPPY=true WITHOUT_FREEBSD_UPDATE=true WITHOUT_GAMES=true #WITHOUT_GNU=true WITHOUT_GPIB=true WITHOUT_HTML=true WITH_IDEA=true WITHOUT_INET6=true #WITHOUT_INFO=true # needed by ports (`install-info`) WITHOUT_IPFILTER=true WITHOUT_IPFW=true WITHOUT_IPX=true WITHOUT_JAIL=true WITHOUT_LPR=true #WITHOUT_MAILWRAPPER=true WITHOUT_NCP=true WITHOUT_NDIS=true WITHOUT_NETCAT=true WITHOUT_NIS=true WITHOUT_NLS=true WITHOUT_NLS_CATALOGS=true WITHOUT_NS_CACHING=true WITHOUT_PAM_SUPPORT=true WITHOUT_PF=true WITHOUT_PMC=true WITHOUT_PPP=true WITHOUT_PROFILE=true WITHOUT_QUOTAS=true WITHOUT_RCMDS=true WITHOUT_RCS=true WITHOUT_ROUTED=true WITHOUT_SHAREDOCS=true WITHOUT_SYSINSTALL=true WITHOUT_TCSH=true WITHOUT_TELNET=true
# WORLD/KERNEL options KERNCONF = ARUNDEL MODULES_OVERRIDE = \ netgraph/netgraph \ netgraph/socket netgraph/bluetooth/bluetooth netgraph/bluetooth/hci \ netgraph/bluetooth/l2cap netgraph/bluetooth/socket netgraph/bluetooth/ubt \ linux tmpfs sound/sound sound/driver/hda usb/uhid \ procfs pseudofs linprocfs linsysfs lindev usb/quirk geom # GCC46 options #.if empty(.CURDIR:M/usr/src*) && empty(.CURDIR:M/usr/obj*) && exists(/usr/local/bin/gcc46) && exists(/usr/local/bin/g++46) && exists(/usr/local/bin/cpp46) #CC = /usr/local/bin/gcc46 #CXX = /usr/local/bin/g++46 #CPP = /usr/local/bin/cpp46 #.endif # compiler flags CPUTYPE ?= native COPTFLAGS = -O0 -pipe -fno-builtin -fno-strict-aliasing -funroll-loops CFLAGS = -O2 -pipe -fno-strict-aliasing -funroll-loops#-fno-builtin (don't use => corrupted gcc) #CFLAGS=-O3 -march=athlon64 CXXFLAGS += -fconserve-space # SENDMAIL options SENDMAIL_MC = /etc/mail/freebsd.mc SENDMAIL_SUBMIT_MC = /etc/mail/freebsd.submit.mc # PORTS options OVERRIDE_LINUX_BASE_PORT = f10 OVERRIDE_LINUX_NONBASE_PORTS = f10 DA4 = yes WITH_BSDEL = yes WITH_256_COLOR = yes # added by use.perl 2010-10-14 16:57:25 PERL_VERSION=5.12.2
_______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"