From owner-freebsd-current@FreeBSD.ORG Fri Aug 23 08:16:51 2013 Return-Path: Delivered-To: freebsd-current@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 ESMTP id 22982402 for ; Fri, 23 Aug 2013 08:16:51 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 749B02516 for ; Fri, 23 Aug 2013 08:16:50 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id LAA26214 for ; Fri, 23 Aug 2013 11:16:42 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1VCmXy-000PDt-EI for freebsd-current@FreeBSD.org; Fri, 23 Aug 2013 11:16:42 +0300 Message-ID: <52171A46.5080101@FreeBSD.org> Date: Fri, 23 Aug 2013 11:16:06 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130810 Thunderbird/17.0.8 MIME-Version: 1.0 To: FreeBSD Current Subject: problem building stable/{9,8} toolchains on head X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=X-VIET-VPS Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Aug 2013 08:16:51 -0000 I am trying to build stable/{9,8} GENERIC kernels on a recent-ish head system (cc is clang). To be sure I first try to build the respective tool-chains using the following process: 1. make make 2. /usr/obj/path/to/make toolchain WITHOUT_CLANG=1 NO_WERROR=yes WERROR= WERROR stuff is to increase chances of a successful build. I am getting the following errors though. stable/9: building shared library libc.so.7 /usr/bin/ld: cap_getrights.So: relocation R_X86_64_32S against `SYS_cap_getrights' can not be used when making a shared object; recompile with -fPIC stable/8: cc -O2 -pipe -O2 -fno-strict-aliasing -pipe -march=amdfam10 -I/usr/devel/svn/base/stable/8/lib/libc/include -I/usr/devel/svn/base/stable/8/lib/libc/../../include -I/usr/devel/svn/base/stable/8/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE -I/usr/devel/svn/base/stable/8/lib/libc/../../contrib/gdtoa -I/usr/obj/usr/devel/svn/base/stable/8/lib/libc -I/usr/devel/svn/base/stable/8/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -DMALLOC_PRODUCTION -I/usr/devel/svn/base/stable/8/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/devel/svn/base/stable/8/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c syscall.S /usr/devel/svn/base/stable/8/lib/libc/include/compat.h:41:38: error: expected a '@' in the name .symver freebsd7___semctl , __semctl @ FBSD_1.0; ^ /usr/devel/svn/base/stable/8/lib/libc/include/compat.h:42:34: error: expected a '@' in the name .symver freebsd7_msgctl , msgctl @ FBSD_1.0; ^ /usr/devel/svn/base/stable/8/lib/libc/include/compat.h:43:34: error: expected a '@' in the name .symver freebsd7_shmctl , shmctl @ FBSD_1.0; ^ I would appreciate any help with getting this straightened. -- Andriy Gapon