Bug 118147

Summary: 7.0-BETA2 buildworld fails in contrib/tcsh
Product: Base System Reporter: yuri
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.0-BETA2   
Hardware: Any   
OS: Any   

Description yuri 2007-11-20 10:10:01 UTC
Failure is on 7.0-BETA2 i386 system.

cc -I/usr/local/include -O3 -fno-strict-aliasing -pipe -DTEXT_DOMAIN=\"nodomain\
"  -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL=
'"/bin/csh"' -DHAVE_ICONV -Wno-pointer-sign -c tc.defs.c
cc -I/usr/local/include -O3 -fno-strict-aliasing -pipe -DTEXT_DOMAIN=\"nodomain\
"  -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL=
'"/bin/csh"' -DHAVE_ICONV -Wno-pointer-sign -c /usr/src/bin/csh/iconv_stub.c
cc -I/usr/local/include -O3 -fno-strict-aliasing -pipe -DTEXT_DOMAIN=\"nodomain\
"  -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL=
'"/bin/csh"' -DHAVE_ICONV -Wno-pointer-sign  -o csh sh.o sh.dir.o sh.dol.o sh.er
r.o sh.exec.o sh.char.o sh.exp.o sh.file.o sh.func.o sh.glob.o sh.hist.o sh.init
.o sh.lex.o sh.misc.o sh.parse.o sh.print.o sh.proc.o sh.sem.o sh.set.o sh.time.
o glob.o mi.termios.o tw.help.o tw.init.o tw.parse.o tw.spell.o tw.comp.o tw.col
or.o ed.chared.o ed.defns.o ed.init.o ed.inputl.o ed.refresh.o ed.screen.o ed.xm
ap.o ed.term.o tc.alloc.o tc.bind.o tc.const.o tc.disc.o tc.func.o tc.nls.o tc.o
s.o tc.printf.o tc.prompt.o tc.sched.o tc.sig.o tc.str.o tc.vers.o tc.who.o tc.d
efs.o iconv_stub.o -ltermcap -lcrypt
sh.func.o(.text+0x45): In function `nlsclose':
: undefined reference to `libiconv_close'
sh.func.o(.text+0x2b2d): In function `nlsinit':
: undefined reference to `libiconv_open'
sh.func.o(.text+0x2c63): In function `iconv_catgets':
: undefined reference to `libiconv'
sh.func.o(.text+0x3a6d): In function `dounsetenv':

Fix: 

n/a
Comment 1 Remko Lodder freebsd_committer freebsd_triage 2007-11-20 10:48:34 UTC
State Changed
From-To: open->closed

I was unable to reproduce this and I build beta2 a lot of times, beta3 
also does not have that issue, can you upgrade your software tree to 
make sure it is up to date and retry.
Comment 2 Mark Linimon 2007-11-20 14:53:03 UTC
If you're getting multiple failures in buildworld, you need to check
to see whether you have any stale sources, or that your RAM  is
failing.

mcl
Comment 3 Yuri Pankov 2007-11-20 15:07:35 UTC
Problem here is with sumbitter's CFLAGS. It can be easily reproduced.

> cc -I/usr/local/include -O3 -fno-strict-aliasing -pipe
     ^^^^^^^^^^^^^^^^^^^^