From owner-freebsd-toolchain@FreeBSD.ORG Mon Aug 18 00:45:18 2014 Return-Path: Delivered-To: freebsd-toolchain@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 9129D1D4; Mon, 18 Aug 2014 00:45:18 +0000 (UTC) Received: from mail-pd0-x235.google.com (mail-pd0-x235.google.com [IPv6:2607:f8b0:400e:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 59A103637; Mon, 18 Aug 2014 00:45:18 +0000 (UTC) Received: by mail-pd0-f181.google.com with SMTP id g10so6477175pdj.12 for ; Sun, 17 Aug 2014 17:45:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:date:message-id:cc:to:mime-version; bh=R4rNsNe9HDzMHlFMpGSI41l+k7SbcBb7wiXVaQIcvOw=; b=aBfe6zi/Z+9ghsgXXamF7xvZf3kF/lS7K7O2gPo6EwjtzPjcFQy40b0N+0favup3jI 3xQiD7gOBwCw+Uopz+WuXvJ/5M3GOMJkuMGwMhsfsC44QqNlU58Lw9dx7u4KWmaFmYYj vAmo2Gff5uPt/0sJUIJw50YQ6xqgkfz5GS7Mo42md/az48BVxrZYu/M3h8gz1c3BD0Q9 s7cSAKdXFGLTRxb5LQ5ETJzmCJoB5SJabxke/4IN2nB28+YCzShimpSfI3l0Mr9lctW/ c+ezY/GpsTv9fvBGcJrUp1sq7hbbjXL2PUwj1SZ1vB5P2yuLA2CJI1mHXGs/bXB+IJGd 7lUw== X-Received: by 10.66.146.35 with SMTP id sz3mr5535549pab.148.1408322717966; Sun, 17 Aug 2014 17:45:17 -0700 (PDT) Received: from ?IPv6:2601:8:ab80:7d6:6141:3ac5:a5e:e44? ([2601:8:ab80:7d6:6141:3ac5:a5e:e44]) by mx.google.com with ESMTPSA id jz10sm5680061pbd.33.2014.08.17.17.45.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 17 Aug 2014 17:45:17 -0700 (PDT) From: yaneurabeya@gmail.com Content-Type: multipart/signed; boundary="Apple-Mail=_07169DB2-A0C5-4369-AEA4-755923BAB037"; protocol="application/pgp-signature"; micalg=pgp-sha512 Subject: RFC: replace LIBCURSES with LIBNCURSES and remove LIBCURSES? Date: Sun, 17 Aug 2014 17:45:15 -0700 Message-Id: <1002D403-6259-42B8-A17F-F301D4D0AD89@gmail.com> To: freebsd-toolchain@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) Cc: Julio Merino , Bruce Evans X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2014 00:45:18 -0000 --Apple-Mail=_07169DB2-A0C5-4369-AEA4-755923BAB037 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi Bruce and -toolchain@! Are there any pitfalls foreseen with replacing LIBCURSES with = LIBNCURSES and removing LIBCURSES from bsd.libnames.mk? While investigating "make checkdpadd=94 errors for PR 192762 ( = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192762 ), I noticed = that some of the Makefiles referenced LIBCURSES* while the bulk majority = referenced LIBNCURSES*. libcurses* is symlinked to libncurses* though: # ls -l /usr/lib/libcurses* lrwxr-xr-x 1 root wheel 12 Aug 16 19:08 /usr/lib/libcurses.a -> = libncurses.a lrwxr-xr-x 1 root wheel 13 Aug 16 19:08 /usr/lib/libcurses.so -> = libncurses.so lrwxr-xr-x 1 root wheel 13 Aug 16 19:08 /usr/lib/libcursesw.a -> = libncursesw.a lrwxr-xr-x 1 root wheel 14 Aug 16 19:08 /usr/lib/libcursesw.so -> = libncursesw.so I don=92t have a full history for why there=92s a discrepancy = between the two because it predates me (I assume it has to deal with = moving from BSD curses to ncurses though...), but LIBCURSES has been = around for quite a while ( = http://svnweb.freebsd.org/base/head/share/mk/bsd.prog.mk?annotate=3D1639&p= athrev=3D18052 ). Thanks! -Garrett --Apple-Mail=_07169DB2-A0C5-4369-AEA4-755923BAB037 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJT8UybAAoJEMZr5QU6S73eFZgH/3fCrgoeaCm630nlyESYBWev qe91yLHD/N85fgzqaXKXQv6/vD3m89JW2NKSlbV52lKL4xOvK1pyzgiGl6qpQDuX UocShVJP8SU8NAu8fV4d7PM9pYCBP/ZUD6TvjyNClCWUOx2kHE3qieQDBbTIxePU VmDrDx3z1k0YAtlKvDgsiqVRCO5Bug80FsYytH9g7KUfKjtC29HqAdZMK3fm65QR LsWhbIUs9wxRJ2EEyCl49vf0qBH0E4t91kfdtVl6lgOSwdWVFch5xLV0SNK+T0nq pDzlM4duKoccN+ZyEyNI8wt5qUmPqX5k8v56Rr1MtY08ghn/kh9n9ODQj2Oo3dk= =3TsG -----END PGP SIGNATURE----- --Apple-Mail=_07169DB2-A0C5-4369-AEA4-755923BAB037-- From owner-freebsd-toolchain@FreeBSD.ORG Sat Aug 23 03:54:32 2014 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D69C46B for ; Sat, 23 Aug 2014 03:54:32 +0000 (UTC) Received: from natasha.panasas.com (natasha.panasas.com [209.166.131.148]) by mx1.freebsd.org (Postfix) with ESMTP id 2EE9C3829 for ; Sat, 23 Aug 2014 03:54:32 +0000 (UTC) Received: from seabiscuit.panasas.com (seabiscuit.panasas.com [172.17.132.204]) by natasha.panasas.com (8.13.1/8.13.1) with ESMTP id s7MIk2Qt009460 for ; Fri, 22 Aug 2014 14:46:03 -0400 Received: from SEABISCUIT.int.panasas.com ([172.17.132.204]) by seabiscuit ([172.17.132.204]) with mapi id 14.03.0181.006; Fri, 22 Aug 2014 11:46:03 -0700 From: "Sinha, Prokash" To: "freebsd-toolchain@freebsd.org" Subject: coverage option in clang of freebsd10 Thread-Topic: coverage option in clang of freebsd10 Thread-Index: AQHPvjlSPyw5HTdrBke87fdX8hxYgQ== Date: Fri, 22 Aug 2014 18:46:02 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.17.133.204] Content-Type: text/plain; charset="Windows-1252" Content-ID: <39ADF8DF4ED85D4FA4A9296F8DDC6C9E@panasas.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2014 03:54:32 -0000 Hello, I was trying to get the clang/llvm going using coverage option, but it miss= es some archive lib. echo "int main(void){}" | clang --coverage -v -xc - FreeBSD pgh-octal-12-8 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Ja= n 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENER= IC amd64 echo "int main(void){}" | clang --coverage -v -xc - FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Target: x86_64-unknown-freebsd10.0 Thread model: posix "/usr/bin/clang" -cc1 -triple x86_64-unknown-freebsd10.0 -emit-obj -mrelax= -all -disable-free -disable-llvm-verifier -main-file-name - -mrelocation-mo= del static -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-t= ables -target-cpu x86-64 -v -femit-coverage-notes -femit-coverage-data -res= ource-dir /usr/bin/../lib/clang/3.3 -fdebug-compilation-dir /net/panwest/sb= 14/sivak/clang-binaries-for-freebsd9-amd64/clang+llvm-3.3-amd64-freebsd9/bi= n -ferror-limit 19 -fmessage-length 128 -mstackrealign -fobjc-runtime=3Dgnu= step -fobjc-default-synthesize-properties -fdiagnostics-show-option -fcolor= -diagnostics -backend-option -vectorize-loops -o /tmp/--nHTJFB.o -x c - clang -cc1 version 3.3 based upon LLVM 3.3 default target x86_64-unknown-fr= eebsd10.0 ignoring nonexistent directory "/usr/bin/../lib/clang/3.3/include" #include "..." search starts here: #include <...> search starts here: /usr/include/clang/3.3 /usr/include End of search list. "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-s= tyle=3Dboth --enable-new-dtags -o a.out /usr/lib/crt1.o /usr/lib/crti.o /us= r/lib/crtbegin.o -L/usr/lib /tmp/--nHTJFB.o -lgcc --as-needed -lgcc_s --no-= as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /u= sr/lib/crtn.o /usr/bin/../lib/libprofile_rt.a /usr/bin/ld: /usr/bin/../lib/libprofile_rt.a: No such file: No such file or= directory clang: error: linker command failed with exit code 1 (use -v to see invocat= ion) clang -v FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Target: x86_64-unknown-freebsd10.0 Thread model: posix Remark =96 An earlier version works - -prokash