From owner-freebsd-current@FreeBSD.ORG Mon Jun 14 10:01:22 2010 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 9A65C1065677; Mon, 14 Jun 2010 10:01:22 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id 25A778FC1B; Mon, 14 Jun 2010 10:01:21 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id F178DBF41C; Mon, 14 Jun 2010 12:01:19 +0200 (CEST) Received: by vws20 with SMTP id 20so4783274vws.13 for ; Mon, 14 Jun 2010 03:01:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.52.155 with SMTP id i27mr2024725qag.225.1276509678271; Mon, 14 Jun 2010 03:01:18 -0700 (PDT) Received: by 10.229.247.142 with HTTP; Mon, 14 Jun 2010 03:01:18 -0700 (PDT) In-Reply-To: <20100614045806.GI1797@hoeg.nl> References: <20100613214600.GH1797@hoeg.nl> <4C156384.40105@FreeBSD.org> <4C1569B9.9060804@FreeBSD.org> <20100614045806.GI1797@hoeg.nl> Date: Mon, 14 Jun 2010 12:01:18 +0200 Message-ID: From: Alexander Best To: Ed Schouten Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Doug Barton , freebsd-current@freebsd.org Subject: Re: two buildworld problems 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: Mon, 14 Jun 2010 10:01:22 -0000 On Mon, Jun 14, 2010 at 6:58 AM, Ed Schouten wrote: > * Alexander Best wrote: >> CC=3Dgcc44 >> CXX=3Dg++44 >> CPP=3Dcpp44 > > As I mentioned before, "gcc44" and "/usr/local/bin/gcc44" are spelled > differently. yes, but the point is: i don't want gcc44 to be used at all during buildworld/buildkernel. so even if buildworld/buildkernel are chaging $PATH it shouldn't cause any problems because both targets should never use gcc44. i changed the values of CC/CXX/CPP like you suggested however because somewhere else (apart from /usr/src) $PATH might get changed somehow. what i'm now trying to do in order to having everything being built with gcc44 expect buildworld and buildkernel is this (in make.conf): .if !target(buildworld) && !target(buildkernel) && exists(/usr/local/bin/gc= c44) CC =3D /usr/local/bin/gcc44 CXX =3D /usr/local/bin/g++44 CPP =3D /usr/local/bin/cpp44 .endif i'm just running buildworld to see if it works. cheers. alex btw: making 'buildworld' with clang also failed when CXX was set to 'clang++' (CCC/CPP remained being set to 'clang'). here's the output: clang -O2 -pipe -fno-strict-aliasing -funroll-loops -march=3Dnative -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLF clang: warning: argument unused during compilation: '-funroll-loops'^M clang -O2 -pipe -fno-strict-aliasing -funroll-loops -march=3Dnative -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLF clang: warning: argument unused during compilation: '-funroll-loops'^M ^[[1m/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/rc5/rc5_s= key.c:122:11: ^[[0m^[[0;1;31merror: ^[[0m^[[1munsupported inline asm: input with type 'unsigned long' matching output with type 'unsigned int'^M ^[[0m A=3DS[ii]=3DROTATE_l32(k,3);^M ^[[0;1;32m ^~~~~~~~~~~~~~~^M ^[[0m/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/rc5/rc5_s= key.c:122:22: note: instantiated from:^M A=3DS[ii]=3DROTATE_l32(k,3);^M ^[[0;1;32m ^^M ^[[0m^[[1m/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/rc5/= rc5_skey.c:125:11: ^[[0m^[[0;1;31merror: ^[[0m^[[1munsupported inline asm: input with type 'unsigned long' matching output with type 'unsigned int'^M ^[[0m B=3DL[jj]=3DROTATE_l32(k,m);^M ^[[0;1;32m ^~~~~~~~~~~~~~~^M ^[[0m/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/rc5/rc5_s= key.c:125:22: note: instantiated from:^M B=3DL[jj]=3DROTATE_l32(k,m);^M ^[[0;1;32m ^^M ^[[0m2 errors generated.^M *** Error code 1^M ^M Stop in /usr/src/secure/lib/libcrypto.^M *** Error code 1^M ^M Stop in /usr/src.^M *** Error code 1^M ^M Stop in /usr/src.^M *** Error code 1^M ^M Stop in /usr/src.^M *** Error code 1^M ^M Stop in /usr/src.^M > > -- > =A0Ed Schouten > =A0WWW: http://80386.nl/ > --=20 Alexander Best