Help I borke my 7.0 AMD64

Kris Kennaway kris at FreeBSD.org
Mon Sep 24 12:13:51 PDT 2007


Abdullah Ibn Hamad Al-Marri wrote:
> Hello,
> 
> I used potsclean, and it broke my GCC enviroment.

What is potsclean?

> I can't make buildworld anymore.
> 
>>>> stage 2.3: build tools
> --------------------------------------------------------------
> cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL="sh
> /usr/src/tools/install.sh"
> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
>  WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS="-m /usr/src/tools/build/mk
> -m /usr/src/share/mk" /usr/obj/usr/src/make.amd64/make -f
> Makefile.inc1  TARGET=amd64 TARGET_ARCH=amd64  DESTDIR=
> BOOTSTRAPPING=700052 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools
> ===> bin/csh (obj,build-tools)
> grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
> '^#define' >> sh.err.h
> cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
> -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"'
> -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
> /usr/src/bin/csh/../../contrib/tcsh/tc.const.c
> /usr/src/bin/csh/../../contrib/tcsh/sh.char.h
> /usr/src/bin/csh/config.h
> /usr/src/bin/csh/../../contrib/tcsh/config_f.h
> /usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const
> | grep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern
> Char \1[];/' |  sort >> tc.const.h
> cc -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2
> -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
> -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"'
> -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
> /usr/src/bin/csh/../../contrib/tcsh/gethost.c
> /usr/bin/ld: cannot find -lgcc_s

You will need to obtain another copy of this library.  Either you could 
download a 7.0 snapshot and extract it from that, or maybe just 
reinstall if that is more trouble than you want to deal with.

Kris



More information about the freebsd-questions mailing list