From owner-freebsd-stable@FreeBSD.ORG Mon Dec 26 16:27:23 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA159106566C for ; Mon, 26 Dec 2011 16:27:23 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B1D9C8FC08 for ; Mon, 26 Dec 2011 16:27:23 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so10073722obb.13 for ; Mon, 26 Dec 2011 08:27:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=dV7cDprNj860lEnQxgQe+XUYj4O9UkN8cIzWEkBK960=; b=tsn3ZzadvIJQy7yUhAeoi0TX6q/L6GANrb/sAoBt3mS2SQxzQdumasYKhWBS+iEiYh xtmv/A+Gywq+iiMphJmdQ+T4WY4WIu1iJ7QaEybdMGVTD/I5H/RecaKPcJwicm/ZbX0S oFZ8KBwLe8gNCW3NHkL8EUh9i9HPrzes8rzdM= MIME-Version: 1.0 Received: by 10.182.160.1 with SMTP id xg1mr22594862obb.30.1324915064250; Mon, 26 Dec 2011 07:57:44 -0800 (PST) Received: by 10.182.171.67 with HTTP; Mon, 26 Dec 2011 07:57:44 -0800 (PST) In-Reply-To: <4EF88D7B.4040600@gmail.com> References: <4EF88D7B.4040600@gmail.com> Date: Mon, 26 Dec 2011 18:57:44 +0300 Message-ID: From: Sergey Kandaurov To: Volodymyr Kostyrko Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: minor regression after patching X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 16:27:24 -0000 On 26 December 2011 19:06, Volodymyr Kostyrko wrote: > Hi all. > > Am I the only one seeing this on RELENG_9? > > =3D=3D=3D> libexec/ftpd (all) > clang -O2 -pipe =A0-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING > -I/usr/src/libexec/ftpd -Dmain=3Dls_main -I/usr/src/libexec/ftpd/../../bi= n/ls > -DINET6 -DUSE_PAM -std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall > -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign =A0-o ftpd ftpd.o > ftpcmd.o logwtmp.o popen.o ls.o cmp.o print.o util.o -lutil -lcrypt -lopi= e > -lmd -lm -lpam > clang: warning: argument unused during compilation: '-std=3Dgnu99' > ftpd.o: In function `pass': > /usr/src/libexec/ftpd/ftpd.c:(.text+0x2676): undefined reference to > `__FreeBSD_libc_enter_restricted_mode' > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > *** Error code 1 This means that linker has not found a mentioned symbol, i.e. likely you haven't updated your libc before trying to build ftpd. In this case you need to act the next order: 1) rebuild && reinstall libc 2) rebuild && reinstall ftpd --=20 wbr, pluknet