Re: Help I borke my 7.0 AMD64

From: Kris Kennaway <kris_at_FreeBSD.org>
Date: Mon, 24 Sep 2007 21:13:48 +0200
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
Received on Mon Sep 24 2007 - 17:13:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:18 UTC