From owner-freebsd-ports@FreeBSD.ORG Wed May 30 16:29:17 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8213106566B for ; Wed, 30 May 2012 16:29:17 +0000 (UTC) (envelope-from edwinlculp@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 575B78FC0A for ; Wed, 30 May 2012 16:29:17 +0000 (UTC) Received: by bkvi18 with SMTP id i18so1250bkv.13 for ; Wed, 30 May 2012 09:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ki4wJUuYq2TiEqzaCg5nT/6kALMoDFOg6JMylooT2Jc=; b=Jsv0P4xdmdQV6BUQCOoOT7NOTLJAy+AVTZpM/r2HBIlc6+12LM634nTb4GYF1NVkcU nVAoNKQ0dXr4SaoAVTbvFBqmZrk1Nao7qUn267Y8s1GzqXU9jX5ye1HRKUGkOzARjuH8 he2KaTsVR7D59RgtttUTp7KGORbf/q1Ghva0lkkNUk/+JQs+EtPZJHW8/3e2OghvDVe9 2rt8MvOpSxLqdLNsRDBLtPUWehfHlyv2DtZEn+VMcirJLgi7WgH1QWiVRNlZS2Y5k9gm STVbqYA3MHDpsGuv0nJAkI9j7MU0MPjmjo39f4NBNu4/L7eoumvbjiHo+k4zrNfzQQBO FIHQ== MIME-Version: 1.0 Received: by 10.204.130.85 with SMTP id r21mr10041238bks.53.1338395356142; Wed, 30 May 2012 09:29:16 -0700 (PDT) Received: by 10.204.171.135 with HTTP; Wed, 30 May 2012 09:29:16 -0700 (PDT) In-Reply-To: <20120530075759.GA2604@reindeer.exwg.net> References: <20120530075759.GA2604@reindeer.exwg.net> Date: Wed, 30 May 2012 11:29:16 -0500 Message-ID: From: "Edwin L. Culp W." To: Christoph Moench-Tegeder Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ports@freebsd.org Subject: Re: Seems like Chrome is having an issue with clang. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2012 16:29:18 -0000 2012/5/30 Christoph Moench-Tegeder > ## Edwin L. Culp W. (edwinlculp@gmail.com): > > > Seems like Chrome is having an issue with clang. It starts with the > > following errors: > > > > CC(target) > > > out/Release/obj.target/skia_libtess/third_party/skia/third_party/glu/libtess/tess.o > > In file included from > > third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:8: > > /usr/include/clang/3.1/tmmintrin.h:28:2: error: "SSSE3 instruction set > not > > enabled" > > #error "SSSE3 instruction set not enabled" > > > SSSE3 is enabled by setting the right CPUTYPE (e.g. in make.conf, see > make.conf(5) and related documentation). THe default is "safe for all > supported machines", so SSSE3 and some other extensions are not used > by default. > Interesting and more than I understand. For example: man make.conf I find: CPUTYPE (str) Controls which processor should be targeted for gen- erated code. This controls processor-specific optimiza- tions in certain code (currently only OpenSSL) as well as modifying the value of CFLAGS and COPTFLAGS to contain the appropriate optimization directive to gcc(1). The auto- matic setting of CFLAGS and COPTFLAGS may be overridden using the NO_CPU_CFLAGS and NO_CPU_COPTFLAGS variables, respectively. Refer to /usr/share/examples/etc/make.conf for a list of recognized CPUTYPE options. in /usr/share/examples/etc/make.conf I find: # The CPUTYPE variable controls which processor should be targeted for # generated code. This controls processor-specific optimizations in # certain code (currently only OpenSSL) as well as modifying the value # of CFLAGS to contain the appropriate optimization directive to gcc. # The automatic setting of CFLAGS may be overridden using the # NO_CPU_CFLAGS variable below. # Currently the following CPU types are recognized: # Intel x86 architecture: # (AMD CPUs) opteron-sse3 opteron athlon64-sse3 athlon64 athlon-mp # athlon-xp athlon-4 athlon-tbird athlon k8-sse3 k8 # geode k6-3 k6-2 k6 k5 # (Intel CPUs) core2 core nocona pentium4m pentium4 prescott # pentium3m pentium3 pentium-m pentium2 # pentiumpro pentium-mmx pentium i486 i386 # (Via CPUs) c3 c3-2 # AMD64 architecture: opteron, athlon64, nocona, prescott, core2 # Intel ia64 architecture: itanium2, itanium # SPARC-V9 architecture: v9 (generic 64-bit V9), ultrasparc (default # if omitted), ultrasparc3 So I check my dmesg says: FreeBSD 9.0-STABLE #160 r229960M: Sat May 26 05:08:37 CDT 2012 root@home.encontacto.net:/usr/obj/usr/src/sys/ENCONTACTO amd64 CPU: AMD Phenom(tm) II X6 1100T Processor (3292.90-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x100fa0 Family = 10 Model = a Stepping = 0 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37ff TSC: P-state invariant, performance statistics I'm sure one of the options in make.conf would probably work but I think forgetting about Chrome is much easier and EMO not a big deal. I seldom us it. Thanks for the help. Sorry for the noise and for not being able to translate between make.conf, and dmesg. Have a great day. ed > Regards, > Christoph > > -- > Spare Space > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >