From owner-freebsd-toolchain@freebsd.org Mon Feb 1 16:42:07 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F6FFA9785C for ; Mon, 1 Feb 2016 16:42:07 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf0-x22d.google.com (mail-pf0-x22d.google.com [IPv6:2607:f8b0:400e:c00::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F16A61EF9 for ; Mon, 1 Feb 2016 16:42:06 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf0-x22d.google.com with SMTP id 65so86502394pfd.2 for ; Mon, 01 Feb 2016 08:42:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=7x+JGbwVnZ0Bo0qKBEpaftnvzvXcwuBov0aDbJ9wHmU=; b=axtgWOaYs0CcGbpoEWq9i5K7qAeAD5Vxuq8faRC+LwVqJCMeANe4+cU/AHwPooxB2J dg4lRpp16Ai7RIcmiSbCd4vDyVSz9R4bgcUURIsJOuF/y0m7HbhTizTOaJtbNZGcmKyZ 1eC1UwsbpkegMrP1lOm1ARd2QJXhaIhj4lifkGUB1QDmaj39IpspHfLQjEIluz04bY8m KIgp61tOji/v1RYIUijY+Z+KV/bjyjBeFgqXaY+WAKFxnECUKb5ws4Q+TUT3Q2v+7CRW Lagsv/MVk0W3+Nu3gJv6C6ZbWXBC90omY8Wqhs8jMKqCI8vYJCGI7aTfa4VuZXVOlOgW x2Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:reply-to:subject:references:to:cc:from :message-id:date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=7x+JGbwVnZ0Bo0qKBEpaftnvzvXcwuBov0aDbJ9wHmU=; b=aJBF6cgg/mtaYFyW9kggfCQ6ztwGYGIEJFHIKJ8ZJbrKxMuFD/FEGeTVXkTFM76xIk fHvNOD9trAq1XOl5I+M8HvcGczv8Czfpbu8ayXl2xfAo2jndYLwfqINzD44TaYM89DWg HwH4HxkY5AN/Vs4j2LswxbhG4fj8A5ZWfO1X6jAi/5sLttLbPoDnDF6MSKKZ40FQj/MK ZihAs6yv9eFN6oSlapa92XTpx2GAhnJMNma0et76f8aUwoZwjndnw+1XSJQRimI3htc0 93S5qoTc1J21dRR7GJp9i52YGutMlQ/MkG0FAQTFwqdRtwHLPVSHf5l6eE1hkP6ZU3ip 2FhA== X-Gm-Message-State: AG10YOSK7zgVeuBlFxTb4Lon6SVhWC3T9aDsWYO4jvWL3mpawoZo7zFzn4qrOxdtSvoc0Q== X-Received: by 10.98.34.198 with SMTP id p67mr30167484pfj.93.1454344926399; Mon, 01 Feb 2016 08:42:06 -0800 (PST) Received: from ?IPv6:2001:44b8:31ae:7b01:4c01:5dfa:1e09:7219? (2001-44b8-31ae-7b01-4c01-5dfa-1e09-7219.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:4c01:5dfa:1e09:7219]) by smtp.gmail.com with ESMTPSA id yy17sm345945pac.2.2016.02.01.08.42.04 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Feb 2016 08:42:06 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: GCC5: pkg vs. ports References: <56AF81BF.8050707@hiwaay.net> <56AF8A1B.7030800@hiwaay.net> To: "William A. Mahaffey III" Cc: FreeBSD toolchain mailing list !!!! From: Kubilay Kocak Message-ID: <56AF8AD8.3000802@FreeBSD.org> Date: Tue, 2 Feb 2016 03:42:00 +1100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Thunderbird/44.0 MIME-Version: 1.0 In-Reply-To: <56AF8A1B.7030800@hiwaay.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 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, 01 Feb 2016 16:42:07 -0000 On 2/02/2016 3:37 AM, William A. Mahaffey III wrote: > On 02/01/16 10:18, Kubilay Kocak wrote: >> >> Hi William, >> >> You may be seeing a previously saved config, try make rmconfig then >> check again, or look at OPTIONS_DEFAULT inside Makefile >> >> You're correct, if graphite *is* a default option, the package should >> have it . Only other thing I can think of is a silent graphite build >> failure that isn't fatal, resulting in a built but incomplete package. >> Unlikely all else being equal though >> >> Let us know what you find >> >> ./koobs >> >> On 2 Feb 2016 3:06 AM, "William A. Mahaffey III" > > wrote: >> >> >> >> I just did a full 'pkg upgrade' on my FBSD 9.3R box, which >> installed the newest GCC5. I also updated ports. When I used the >> pkg-provided GCC5, it doesn't have graphite support enabled, so no >> auto-parallelization. When I checked the port w/ make showconfig. >> it shows graphite enabled. I am recompiling it as I write this, >> but I thought the pkg was/is configured from the port & would have >> graphite enabled by default, w/ no recompile needed on my part, no >> ? I have the various other pkg's req'd for graphite support >> pkg-installed (& just updated this A.M.), so I thought I was ready >> to go. Not a huge issue, but recompiling the compiler shoots about >> an hour on my box, would be sweet to avoid that. TIA for any clues >> & have a good one. >> >> >> -- >> William A. Mahaffey III >> >> >> ---------------------------------------------------------------------- >> >> "The M1 Garand is without doubt the finest implement of war >> ever devised by man." >> -- Gen. George S. Patton Jr. >> >> _______________________________________________ >> freebsd-toolchain@freebsd.org >> mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain >> To unsubscribe, send any mail to >> "freebsd-toolchain-unsubscribe@freebsd.org >> " >> > > > My build failed right at the end: > > # Add target libraries and include files to packaging list. > /bin/rm -f -f /usr/ports/lang/gcc5-devel/work/PLIST.lib > cd /usr/ports/lang/gcc5-devel/work/stage/usr/local ; if [ -d lib/gcc5 ]; > then /usr/bin/find lib/gcc5 -type f -o -type l >>>/usr/ports/lang/gcc5-devel/work/PLIST.lib ; fi > cd /usr/ports/lang/gcc5-devel/work/stage/usr/local ; if [ -d > libexec/gcc5 ]; then /usr/bin/find libexec/gcc5 -type f -o -type l >>>/usr/ports/lang/gcc5-devel/work/PLIST.lib ; fi > cd /usr/ports/lang/gcc5-devel/work/stage/usr/local ; if [ -d include/gcj > ]; then /usr/bin/find include/gcj -type f -o -type l >>>/usr/ports/lang/gcc5-devel/work/PLIST.lib ; fi > cd /usr/ports/lang/gcc5-devel/work/stage/usr/local ; if [ -d include/gnu > ]; then /usr/bin/find include/gnu -type f -o -type l >>>/usr/ports/lang/gcc5-devel/work/PLIST.lib ; fi > cd /usr/ports/lang/gcc5-devel/work/stage/usr/local ; if [ -d > include/java ]; then /usr/bin/find include/java -type f -o -type l >>>/usr/ports/lang/gcc5-devel/work/PLIST.lib ; fi > cd /usr/ports/lang/gcc5-devel/work/stage/usr/local ; if [ -d > include/javax ]; then /usr/bin/find include/javax -type f -o -type l >>>/usr/ports/lang/gcc5-devel/work/PLIST.lib ; fi > cd /usr/ports/lang/gcc5-devel/work ; /usr/bin/sed -i -e "/PLIST.lib/ r > PLIST.lib" /usr/ports/lang/gcc5-devel/work/.PLIST.mktmp > ====> Compressing man pages (compress-man) > ===> Installing ldconfig configuration file > ===> Installing for gcc5-devel-5.3.1.s20160126 > ===> Checking if gcc5-devel already installed > ===> An older version of gcc5-devel is already installed > (gcc5-devel-5.3.1.s20160119) > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of gcc5-devel > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** [check-already-installed] Error code 1 > > Stop in /usr/ports/lang/gcc5-devel. > *** [install] Error code 1 > > Stop in /usr/ports/lang/gcc5-devel. > 2983.69 real 9852.39 user 807.15 sys > > Completed at 10:33:36 AM MCST on Monday, February 1, 2016 > > > i.e. it wouldn't overwrite the pkg-installed version (I think). I (think > I) recall having to do a 'make FORCE_PKG_REGISTER=1 install' or some > such before, or just use the version down in the stage directory .... > > I note the GRAPHITE option defaults to OFF in gcc5-devel as well. Regarding the install issue, try: * make clean reinstall, OR * remove the pkg then make clean install If you need further help, freebsd-ports is the most appropriate list, feel free to reply there :) ./koobs