From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 29 13:10:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A62B1065672 for ; Sun, 29 Nov 2009 13:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5B50B8FC0A for ; Sun, 29 Nov 2009 13:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nATDA2Ut069266 for ; Sun, 29 Nov 2009 13:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nATDA2Jr069265; Sun, 29 Nov 2009 13:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 29 Nov 2009 13:10:02 GMT Resent-Message-Id: <200911291310.nATDA2Jr069265@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ulrich Spörlein Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45E7F1065672 for ; Sun, 29 Nov 2009 13:02:13 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (cl-43.dus-01.de.sixxs.net [IPv6:2a01:198:200:2a::2]) by mx1.freebsd.org (Postfix) with ESMTP id E83BC8FC14 for ; Sun, 29 Nov 2009 13:02:12 +0000 (UTC) Received: from acme.spoerlein.net (localhost.spoerlein.net [IPv6:::1]) by acme.spoerlein.net (8.14.3/8.14.3) with ESMTP id nATD2BRV098535 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Nov 2009 14:02:11 +0100 (CET) (envelope-from uqs@acme.spoerlein.net) Received: (from uqs@localhost) by acme.spoerlein.net (8.14.3/8.14.3/Submit) id nATD2BoN098534; Sun, 29 Nov 2009 14:02:11 +0100 (CET) (envelope-from uqs) Message-Id: <200911291302.nATD2BoN098534@acme.spoerlein.net> Date: Sun, 29 Nov 2009 14:02:11 +0100 (CET) From: Ulrich Spörlein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/140995: lang/gcc45 (and lang/gcc44) break on amd64 with CPUTYPE=native X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2009 13:10:02 -0000 >Number: 140995 >Category: ports >Synopsis: lang/gcc45 (and lang/gcc44) break on amd64 with CPUTYPE=native >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 29 13:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ulrich Spörlein >Release: FreeBSD 8.0-STABLE amd64 >Organization: >Environment: >Description: When building both lang/gcc44 or lang/gcc45 on amd64 with CPUTYPE=native in /etc/make.conf or -march=native in CFLAGS, the build will break due to the old assembler in base. This does not happen to gcc43 (simply because it is old enough) >How-To-Repeat: cd /usr/ports/lang/gcc45 && make CPUTYPE=native DISABLE_MAKE_JOBS=1 ... /bin/sh ./libtool --tag=CC --mode=compile /usr/obj/usr/ports/lang/gcc45/work/build/./gcc/xgcc -B/usr/obj/usr/ports/lang/gcc45/work/build/./gcc/ -B/usr/local/x86_64-portbld-freebsd8.0/bin/ -B/usr/local/x86_64-portbld-freebsd8.0/lib/ -isystem /usr/local/x86_64-portbld-freebsd8.0/include -isystem /usr/local/x86_64-portbld-freebsd8.0/sys-include -DHAVE_CONFIG_H -I. -I../.././../gcc-4.5-20091119/libgfortran -iquote../.././../gcc-4.5-20091119/libgfortran/io -I../.././../gcc-4.5-20091119/libgfortran/../gcc -I../.././../gcc-4.5-20091119/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules -ffunction-sections -fdata-sections -ftree-vectorize -funroll-loops -g -O2 -pipe -march=native -I/usr/local/include -fno-strict-aliasing -MT matmul_i4.lo -MD -MP -MF .deps/matmul_i4.Tpo -c -o matmul_i4.lo `test -f '../.././../gcc-4.5-20091119/libgfortran/generated/ma! tmul_i4.c' || echo '../.././../gcc-4.5-20091119/libgfortran/'`../.././../gcc-4.5-20091119/libgfortran/generated/matmul_i4.c libtool: compile: /usr/obj/usr/ports/lang/gcc45/work/build/./gcc/xgcc -B/usr/obj/usr/ports/lang/gcc45/work/build/./gcc/ -B/usr/local/x86_64-portbld-freebsd8.0/bin/ -B/usr/local/x86_64-portbld-freebsd8.0/lib/ -isystem /usr/local/x86_64-portbld-freebsd8.0/include -isystem /usr/local/x86_64-portbld-freebsd8.0/sys-include -DHAVE_CONFIG_H -I. -I../.././../gcc-4.5-20091119/libgfortran -iquote../.././../gcc-4.5-20091119/libgfortran/io -I../.././../gcc-4.5-20091119/libgfortran/../gcc -I../.././../gcc-4.5-20091119/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules -ffunction-sections -fdata-sections -ftree-vectorize -funroll-loops -g -O2 -pipe -march=native -I/usr/local/include -fno-strict-aliasing -MT matmul_i4.lo -MD -MP -MF .deps/matmul_i4.Tpo -c ../.././../gcc-4.5-20091119/libgfortran/generated/matmul_i4.c -fPIC -DPIC -o .libs/matmul_i4.o {standard input}: Assembler messages: {standard input}:1861: Error: no such instruction: `pmulld %xmm0,%xmm5' {standard input}:1885: Error: no such instruction: `pmulld %xmm0,%xmm4' {standard input}:1893: Error: no such instruction: `pmulld %xmm0,%xmm5' {standard input}:1902: Error: no such instruction: `pmulld %xmm0,%xmm6' {standard input}:1911: Error: no such instruction: `pmulld %xmm0,%xmm7' {standard input}:1920: Error: no such instruction: `pmulld %xmm0,%xmm8' {standard input}:1929: Error: no such instruction: `pmulld %xmm0,%xmm9' {standard input}:1938: Error: no such instruction: `pmulld %xmm0,%xmm10' {standard input}:1949: Error: no such instruction: `pmulld %xmm0,%xmm14' {standard input}:1954: Error: no such instruction: `pmulld %xmm0,%xmm13' {standard input}:1959: Error: no such instruction: `pmulld %xmm0,%xmm12' {standard input}:1964: Error: no such instruction: `pmulld %xmm0,%xmm11' {standard input}:1969: Error: no such instruction: `pmulld %xmm0,%xmm10' {standard input}:1974: Error: no such instruction: `pmulld %xmm0,%xmm9' {standard input}:1979: Error: no such instruction: `pmulld %xmm0,%xmm8' {standard input}:1984: Error: no such instruction: `pmulld %xmm0,%xmm7' {standard input}:2219: Error: no such instruction: `pmulld %xmm15,%xmm0' {standard input}:2241: Error: no such instruction: `pmulld %xmm12,%xmm11' {standard input}:2249: Error: no such instruction: `pmulld %xmm14,%xmm13' {standard input}:2257: Error: no such instruction: `pmulld %xmm1,%xmm15' {standard input}:2265: Error: no such instruction: `pmulld %xmm2,%xmm3' {standard input}:2273: Error: no such instruction: `pmulld %xmm5,%xmm4' {standard input}:2281: Error: no such instruction: `pmulld %xmm7,%xmm6' {standard input}:2289: Error: no such instruction: `pmulld %xmm9,%xmm8' {standard input}:2302: Error: no such instruction: `pmulld %xmm1,%xmm15' {standard input}:2319: Error: no such instruction: `pmulld %xmm14,%xmm13' {standard input}:2320: Error: no such instruction: `pmulld %xmm12,%xmm11' {standard input}:2323: Error: no such instruction: `pmulld %xmm10,%xmm9' {standard input}:2326: Error: no such instruction: `pmulld %xmm8,%xmm7' {standard input}:2329: Error: no such instruction: `pmulld %xmm6,%xmm5' {standard input}:2337: Error: no such instruction: `pmulld %xmm4,%xmm3' {standard input}:2341: Error: no such instruction: `pmulld %xmm2,%xmm1' gmake[3]: *** [matmul_i4.lo] Error 1 gmake[3]: Leaving directory `/usr/obj/usr/ports/lang/gcc45/work/build/x86_64-portbld-freebsd8.0/libgfortran' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/obj/usr/ports/lang/gcc45/work/build/x86_64-portbld-freebsd8.0/libgfortran' gmake[1]: *** [all-target-libgfortran] Error 2 gmake[1]: Leaving directory `/usr/obj/usr/ports/lang/gcc45/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 1 Stop in /usr/ports/lang/gcc45. >Fix: Update binutils? >Release-Note: >Audit-Trail: >Unformatted: