Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2013 21:11:25 -0500
From:      Derrick Dantavious Edwards <dantavious313@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   libc_nonshared.a missing on 10.0-RC1
Message-ID:  <1742153.PONhOqdgvi@badboy>

next in thread | raw e-mail | index | archive | help
	Hi all,
I was attempting to upgrade to 10.0-RC2 and I have run into the same problem as previously 
reported however, their fix is not working for me.

I get the following error when I attempt to buildworld.

--------------------------------------------------------------
>>> 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/t
mp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin  
WORLDTMP=/usr/obj/usr/src/tmp  VERSION="FreeBSD 10.0-RC2 amd64 1000510"  
MAKEFLAGS="-m /usr/src/tools/build/mk  -m /usr/src/share/mk"  COMPILER_TYPE=clang make  
-f Makefile.inc1  TARGET=amd64 TARGET_ARCH=amd64  DESTDIR=  
BOOTSTRAPPING=1000501  SSP_CFLAGS=  -DNO_LINT  -DNO_CPU_CFLAGS -DNO_WARNS -
DNO_CTF -DEARLY_BUILD 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 -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -
D_PATH_TCSHELL='"/bin/csh"' -std=gnu99 -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 -pipe -I. -I/usr/src/bin/csh -
I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"' -std=gnu99 -
I/usr/obj/usr/src/tmp/legacy/usr/include  /usr/src/bin/csh/../../contrib/tcsh/gethost.c
/usr/bin/ld: cannot find /usr/lib/libc_nonshared.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[3]: stopped in /usr/src/bin/csh
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1


When I attempt to make in /usr/src/lib/libc_nonshared as previously suggested, I get the 
following error.

/usr/src/lib/libc_nonshared # ls
Makefile        Makefile.iconv  __stub.c
root@datdude:/usr/src/lib/libc_nonshared # make
cc  -O2 -pipe  -fpic -DPIC -fvisibility=hidden -I/usr/src/lib/libc_nonshared/../libc/iconv -
std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-
format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-
arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -
Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-
definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-
plus-int -c /usr/src/lib/libc_nonshared/__stub.c -o __stub.o
cc  -O2 -pipe  -fpic -DPIC -fvisibility=hidden -I/usr/src/lib/libc_nonshared/../libc/iconv -
std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-
format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-
arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -
Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-
definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-
plus-int -c /usr/src/lib/libc_nonshared/../libc/iconv/__iconv.c -o __iconv.o
In file included from /usr/src/lib/libc_nonshared/../libc/iconv/__iconv.c:30:
/usr/include/iconv.h:43:10: fatal error: '_libiconv_compat.h' file not found
#include <_libiconv_compat.h>
         ^
1 error generated.
*** Error code 1

Stop.
make: stopped in /usr/src/lib/libc_nonshared

Finally, when I attempt to compile /usr/src/lib/libiconv, I get the following error. I dont know 
what to do at the point. Any assistance would be greatly appreciated.

-W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -
Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-
align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -
Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c 
/usr/src/lib/libiconv/../libc/iconv/citrus_esdb.c -o citrus_esdb.o
cc  -O2 -pipe  --param max-inline-insns-single=128 -I /usr/src/lib/libiconv/../../include -
I/usr/src/lib/libiconv/../libc/include -std=gnu99 -Qunused-arguments -fstack-protector -
Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -
Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-
externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-
pointer-sign -Wno-empty-body -Wno-string-plus-int -c 
/usr/src/lib/libiconv/../libc/iconv/citrus_hash.c -o citrus_hash.o
cc  -O2 -pipe  --param max-inline-insns-single=128 -I /usr/src/lib/libiconv/../../include -
I/usr/src/lib/libiconv/../libc/include -std=gnu99 -Qunused-arguments -fstack-protector -
Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -
Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-
externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-
pointer-sign -Wno-empty-body -Wno-string-plus-int -c 
/usr/src/lib/libiconv/../libc/iconv/citrus_iconv.c -o citrus_iconv.o
cc  -O2 -pipe  --param max-inline-insns-single=128 -I /usr/src/lib/libiconv/../../include -
I/usr/src/lib/libiconv/../libc/include -std=gnu99 -Qunused-arguments -fstack-protector -
Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -
Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-
externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-
pointer-sign -Wno-empty-body -Wno-string-plus-int -c 
/usr/src/lib/libiconv/../libc/iconv/citrus_lookup.c -o citrus_lookup.o
cc  -O2 -pipe  --param max-inline-insns-single=128 -I /usr/src/lib/libiconv/../../include -
I/usr/src/lib/libiconv/../libc/include -std=gnu99 -Qunused-arguments -fstack-protector -
Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -
Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-
externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-
pointer-sign -Wno-empty-body -Wno-string-plus-int -c 
/usr/src/lib/libiconv/../libc/iconv/citrus_lookup_factory.c -o citrus_lookup_factory.o
cc  -O2 -pipe  --param max-inline-insns-single=128 -I /usr/src/lib/libiconv/../../include -
I/usr/src/lib/libiconv/../libc/include -std=gnu99 -Qunused-arguments -fstack-protector -
Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -
Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-
externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-
pointer-sign -Wno-empty-body -Wno-string-plus-int -c 
/usr/src/lib/libiconv/../libc/iconv/citrus_mapper.c -o citrus_mapper.o
From owner-freebsd-stable@FreeBSD.ORG  Tue Dec 17 03:18:05 2013
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Delivered-To: freebsd-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 427C2199
 for <freebsd-stable@freebsd.org>; Tue, 17 Dec 2013 03:18:05 +0000 (UTC)
Received: from rush.bluerosetech.com (rush.bluerosetech.com [199.48.134.58])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 1FFC9106D
 for <freebsd-stable@freebsd.org>; Tue, 17 Dec 2013 03:18:04 +0000 (UTC)
Received: from chombo.houseloki.net (unknown
 [IPv6:2601:7:1680:cf0:21c:c0ff:fe7f:96ee])
 by rush.bluerosetech.com (Postfix) with ESMTPSA id B820411434;
 Mon, 16 Dec 2013 19:17:58 -0800 (PST)
Received: from [IPv6:2601:7:1680:cf0:a89f:a0ee:d554:9461] (unknown
 [IPv6:2601:7:1680:cf0:a89f:a0ee:d554:9461])
 by chombo.houseloki.net (Postfix) with ESMTPSA id C28BC44B;
 Mon, 16 Dec 2013 19:17:56 -0800 (PST)
Message-ID: <52AFC263.5070709@bluerosetech.com>
Date: Mon, 16 Dec 2013 19:17:55 -0800
From: Darren Pilgrim <list_freebsd@bluerosetech.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
 rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Ian Smith <smithi@nimnet.asn.au>
Subject: Re: FreeBSD 10-RC1 ISO image too big
References: <201312151625.rBFGPdWa037170@fire.js.berklix.net>
 <20131216152013.P4108@sola.nimnet.asn.au>
In-Reply-To: <20131216152013.P4108@sola.nimnet.asn.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-stable@freebsd.org
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/>;
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Dec 2013 03:18:05 -0000

On 12/15/2013 9:34 PM, Ian Smith wrote:
> Or does someone have a working script to make a bootable memstick from
> our DVD images?

Yes.  http://pastebin.com/fzgVaCgW

It's derived from the scripts in src/release and probably only works for 
amd64 and i386.



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