Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2007 21:13:48 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Abdullah Ibn Hamad Al-Marri <almarrie@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Help I borke my 7.0 AMD64
Message-ID:  <46F80C6C.2030002@FreeBSD.org>
In-Reply-To: <499c70c0709241203g1e1dae49r4f51f0cd9086492b@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

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



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46F80C6C.2030002>