Subject: Big Problem with the new changes to libc
To: None <current-users@NetBSD.ORG>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: current-users
Date: 02/26/1995 16:44:25
Hello,
I dicieded to make an 'make cleandir' in src/lib/libc and then I run into some
problems:
1. Problem with src/lib/libc/arch/m68k/string/bcopy.S
/src/lib/libc/arch/m68k/string/bcopy.S:65: unterminated character constant
/src/lib/libc/arch/m68k/string/bcopy.S:69: `#else' not within a conditional
/src/lib/libc/arch/m68k/string/bcopy.S:72: unbalanced `#endif'
That was with a little help easy to fix:
*** bcopy.S-orig Thu Feb 9 12:02:24 1995
--- bcopy.S Sun Feb 26 11:50:42 1995
***************
*** 62,68 ****
#endif
#endif
movl sp@(12),d1 | check count
! beq bcdone | == 0, don't do anything
#if defined(MEMCOPY) || defined(MEMMOVE)
movl sp@(4),a1 | dest address
movl sp@(8),a0 | src address
--- 62,68 ----
#endif
#endif
movl sp@(12),d1 | check count
! beq bcdone | == 0, do not do anything
#if defined(MEMCOPY) || defined(MEMMOVE)
movl sp@(4),a1 | dest address
movl sp@(8),a0 | src address
2. When I made 'make install' I get this:
[root]/src/lib/libc# make install
ctags /src/lib/libc/db/btree/bt_close.c /src/lib/libc/db/btree/bt_conv.c
[..]
/src/lib/libc/sys/semctl.c /src/lib/libc/sys/truncate.c /src/lib/libc/yp/xdryp.c /src/lib/libc/yp/yplib.c
Duplicate entry in file /src/lib/libc/db/btree/bt_debug.c, line 118: X
Second entry ignored
Duplicate entry in file /src/lib/libc/db/btree/bt_debug.c, line 171: X
Second entry ignored
Duplicate entry in files /src/lib/libc/db/hash/hsearch.c and /src/lib/libc/db/hash/hash.c: hdestroy (Warning only)
Duplicate entry in file /src/lib/libc/gen/ctime.c, line 75: P
Second entry ignored
Duplicate entry in files /src/lib/libc/gen/fstab.c and /src/lib/libc/gen/disklabel.c: error (Warning only)
Duplicate entry in files /src/lib/libc/gen/getcwd.c and /src/lib/libc/gen/fts.c: ISDOT (Warning only)
Duplicate entry in files /src/lib/libc/gen/opendir.c and /src/lib/libc/gen/fts.c: __opendir2 (Warning only)
Duplicate entry in files /src/lib/libc/gen/times.c and /src/lib/libc/gen/clock.c: CONVTCK (Warning only)
Duplicate entry in files /src/lib/libc/gen/usleep.c and /src/lib/libc/gen/sleep.c: sleephandler (Warning only)
Duplicate entry in files /src/lib/libc/gen/vis.c and /src/lib/libc/gen/unvis.c: isoctal (Warning only)
Duplicate entry in files /src/lib/libc/regex/regexec.c and /src/lib/libc/gen/fts.c: ISSET (Warning only)
Duplicate entry in file /src/lib/libc/regex/regexec.c, line 114: CLEAR
Second entry ignored
Duplicate entry in file /src/lib/libc/regex/regexec.c, line 115: SET0
Second entry ignored
Duplicate entry in file /src/lib/libc/regex/regexec.c, line 116: SET1
Second entry ignored
Duplicate entry in file /src/lib/libc/regex/regexec.c, line 118: ASSIGN
Second entry ignored
Duplicate entry in file /src/lib/libc/regex/regexec.c, line 119: EQ
Second entry ignored
Duplicate entry in file /src/lib/libc/regex/regexec.c, line 121: STATESETUP
Second entry ignored
Duplicate entry in file /src/lib/libc/regex/regexec.c, line 124: STATETEARDOWN
Second entry ignored
Duplicate entry in file /src/lib/libc/regex/regexec.c, line 125: SETUP
Second entry ignored
Duplicate entry in file /src/lib/libc/regex/regexec.c, line 127: INIT
Second entry ignored
Duplicate entry in file /src/lib/libc/regex/regexec.c, line 128: INC
Second entry ignored
Duplicate entry in file /src/lib/libc/regex/regexec.c, line 129: ISSTATEIN
Second entry ignored
Duplicate entry in file /src/lib/libc/regex/regexec.c, line 132: FWD
Second entry ignored
Duplicate entry in file /src/lib/libc/regex/regexec.c, line 133: BACK
Second entry ignored
Duplicate entry in file /src/lib/libc/regex/regexec.c, line 134: ISSETBACK
Second entry ignored
Duplicate entry in files /src/lib/libc/rpc/svc.c and /src/lib/libc/rpc/pmap_rmt.c: max (Warning only)
Duplicate entry in files /src/lib/libc/rpc/svc_tcp.c and /src/lib/libc/rpc/clnt_tcp.c: readtcp (Warning only)
Duplicate entry in files /src/lib/libc/rpc/svc_tcp.c and /src/lib/libc/rpc/clnt_tcp.c: writetcp (Warning only)
Duplicate entry in files /src/lib/libc/stdio/vsscanf.c and /src/lib/libc/stdio/sscanf.c: eofread (Warning only)
Duplicate entry in files /src/lib/libc/stdlib/heapsort.c and /src/lib/libc/stdio/fvwrite.c: COPY (Warning only)
Duplicate entry in file /src/lib/libc/stdlib/malloc.c, line 128: ASSERT
Second entry ignored
Duplicate entry in files /src/lib/libc/stdlib/qsort.c and /src/lib/libc/stdlib/merge.c: swap (Warning only)
Duplicate entry in file /src/lib/libc/stdlib/strtod.c, line 206: Sign_Extend
Second entry ignored
Duplicate entry in file /src/lib/libc/stdlib/strtod.c, line 219: word0
Second entry ignored
Duplicate entry in file /src/lib/libc/stdlib/strtod.c, line 220: word1
Second entry ignored
Duplicate entry in file /src/lib/libc/stdlib/strtod.c, line 231: Storeinc
Second entry ignored
Duplicate entry in file /src/lib/libc/stdlib/strtod.c, line 335: rounded_product
Second entry ignored
Duplicate entry in file /src/lib/libc/stdlib/strtod.c, line 336: rounded_quotient
Second entry ignored
egrep -o "^ENTRY(.*)|^FUNC(.*)|^SYSCALL(.*)" /src/lib/libc/arch/m68k/gen/_setjmp.S
[..]
/src/lib/libc/arch/m68k/sys/syscall.S | sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$/;" >> tags; sort -o tags tags
egrep: illegal option -- o
usage: egrep [-[[AB] ]<num>] [-[CEFGVchilnqsvwx]] [-[ef]] <expr> [<files...>]
install -c -o bin -g bin -m 444 tags /var/db/libc.tags
install -c -o bin -g bin -m 444 libc.a /usr/lib
Why do I get now this Warning and who did the Makefile in src/lib/libc ?
egrep -o is wrong.
3. I installed this new libc in /usr/lib and next time I boot I get some core
dumps from: update, syslogd and sendmail.
Bernd