Re: buildworld failure in /usr/src/sys/boot/i386/loader
did cd /usr/src make buildworld prior to that I did a make cleandir twice and cleaned up /usr/obj etc.. -Troy > Hrm, > > This definitely looks like a library and/or toolchain mixup > relative to src/ > > I don't understand; this doesn't look like it is running from > within buildworld. > > Did you: > cd /usr/src && make buildworld > > Or: > cd /usr/src/sys/boot && make > > -- > Jerry Hicks > [EMAIL PROTECTED] > > On Tuesday, July 23, 2002, at 11:08 AM, Troy wrote: > > > > > When doing a buildworld, the following problem occurred. Has anyone > > seen > > this problem? > > > > -Troy > > > > (/usr/src/sys/boot/i386/loader) make > > /usr/bin/cc -nostdlib -static -Ttext 0x0 -o loader.sym > > /usr/obj/usr/src/sys/boot/i386/loader/../btx/lib/crt0.o main.o conf.o > > bcache.o boot.o commands.o console.o devopen.o interp.o > > interp_backslash.o interp_parse.o load_elf.o ls.o misc.o module.o > > panic.o load_aout.o isapnp.o pnp.o interp_forth.o vers.o > > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a > > /usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a > > /usr/obj/usr/src/sys/boot/i386/loader/../../../../lib/libstand/libstand.a > > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(loader.o): > > In function `ficlExecFD': > > loader.o(.text+0x5cb): undefined reference to `malloc' > > loader.o(.text+0x5ea): undefined reference to `free' > > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(loader.o): > > In function `ficlCompilePlatform': > > loader.o(.text+0x8de): undefined reference to `__eprintf' > > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(stack.o): In > > function `stackCreate': > > stack.o(.text+0x94): undefined reference to `__eprintf' > > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(stack.o): In > > function `stackDrop': > > stack.o(.text+0xfa): undefined reference to `__eprintf' > > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(ficl.o): In > > function `ficlInitSystemEx': > > ficl.o(.text+0x3c): undefined reference to `__eprintf' > > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(ficl.o): In > > function `ficlListParseSteps': > > ficl.o(.text+0x1c0): undefined reference to `__eprintf' > > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(ficl.o)(.text+ > > 0x273): more undefined references to `__eprintf' follow > > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(sysdep.o): > > In function `ficlMalloc': > > sysdep.o(.text+0xbb): undefined reference to `malloc' > > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(sysdep.o): > > In function `ficlRealloc': > > sysdep.o(.text+0xcc): undefined reference to `realloc' > > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(sysdep.o): > > In function `ficlFree': > > sysdep.o(.text+0xd9): undefined reference to `free' > > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o): In > > function `ficlParseNumber': > > words.o(.text+0x625): undefined reference to `__eprintf' > > words.o(.text+0x6c0): undefined reference to `__eprintf' > > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o): In > > function `twoConstParen': > > words.o(.text+0x1068): undefined reference to `__eprintf' > > words.o(.text+0x10fb): undefined reference to `__eprintf' > > words.o(.text+0x11d8): undefined reference to `__eprintf' > > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o)(.text+ > > 0x14b2): more undefined references to `__eprintf' follow > > collect2: ld returned 1 exit status > > *** Error code 1 > > > > Stop in /usr/src/sys/boot/i386/loader. > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > > with "unsubscribe freebsd-current" in the body of the message > > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
buildworld failure in /usr/src/sys/boot/i386/loader
When doing a buildworld, the following problem occurred. Has anyone seen this problem? -Troy (/usr/src/sys/boot/i386/loader) make /usr/bin/cc -nostdlib -static -Ttext 0x0 -o loader.sym /usr/obj/usr/src/sys/boot/i386/loader/../btx/lib/crt0.o main.o conf.o bcache.o boot.o commands.o console.o devopen.o interp.o interp_backslash.o interp_parse.o load_elf.o ls.o misc.o module.o panic.o load_aout.o isapnp.o pnp.o interp_forth.o vers.o /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a /usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a /usr/obj/usr/src/sys/boot/i386/loader/../../../../lib/libstand/libstand.a /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(loader.o): In function `ficlExecFD': loader.o(.text+0x5cb): undefined reference to `malloc' loader.o(.text+0x5ea): undefined reference to `free' /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(loader.o): In function `ficlCompilePlatform': loader.o(.text+0x8de): undefined reference to `__eprintf' /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(stack.o): In function `stackCreate': stack.o(.text+0x94): undefined reference to `__eprintf' /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(stack.o): In function `stackDrop': stack.o(.text+0xfa): undefined reference to `__eprintf' /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(ficl.o): In function `ficlInitSystemEx': ficl.o(.text+0x3c): undefined reference to `__eprintf' /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(ficl.o): In function `ficlListParseSteps': ficl.o(.text+0x1c0): undefined reference to `__eprintf' /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(ficl.o)(.text+0x273): more undefined references to `__eprintf' follow /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(sysdep.o): In function `ficlMalloc': sysdep.o(.text+0xbb): undefined reference to `malloc' /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(sysdep.o): In function `ficlRealloc': sysdep.o(.text+0xcc): undefined reference to `realloc' /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(sysdep.o): In function `ficlFree': sysdep.o(.text+0xd9): undefined reference to `free' /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o): In function `ficlParseNumber': words.o(.text+0x625): undefined reference to `__eprintf' words.o(.text+0x6c0): undefined reference to `__eprintf' /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o): In function `twoConstParen': words.o(.text+0x1068): undefined reference to `__eprintf' words.o(.text+0x10fb): undefined reference to `__eprintf' words.o(.text+0x11d8): undefined reference to `__eprintf' /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o)(.text+0x14b2): more undefined references to `__eprintf' follow collect2: ld returned 1 exit status *** Error code 1 Stop in /usr/src/sys/boot/i386/loader. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
/usr/src/gnu/lib/csu broken world
I've seen some of the past postings relating to prolems experienced with lib/csu, but the only file in my csu director is the Makefile. This error has been with me for quite some time. I've made sure to do a make cleandir prior to trying to build the world. I have built the latest GCC 3.1 from the binaries. I'm still having the same issue. Ideas? -Troy -- >>> stage 4: building libraries -- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac DESTDIR=/usr/obj/usr/src/i386 INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make -f Makefile.inc1 -DNOHTML -DNOINFO -DNOMAN -DNOFSCHG libraries cd /usr/src; make -f Makefile.inc1 _startup_libs; make -f Makefile.inc1 _prebuild_libs; make -f Makefile.inc1 _generic_libs; cd /usr/src/gnu/lib/csu; make DIRPRFX=gnu/lib/csu/ depend; make DIRPRFX=gnu/lib/csu/ all; make DIRPRFX=gnu/lib/csu/ install make -f /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile MFILE=/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/lib/csu/../../../contrib/gcc tconfig.h echo 'struct rtx_def;' > tconfig.h echo 'typedef struct rtx_def *rtx;' >> tconfig.h echo 'struct rtvec_def;'>> tconfig.h echo 'typedef struct rtvec_def *rtvec;' >> tconfig.h echo 'union tree_node;' >> tconfig.h echo 'typedef union tree_node *tree;' >> tconfig.h echo '' >> tconfig.h echo '#include "ansidecl.h"'>> tconfig.h echo '#include "i386/i386.h"' >> tconfig.h echo '#include "i386/att.h"'>> tconfig.h echo '#include "dbxelf.h"' >> tconfig.h echo '#include "elfos.h"' >> tconfig.h echo '#include ' >> tconfig.h echo '#include "freebsd-spec.h"'>> tconfig.h echo '#include "freebsd.h"' >> tconfig.h echo '#include "i386/freebsd.h"'>> tconfig.h echo '#include "defaults.h"'>> tconfig.h echo '#ifndef POSIX'>> tconfig.h echo '# define POSIX' >> tconfig.h echo '#endif' >> tconfig.h echo '#define CONFIG_SJLJ_EXCEPTIONS 0' >> tconfig.h rm -f .depend CC="/usr/bin/cc" MKDEP_CPP_OPTS="-M -DCRT_BEGIN" mkdep -f .depend -a-DIN_GCC -DHAVE_LD_EH_FRAME_HDR -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config -I/usr/src/gnu/lib/csu/../../../contrib/gcc -I. -I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c /usr/bin/cc -O -pipe -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-omit-frame-pointer -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config -I/usr/src/gnu/lib/csu/../../../contrib/gcc -I. -I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools -g0 -DCRT_BEGIN -c -o crtbegin.o /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c In file included from /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:63: /usr/src/gnu/lib/csu/../../../contrib/gcc/unwind-dw2-fde.h:37: field `array' has incomplete type /usr/src/gnu/lib/csu/../../../contrib/gcc/unwind-dw2-fde.h:135: field `augmentation' has incomplete type /usr/src/gnu/lib/csu/../../../contrib/gcc/unwind-dw2-fde.h:143: field `pc_begin' has incomplete type /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:254: warning: `used' attribute directive ignored /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c: In function `__do_global_dtors_aux': /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:256: syntax error before `completed' /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:259: `completed' undeclared (first use in this function) /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:259: (Each undeclared identifier is reported only once /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:259: for each function it appears in.) /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c: At top level: /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:298: warning: `used' attribute directive ignored *** Error code 1 Stop in /usr/src/gnu/lib/csu. *** 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. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Broken World in xlint/llib
Seeing some errors trying to buildworld with the xlint/llib-lposix. It appears the error is in stdarg.h. I am running version 1.14 of stdarg.h Line 43 in /usr/include/stdarg.h and /usr/include/machine/stdarg.h states: typedef _BSD_VA_LIST_ va_list; but in /usr/src/contrib/gcc/ginclude/stdarg.h it's version 1.5 (from latest CVSUP) it states #ifndef __GNUC_VA_LIST Not sure what I can do to fix this problem...I did a "make includes" before issuing the make buildworld. Any help would be appreciated. -Troy ===> usr.bin/xlint/llib lint -cghapbx -Cposix /usr/src/usr.bin/xlint/llib/llib-lposix llib-lposix: stdarg.h:43: syntax error [249] stdarg.h:110: syntax error [249] time.h:141: warning: conversion from 'unsigned long long' may lose accuracy [132 ] time.h:158: warning: conversion from 'unsigned long long' may lose accuracy [132 ] time.h:165: warning: conversion from 'long' may lose accuracy [132] llib-lposix:306: syntax error [249] llib-lposix:307: syntax error [249] llib-lposix:308: syntax error [249] llib-lposix:308: cannot recover from previous errors [224] *** Error code 1 Stop in /usr/src/usr.bin/xlint/llib. *** Error code 1 Stop in /usr/src/usr.bin/xlint. *** Error code 1 Stop in /usr/src/usr.bin. *** Error code 1 top in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Kernel breakage in XE module
Been trying to buildkernel, and as of about 2 weeks ago something happened to the XE module. Anyone have some ideas? -Troy ===> xe @ -> /usr/src/sys machine -> /usr/src/sys/i386/include awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pccard/card_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h rm -f .depend CC='/usr/bin/cc' mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev -I@/../include -I/usr/obj/usr/src/i386/usr/include /usr/src/sys/mod ules/xe/../../dev/xe/if_xe.c /usr/src/sys/modules/xe/../../dev/xe/if_xe_pccard.c cd /usr/obj/usr/src/sys/SINDROME; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec GROFF_BIN_PATH= /usr/obj/usr/src/i386/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac DESTDIR=/usr/obj/usr/src/i386 INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/l ibexec make KERNEL=kernel all /usr/bin/cc -c -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winl ine -Wcast-qual -Wno-format -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src /sys/dev -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/us r/src/sys/../include -D_KERNEL -ffreestanding -include opt_global.h -fno-common -mpreferred-stack-boundary=2 -ffreestanding /usr/src/sys/i386/i386/locore.s {standard input}: Assembler messages: {standard input}:1684: Warning: rest of line ignored; first ignored character is `t' {standard input}:1686: Error: unknown pseudo-op: `.' {standard input}:1801: Error: missing ')' {standard input}:1801: Error: missing ')' {standard input}:1801: Error: junk `tmpstk)- 0xc000)' after expression *** Error code 1 Stop in /usr/obj/usr/src/sys/SINDROME. *** Error code 1 Stop in /usr/src. *** Error code 1 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make buildkernel problem
I've been running into this problem for the past few days where make buildkernel fails. I've cvs'd multiple times hoping it would get cleared up...any ideas? -Troy ===> xe @ -> /usr/src/sys machine -> /usr/src/sys/i386/include awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pccard/card_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h rm -f .depend CC='/usr/bin/cc' mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev -I@/../include -I/usr/obj/usr/src/i386/usr/include /usr/src/sys/mod ules/xe/../../dev/xe/if_xe.c /usr/src/sys/modules/xe/../../dev/xe/if_xe_pccard.c cd /usr/obj/usr/src/sys/SINDROME; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec GROFF_BIN_PATH= /usr/obj/usr/src/i386/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac DESTDIR=/usr/obj/usr/src/i386 INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin OBJFORMAT_PATH=/usr/obj/usr/src/i386/-mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/i386/i386/locore.s {standard input}: Assembler messages: {standard input}:1684: Warning: rest of line ignored; first ignored character is `t' {standard input}:1686: Error: unknown pseudo-op: `.' {standard input}:1801: Error: missing ')' {standard input}:1801: Error: missing ')' {standard input}:1801: Error: junk `tmpstk)- 0xc000)' after expression *** Error code 1 Stop in /usr/obj/usr/src/sys/SINDROME. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
S3 Savage on Thinkpad T23 using -CURRENT
Michael, Thanks for posting your Thinkpad T23 configuration. A lot has changed with regards to kernel configuration from STABLE to CURRENT. The outstanding issue with the Thinkpad T23 in CURRENT is still the S3 SAVAGE video card. I've had two folks mail their working XF86Config files (used in STABLE) to me and they still do not produce resolution above 1024x768. It appears that the problem is because the video card is not being recognized by the pci configuration (as noted by non0@pci1:0:0:). I'll try posting this on the current and multimedia mailing lists to see if anyone has an idea. pciconf -l -v none0@pci1:0:0: class=0x03 card=0x01fc1014 chip=0x8c2e5333 rev=0x05 hdr=0x00 vendor = 'S3 Incorporated' device = '86C583 SuperSavage/IXC SDR' class= display subclass = VGA To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
world broken in yppasswd_svc.c
yppasswd_svc.c: In function 'yppasswdprog_1': yppasswd_svc.c:100: warning passing arg 1 of '_msgout' discards qualifiers from pointer target types ***Error code 1 1 error ***Error code 2 1 error ***Error code 2 1 error ***Error code 2 1 error ***Error code 2 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message