Date: Sun, 29 Nov 2009 14:02:11 +0100 (CET) From: Ulrich Spörlein <uqs@spoerlein.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/140995: lang/gcc45 (and lang/gcc44) break on amd64 with CPUTYPE=native Message-ID: <200911291302.nATD2BoN098534@acme.spoerlein.net> Resent-Message-ID: <200911291310.nATDA2Jr069265@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911291302.nATD2BoN098534>