From owner-freebsd-current@FreeBSD.ORG Sun Aug 14 20:07:13 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E15B01065791 for ; Sun, 14 Aug 2011 20:07:12 +0000 (UTC) (envelope-from niclas.zeising@gmail.com) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DA028FC15 for ; Sun, 14 Aug 2011 20:07:12 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 9B4AB40026 for ; Sun, 14 Aug 2011 22:07:11 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 9087540024; Sun, 14 Aug 2011 22:07:11 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL,FREEMAIL_FROM autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (mx.daemonic.se [IPv6:2001:470:dca9:0:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 011FA40023; Sun, 14 Aug 2011 22:07:11 +0200 (CEST) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2001:470:dca9:0:1::4]) by mx.daemonic.se (Postfix) with ESMTPS id DA869119C2D; Sun, 14 Aug 2011 22:07:10 +0200 (CEST) Received: from [IPv6:2001:470:dca9:1::4] (vivi.daemonic.se [IPv6:2001:470:dca9:1::4]) by mail.daemonic.se (Postfix) with ESMTPSA id C29E312B0A0; Sun, 14 Aug 2011 22:07:10 +0200 (CEST) Message-ID: <4E482AE8.8090603@gmail.com> Date: Sun, 14 Aug 2011 22:07:04 +0200 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: "Oleg V. Nauman" References: <20110814215824.261018hmv7stjtus@webmail.opentransfer.com> In-Reply-To: <20110814215824.261018hmv7stjtus@webmail.opentransfer.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-current@freebsd.org Subject: Re: Recent HEAD: buildworld is broken with clang X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 14 Aug 2011 20:07:13 -0000 On 2011-08-14 20:58, Oleg V. Nauman wrote: > ===> libexec (all) > ===> libexec/atrun (all) > clang -O -pipe -march=i686 -mtune=i686 -DATJOB_DIR=\"/var/at/jobs/\" > -DLFILE=\"/var/at/jobs/.lockfile\" -DLOADAVG_MX=1.5 > -DATSPOOL_DIR=\"/var/at/spool\" -DVERSION=\"2.9\" -DDAEMON_UID=1 > -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -DDEFAULT_AT_QUEUE=\'c\' > -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at > -I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -std=gnu99 -fstack-protector > -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized > -Wno-pointer-sign -c /usr/src/libexec/atrun/atrun.c > clang -O -pipe -march=i686 -mtune=i686 -DATJOB_DIR=\"/var/at/jobs/\" > -DLFILE=\"/var/at/jobs/.lockfile\" -DLOADAVG_MX=1.5 > -DATSPOOL_DIR=\"/var/at/spool\" -DVERSION=\"2.9\" -DDAEMON_UID=1 > -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -DDEFAULT_AT_QUEUE=\'c\' > -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at > -I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -std=gnu99 -fstack-protector > -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized > -Wno-pointer-sign -c /usr/src/libexec/atrun/gloadavg.c > clang -O -pipe -march=i686 -mtune=i686 -DATJOB_DIR=\"/var/at/jobs/\" > -DLFILE=\"/var/at/jobs/.lockfile\" -DLOADAVG_MX=1.5 > -DATSPOOL_DIR=\"/var/at/spool\" -DVERSION=\"2.9\" -DDAEMON_UID=1 > -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -DDEFAULT_AT_QUEUE=\'c\' > -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at > -I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -std=gnu99 -fstack-protector > -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized > -Wno-pointer-sign -o atrun atrun.o gloadavg.o -lpam -lutil > clang: warning: argument unused during compilation: '-std=gnu99' > /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyylex' > /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyyin' > /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyytext' > /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyyerror' > /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyylineno' > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > *** Error code 1 > > Stop in /usr/src/libexec/atrun. > *** Error code 1 > > Stop in /usr/src/libexec. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > This is fixed. I had no trouble building r224865 some hours ago. This issue might be related to the fix in r224842, Try to rebuild just the kernel, and boot to the new kernel before doing another buildworld. HTH! -- Niclas Zeising