From owner-freebsd-toolchain@freebsd.org Sun Jun 12 22:02:44 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 93A6BAF177D for ; Sun, 12 Jun 2016 22:02:44 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-5.reflexion.net [208.70.210.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 523512CED for ; Sun, 12 Jun 2016 22:02:43 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 5466 invoked from network); 12 Jun 2016 22:03:14 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 12 Jun 2016 22:03:14 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v7.90.3) with SMTP; Sun, 12 Jun 2016 18:02:47 -0400 (EDT) Received: (qmail 3094 invoked from network); 12 Jun 2016 22:02:47 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 12 Jun 2016 22:02:47 -0000 X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id 53B1BB1E001; Sun, 12 Jun 2016 15:02:37 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: lang/gcc6 (as of /usr/ports -r416711) does not build on 11.0 -r301815 on an rpi2 [armv7-a, cortex-a7]: a.out uses VFP register arguments, . . . does not Message-Id: Date: Sun, 12 Jun 2016 15:02:40 -0700 To: freebsd-arm , FreeBSD Toolchain , FreeBSD Ports , gerald@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2016 22:02:44 -0000 On an rpi2: > # uname -apKU > FreeBSD rpi2 11.0-ALPHA3 FreeBSD 11.0-ALPHA3 #0 r301815M: Sat Jun 11 = 23:43:48 PDT 2016 = markmi@FreeBSDx64:/usr/obj/clang/arm.armv6/usr/src/sys/RPI2-NODBG ar > m armv6 1100116 1100116 with /usr/ports at -r416711. . . For attempting to build lang/gcc6 with the bootstrap configuration item = enabled: > configure:3735: = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/xgcc = -B/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/ = -B/usr/local/armv6-por > tbld-freebsd11.0/bin/ -B/usr/local/armv6-portbld-freebsd11.0/lib/ = -isystem /usr/local/armv6-portbld-freebsd11.0/include -isystem = /usr/local/armv6-portbld-freebs > d11.0/sys-include -O2 -pipe -mcpu=3Dcortex-a7 -DLIBICONV_PLUG -g = -fno-strict-aliasing conftest.c >&5 > /usr/local/bin/ld: error: a.out uses VFP register arguments, = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtbegin.o does = not > /usr/local/bin/ld: failed to merge target specific data of file = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtbegin.o > /usr/local/bin/ld: error: a.out uses VFP register arguments, = /tmp/ccC38Tl3.o does not > /usr/local/bin/ld: failed to merge target specific data of file = /tmp/ccC38Tl3.o > /usr/local/bin/ld: error: a.out uses VFP register arguments, = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtend.o does = not > /usr/local/bin/ld: failed to merge target specific data of file = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtend.o > collect2: error: ld returned 1 exit status > configure:3739: $? =3D 1 > configure:3776: result:=20 > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "GNU Offloading and Multi Processing Runtime = Library" > | #define PACKAGE_TARNAME "libgomp" > | #define PACKAGE_VERSION "1.0" > | #define PACKAGE_STRING "GNU Offloading and Multi Processing Runtime = Library 1.0" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE_URL "http://www.gnu.org/software/libgomp/" > | #define PACKAGE "libgomp" > | #define VERSION "1.0" > | /* end confdefs.h. */ > |=20 > | int > | main () > | { > |=20 > | ; > | return 0; > | } > configure:3782: error: in = `/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/armv6-portbld-freebsd1= 1.0/libgomp': > configure:3786: error: C compiler cannot create executables For attempting to build lang/gcc6 with the bootstrap configuraiton item = disabled similar ld reports are generated: > /usr/local/bin/ld: error: a.out uses VFP register arguments, = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtbegin.o does = not > /usr/local/bin/ld: failed to merge target specific data of file = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtbegin.o > /usr/local/bin/ld: error: a.out uses VFP register arguments, = /tmp/cco9nucg.o does not > /usr/local/bin/ld: failed to merge target specific data of file = /tmp/cco9nucg.o > /usr/local/bin/ld: error: a.out uses VFP register arguments, = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtend.o does = not > /usr/local/bin/ld: failed to merge target specific data of file = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtend.o > collect2: error: ld returned 1 exit status > configure:3003: $? =3D 1 > configure:3040: result:=20 > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "package-unused" > | #define PACKAGE_TARNAME "libbacktrace" > | #define PACKAGE_VERSION "version-unused" > | #define PACKAGE_STRING "package-unused version-unused" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE_URL "" > | /* end confdefs.h. */ > |=20 > | int > | main () > | { > |=20 > | ; > | return 0; > | } > configure:3046: error: in = `/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/armv6-portbld-freebsd1= 1.0/libbacktrace': > configure:3050: error: C compiler cannot create executables Context details. . . As for the in-use make.conf (not the one used for the system build): > # more /etc/make.conf > DEFAULT_VERSIONS+=3Dperl5=3D5.22 > WRKDIRPREFIX=3D/usr/obj/portswork > WITH_DEBUG=3D > WITH_DEBUG_FILES=3D > MALLOC_PRODUCTION=3D > # > #system clang 3.8 (gcc6 rejects -march=3Darmv7a): > #CFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 > #CXXFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 > #CPPFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 > # > #lang/gcc6's xgcc stage considers the above conflicting so use just: > CFLAGS+=3D -mcpu=3Dcortex-a7 > CXXFLAGS+=3D -mcpu=3Dcortex-a7 > CPPFLAGS+=3D -mcpu=3Dcortex-a7 The armv6 11.0 -r301815 system was cross built from amd64, built using = src.conf: > # more ~/src.configs/src.conf.rpi2-clang-bootstrap.amd64-host=20 > TO_TYPE=3Darmv6 > # > KERNCONF=3DRPI2-NODBG > TARGET=3Darm > .if ${.MAKE.LEVEL} =3D=3D 0 > TARGET_ARCH=3D${TO_TYPE} > .export TARGET_ARCH > .endif > # > WITH_CROSS_COMPILER=3D > WITHOUT_SYSTEM_COMPILER=3D > # > #CPUTYPE=3Dsoft > WITH_LIBSOFT=3D > WITH_LIBCPLUSPLUS=3D > WITH_BINUTILS_BOOTSTRAP=3D > WITH_CLANG_BOOTSTRAP=3D > WITH_CLANG=3D > WITH_CLANG_IS_CC=3D > WITH_CLANG_FULL=3D > WITH_CLANG_EXTRAS=3D > WITH_LLDB=3D > # > WITH_BOOT=3D > WITHOUT_LIB32=3D > # > WITHOUT_ELFTOOLCHAIN_BOOTSTRAP=3D > WITHOUT_GCC_BOOTSTRAP=3D > WITHOUT_GCC=3D > WITHOUT_GCC_IS_CC=3D > WITHOUT_GNUCXX=3D > # > NO_WERROR=3D > #WERROR=3D > MALLOC_PRODUCTION=3D > # > WITH_DEBUG_FILES=3D > # > XCFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 > XCXXFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 > # There is no XCPPFLAGS but XCPP ets XCFLAGS content. and with the make.conf for the system build being empty: > # more ~/src.configs/make.conf=20 > # =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Mon Jun 13 00:43:47 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 3FCE3AF19FD for ; Mon, 13 Jun 2016 00:43:47 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-5.reflexion.net [208.70.210.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 00C4427A7 for ; Mon, 13 Jun 2016 00:43:45 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 11206 invoked from network); 13 Jun 2016 00:43:40 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 13 Jun 2016 00:43:40 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v7.90.3) with SMTP; Sun, 12 Jun 2016 20:44:26 -0400 (EDT) Received: (qmail 28479 invoked from network); 13 Jun 2016 00:44:26 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 13 Jun 2016 00:44:26 -0000 X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id ED595B1E001; Sun, 12 Jun 2016 17:43:38 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: lang/gcc6 (as of /usr/ports -r416711) does not build on 11.0 -r301815 on an rpi2 [armv7-a, cortex-a7]: a.out uses VFP register arguments, . . . does not From: Mark Millard In-Reply-To: Date: Sun, 12 Jun 2016 17:43:43 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <497B54A1-A306-4264-AC8C-A57A7A53931E@dsl-only.net> References: To: freebsd-arm , FreeBSD Toolchain , FreeBSD Ports , gerald@FreeBSD.org X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.22 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, 13 Jun 2016 00:43:47 -0000 Just a quick top-posted note: lang/gcc5 (as of /usr/ports -r416711) = built fine, unlike the lang/gcc6 noted before/below. [I happened to try = lang/gcc5 with the bootstrap configuration item disabled.] I may try lang/gcc6-devel to see what it does. =3D=3D=3D Mark Millard markmi at dsl-only.net On 2016-Jun-12, at 3:02 PM, Mark Millard wrote: > On an rpi2: >=20 >> # uname -apKU >> FreeBSD rpi2 11.0-ALPHA3 FreeBSD 11.0-ALPHA3 #0 r301815M: Sat Jun 11 = 23:43:48 PDT 2016 = markmi@FreeBSDx64:/usr/obj/clang/arm.armv6/usr/src/sys/RPI2-NODBG ar >> m armv6 1100116 1100116 >=20 >=20 > with /usr/ports at -r416711. . . >=20 >=20 > For attempting to build lang/gcc6 with the bootstrap configuration = item enabled: >=20 >> configure:3735: = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/xgcc = -B/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/ = -B/usr/local/armv6-por >> tbld-freebsd11.0/bin/ -B/usr/local/armv6-portbld-freebsd11.0/lib/ = -isystem /usr/local/armv6-portbld-freebsd11.0/include -isystem = /usr/local/armv6-portbld-freebs >> d11.0/sys-include -O2 -pipe -mcpu=3Dcortex-a7 -DLIBICONV_PLUG -g = -fno-strict-aliasing conftest.c >&5 >> /usr/local/bin/ld: error: a.out uses VFP register arguments, = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtbegin.o does = not >> /usr/local/bin/ld: failed to merge target specific data of file = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtbegin.o >> /usr/local/bin/ld: error: a.out uses VFP register arguments, = /tmp/ccC38Tl3.o does not >> /usr/local/bin/ld: failed to merge target specific data of file = /tmp/ccC38Tl3.o >> /usr/local/bin/ld: error: a.out uses VFP register arguments, = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtend.o does = not >> /usr/local/bin/ld: failed to merge target specific data of file = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtend.o >> collect2: error: ld returned 1 exit status >> configure:3739: $? =3D 1 >> configure:3776: result:=20 >> configure: failed program was: >> | /* confdefs.h */ >> | #define PACKAGE_NAME "GNU Offloading and Multi Processing Runtime = Library" >> | #define PACKAGE_TARNAME "libgomp" >> | #define PACKAGE_VERSION "1.0" >> | #define PACKAGE_STRING "GNU Offloading and Multi Processing Runtime = Library 1.0" >> | #define PACKAGE_BUGREPORT "" >> | #define PACKAGE_URL "http://www.gnu.org/software/libgomp/" >> | #define PACKAGE "libgomp" >> | #define VERSION "1.0" >> | /* end confdefs.h. */ >> |=20 >> | int >> | main () >> | { >> |=20 >> | ; >> | return 0; >> | } >> configure:3782: error: in = `/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/armv6-portbld-freebsd1= 1.0/libgomp': >> configure:3786: error: C compiler cannot create executables >=20 >=20 >=20 > For attempting to build lang/gcc6 with the bootstrap configuraiton = item disabled similar ld reports are generated: >=20 >> /usr/local/bin/ld: error: a.out uses VFP register arguments, = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtbegin.o does = not >> /usr/local/bin/ld: failed to merge target specific data of file = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtbegin.o >> /usr/local/bin/ld: error: a.out uses VFP register arguments, = /tmp/cco9nucg.o does not >> /usr/local/bin/ld: failed to merge target specific data of file = /tmp/cco9nucg.o >> /usr/local/bin/ld: error: a.out uses VFP register arguments, = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtend.o does = not >> /usr/local/bin/ld: failed to merge target specific data of file = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtend.o >> collect2: error: ld returned 1 exit status >> configure:3003: $? =3D 1 >> configure:3040: result:=20 >> configure: failed program was: >> | /* confdefs.h */ >> | #define PACKAGE_NAME "package-unused" >> | #define PACKAGE_TARNAME "libbacktrace" >> | #define PACKAGE_VERSION "version-unused" >> | #define PACKAGE_STRING "package-unused version-unused" >> | #define PACKAGE_BUGREPORT "" >> | #define PACKAGE_URL "" >> | /* end confdefs.h. */ >> |=20 >> | int >> | main () >> | { >> |=20 >> | ; >> | return 0; >> | } >> configure:3046: error: in = `/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/armv6-portbld-freebsd1= 1.0/libbacktrace': >> configure:3050: error: C compiler cannot create executables >=20 >=20 > Context details. . . >=20 > As for the in-use make.conf (not the one used for the system build): >=20 >> # more /etc/make.conf >> DEFAULT_VERSIONS+=3Dperl5=3D5.22 >> WRKDIRPREFIX=3D/usr/obj/portswork >> WITH_DEBUG=3D >> WITH_DEBUG_FILES=3D >> MALLOC_PRODUCTION=3D >> # >> #system clang 3.8 (gcc6 rejects -march=3Darmv7a): >> #CFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 >> #CXXFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 >> #CPPFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 >> # >> #lang/gcc6's xgcc stage considers the above conflicting so use just: >> CFLAGS+=3D -mcpu=3Dcortex-a7 >> CXXFLAGS+=3D -mcpu=3Dcortex-a7 >> CPPFLAGS+=3D -mcpu=3Dcortex-a7 >=20 >=20 > The armv6 11.0 -r301815 system was cross built from amd64, built using = src.conf: >=20 >> # more ~/src.configs/src.conf.rpi2-clang-bootstrap.amd64-host=20 >> TO_TYPE=3Darmv6 >> # >> KERNCONF=3DRPI2-NODBG >> TARGET=3Darm >> .if ${.MAKE.LEVEL} =3D=3D 0 >> TARGET_ARCH=3D${TO_TYPE} >> .export TARGET_ARCH >> .endif >> # >> WITH_CROSS_COMPILER=3D >> WITHOUT_SYSTEM_COMPILER=3D >> # >> #CPUTYPE=3Dsoft >> WITH_LIBSOFT=3D >> WITH_LIBCPLUSPLUS=3D >> WITH_BINUTILS_BOOTSTRAP=3D >> WITH_CLANG_BOOTSTRAP=3D >> WITH_CLANG=3D >> WITH_CLANG_IS_CC=3D >> WITH_CLANG_FULL=3D >> WITH_CLANG_EXTRAS=3D >> WITH_LLDB=3D >> # >> WITH_BOOT=3D >> WITHOUT_LIB32=3D >> # >> WITHOUT_ELFTOOLCHAIN_BOOTSTRAP=3D >> WITHOUT_GCC_BOOTSTRAP=3D >> WITHOUT_GCC=3D >> WITHOUT_GCC_IS_CC=3D >> WITHOUT_GNUCXX=3D >> # >> NO_WERROR=3D >> #WERROR=3D >> MALLOC_PRODUCTION=3D >> # >> WITH_DEBUG_FILES=3D >> # >> XCFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 >> XCXXFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 >> # There is no XCPPFLAGS but XCPP ets XCFLAGS content. >=20 > and with the make.conf for the system build being empty: >=20 >> # more ~/src.configs/make.conf=20 >> # >=20 >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Mon Jun 13 05:13:24 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 EE018AF1E4C for ; Mon, 13 Jun 2016 05:13:24 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-4.reflexion.net [208.70.210.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF7552D7E for ; Mon, 13 Jun 2016 05:13:24 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 24976 invoked from network); 13 Jun 2016 05:13:18 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 13 Jun 2016 05:13:18 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v7.90.3) with SMTP; Mon, 13 Jun 2016 01:13:58 -0400 (EDT) Received: (qmail 23317 invoked from network); 13 Jun 2016 05:13:58 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 13 Jun 2016 05:13:58 -0000 X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id D394BB1E001; Sun, 12 Jun 2016 22:13:09 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: lang/gcc6 (as of /usr/ports -r416711) does not build on 11.0 -r301815 on an rpi2 [armv7-a, cortex-a7]: a.out uses VFP register arguments, . . . does not From: Mark Millard In-Reply-To: <497B54A1-A306-4264-AC8C-A57A7A53931E@dsl-only.net> Date: Sun, 12 Jun 2016 22:13:14 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <9956CBA7-4000-4124-9682-6A34456C188F@dsl-only.net> References: <497B54A1-A306-4264-AC8C-A57A7A53931E@dsl-only.net> To: freebsd-arm , FreeBSD Toolchain , FreeBSD Ports , gerald@FreeBSD.org X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.22 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, 13 Jun 2016 05:13:25 -0000 On 2016-Jun-12, at 5:43 PM, Mark Millard wrote: > Just a quick top-posted note: lang/gcc5 (as of /usr/ports -r416711) = built fine, unlike the lang/gcc6 noted before/below. [I happened to try = lang/gcc5 with the bootstrap configuration item disabled.] >=20 > I may try lang/gcc6-devel to see what it does. lang/gcc6-devel (as of /usr/ports -r416711) also built fine on the rpi2. = [The test was with the bootstrap configuration item disabled.] Only = lang/gcc6 seems to have the reported problems for the rpi2. But I've not = tried lang/gcc49 or before. Nor have I tried any devel/*gcc* examples. The rest of the below material just repeats the original evidence of the = lang/gcc6 problem. Continue reading only if you care for that detail = now. >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20 > On 2016-Jun-12, at 3:02 PM, Mark Millard = wrote: >=20 >> On an rpi2: >>=20 >>> # uname -apKU >>> FreeBSD rpi2 11.0-ALPHA3 FreeBSD 11.0-ALPHA3 #0 r301815M: Sat Jun 11 = 23:43:48 PDT 2016 = markmi@FreeBSDx64:/usr/obj/clang/arm.armv6/usr/src/sys/RPI2-NODBG ar >>> m armv6 1100116 1100116 >>=20 >>=20 >> with /usr/ports at -r416711. . . >>=20 >>=20 >> For attempting to build lang/gcc6 with the bootstrap configuration = item enabled: >>=20 >>> configure:3735: = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/xgcc = -B/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/ = -B/usr/local/armv6-por >>> tbld-freebsd11.0/bin/ -B/usr/local/armv6-portbld-freebsd11.0/lib/ = -isystem /usr/local/armv6-portbld-freebsd11.0/include -isystem = /usr/local/armv6-portbld-freebs >>> d11.0/sys-include -O2 -pipe -mcpu=3Dcortex-a7 -DLIBICONV_PLUG -g = -fno-strict-aliasing conftest.c >&5 >>> /usr/local/bin/ld: error: a.out uses VFP register arguments, = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtbegin.o does = not >>> /usr/local/bin/ld: failed to merge target specific data of file = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtbegin.o >>> /usr/local/bin/ld: error: a.out uses VFP register arguments, = /tmp/ccC38Tl3.o does not >>> /usr/local/bin/ld: failed to merge target specific data of file = /tmp/ccC38Tl3.o >>> /usr/local/bin/ld: error: a.out uses VFP register arguments, = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtend.o does = not >>> /usr/local/bin/ld: failed to merge target specific data of file = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtend.o >>> collect2: error: ld returned 1 exit status >>> configure:3739: $? =3D 1 >>> configure:3776: result:=20 >>> configure: failed program was: >>> | /* confdefs.h */ >>> | #define PACKAGE_NAME "GNU Offloading and Multi Processing Runtime = Library" >>> | #define PACKAGE_TARNAME "libgomp" >>> | #define PACKAGE_VERSION "1.0" >>> | #define PACKAGE_STRING "GNU Offloading and Multi Processing = Runtime Library 1.0" >>> | #define PACKAGE_BUGREPORT "" >>> | #define PACKAGE_URL "http://www.gnu.org/software/libgomp/" >>> | #define PACKAGE "libgomp" >>> | #define VERSION "1.0" >>> | /* end confdefs.h. */ >>> |=20 >>> | int >>> | main () >>> | { >>> |=20 >>> | ; >>> | return 0; >>> | } >>> configure:3782: error: in = `/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/armv6-portbld-freebsd1= 1.0/libgomp': >>> configure:3786: error: C compiler cannot create executables >>=20 >>=20 >>=20 >> For attempting to build lang/gcc6 with the bootstrap configuraiton = item disabled similar ld reports are generated: >>=20 >>> /usr/local/bin/ld: error: a.out uses VFP register arguments, = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtbegin.o does = not >>> /usr/local/bin/ld: failed to merge target specific data of file = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtbegin.o >>> /usr/local/bin/ld: error: a.out uses VFP register arguments, = /tmp/cco9nucg.o does not >>> /usr/local/bin/ld: failed to merge target specific data of file = /tmp/cco9nucg.o >>> /usr/local/bin/ld: error: a.out uses VFP register arguments, = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtend.o does = not >>> /usr/local/bin/ld: failed to merge target specific data of file = /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./gcc/crtend.o >>> collect2: error: ld returned 1 exit status >>> configure:3003: $? =3D 1 >>> configure:3040: result:=20 >>> configure: failed program was: >>> | /* confdefs.h */ >>> | #define PACKAGE_NAME "package-unused" >>> | #define PACKAGE_TARNAME "libbacktrace" >>> | #define PACKAGE_VERSION "version-unused" >>> | #define PACKAGE_STRING "package-unused version-unused" >>> | #define PACKAGE_BUGREPORT "" >>> | #define PACKAGE_URL "" >>> | /* end confdefs.h. */ >>> |=20 >>> | int >>> | main () >>> | { >>> |=20 >>> | ; >>> | return 0; >>> | } >>> configure:3046: error: in = `/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/armv6-portbld-freebsd1= 1.0/libbacktrace': >>> configure:3050: error: C compiler cannot create executables >>=20 >>=20 >> Context details. . . >>=20 >> As for the in-use make.conf (not the one used for the system build): >>=20 >>> # more /etc/make.conf >>> DEFAULT_VERSIONS+=3Dperl5=3D5.22 >>> WRKDIRPREFIX=3D/usr/obj/portswork >>> WITH_DEBUG=3D >>> WITH_DEBUG_FILES=3D >>> MALLOC_PRODUCTION=3D >>> # >>> #system clang 3.8 (gcc6 rejects -march=3Darmv7a): >>> #CFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 >>> #CXXFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 >>> #CPPFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 >>> # >>> #lang/gcc6's xgcc stage considers the above conflicting so use just: >>> CFLAGS+=3D -mcpu=3Dcortex-a7 >>> CXXFLAGS+=3D -mcpu=3Dcortex-a7 >>> CPPFLAGS+=3D -mcpu=3Dcortex-a7 >>=20 >>=20 >> The armv6 11.0 -r301815 system was cross built from amd64, built = using src.conf: >>=20 >>> # more ~/src.configs/src.conf.rpi2-clang-bootstrap.amd64-host=20 >>> TO_TYPE=3Darmv6 >>> # >>> KERNCONF=3DRPI2-NODBG >>> TARGET=3Darm >>> .if ${.MAKE.LEVEL} =3D=3D 0 >>> TARGET_ARCH=3D${TO_TYPE} >>> .export TARGET_ARCH >>> .endif >>> # >>> WITH_CROSS_COMPILER=3D >>> WITHOUT_SYSTEM_COMPILER=3D >>> # >>> #CPUTYPE=3Dsoft >>> WITH_LIBSOFT=3D >>> WITH_LIBCPLUSPLUS=3D >>> WITH_BINUTILS_BOOTSTRAP=3D >>> WITH_CLANG_BOOTSTRAP=3D >>> WITH_CLANG=3D >>> WITH_CLANG_IS_CC=3D >>> WITH_CLANG_FULL=3D >>> WITH_CLANG_EXTRAS=3D >>> WITH_LLDB=3D >>> # >>> WITH_BOOT=3D >>> WITHOUT_LIB32=3D >>> # >>> WITHOUT_ELFTOOLCHAIN_BOOTSTRAP=3D >>> WITHOUT_GCC_BOOTSTRAP=3D >>> WITHOUT_GCC=3D >>> WITHOUT_GCC_IS_CC=3D >>> WITHOUT_GNUCXX=3D >>> # >>> NO_WERROR=3D >>> #WERROR=3D >>> MALLOC_PRODUCTION=3D >>> # >>> WITH_DEBUG_FILES=3D >>> # >>> XCFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 >>> XCXXFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 >>> # There is no XCPPFLAGS but XCPP ets XCFLAGS content. >>=20 >> and with the make.conf for the system build being empty: >>=20 >>> # more ~/src.configs/make.conf=20 >>> # >>=20 >>=20 >> =3D=3D=3D >> Mark Millard >> markmi at dsl-only.net =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Mon Jun 13 19:36:47 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 AC32AAF1410; Mon, 13 Jun 2016 19:36:47 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (unknown [IPv6:2001:4060:1:1001::14:52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 73FE0282F; Mon, 13 Jun 2016 19:36:47 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from [192.168.225.14] (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by fgznet.ch (Postfix) with ESMTPS id A911DC5591; Mon, 13 Jun 2016 21:36:43 +0200 (CEST) Subject: Re: lang/gcc6 (as of /usr/ports -r416711) does not build on 11.0 -r301815 on an rpi2 [armv7-a, cortex-a7]: a.out uses VFP register arguments, . . . does not To: Mark Millard , freebsd-arm , FreeBSD Toolchain , FreeBSD Ports , gerald@FreeBSD.org References: From: Andreas Tobler Message-ID: <539f404c-e032-a47f-5ad4-046e466eef97@fgznet.ch> Date: Mon, 13 Jun 2016 21:36:43 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 on 127.0.1.1 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.22 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, 13 Jun 2016 19:36:47 -0000 Should be fixed. I forgot to commit the lang/gcc6 patch. Andreas From owner-freebsd-toolchain@freebsd.org Mon Jun 13 20:09:55 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 6FC87AF1C75; Mon, 13 Jun 2016 20:09:55 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49BED2929; Mon, 13 Jun 2016 20:09:54 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from [192.168.0.3] (vie-91-186-158-235.dsl.sil.at [91.186.158.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ainaz.pair.com (Postfix) with ESMTPSA id 142F53F427; Mon, 13 Jun 2016 16:09:45 -0400 (EDT) Date: Mon, 13 Jun 2016 22:09:43 +0200 (CEST) From: Gerald Pfeifer To: Andreas Tobler cc: Mark Millard , freebsd-arm , FreeBSD Toolchain , FreeBSD Ports Subject: Re: lang/gcc6 (as of /usr/ports -r416711) does not build on 11.0 -r301815 on an rpi2 [armv7-a, cortex-a7]: a.out uses VFP register arguments, . . . does not In-Reply-To: <539f404c-e032-a47f-5ad4-046e466eef97@fgznet.ch> Message-ID: References: <539f404c-e032-a47f-5ad4-046e466eef97@fgznet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.22 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, 13 Jun 2016 20:09:55 -0000 On Mon, 13 Jun 2016, Andreas Tobler wrote: > Should be fixed. I forgot to commit the lang/gcc6 patch. Thanks, Andreas! I see this in the lang/gcc6 now (and in case anyone is wondering, lang/gcc6-devel gets new stuff earlier from upstream, whereas lang/gcc6 needs to wait for the next release -- or a local patch like this). Gerald From owner-freebsd-toolchain@freebsd.org Sat Jun 18 12:11:04 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 4020EA79E1C for ; Sat, 18 Jun 2016 12:11:04 +0000 (UTC) (envelope-from ce02832@vh10.timeweb.ru) Received: from vh10.timeweb.ru (vh10.timeweb.ru [IPv6:2a03:6f00:1::5c35:6039]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 08BF514EB for ; Sat, 18 Jun 2016 12:11:03 +0000 (UTC) (envelope-from ce02832@vh10.timeweb.ru) Delivery-date: Sat, 18 Jun 2016 15:11:04 +0300 To: freebsd-toolchain@freebsd.org Subject: Courier was unable to deliver the parcel, ID00000110858 Date: Sat, 18 Jun 2016 15:11:00 +0300 From: "FedEx International Ground" Reply-To: "FedEx International Ground" Message-ID: <52db18ee602af4fb2ea8704f3acfcd4b@rezultat-bm.ru> X-Priority: 3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jun 2016 12:11:04 -0000 Dear Customer, We could not deliver your item. You can review complete details of your order in the find attached. Yours faithfully, Pedro Krueger, FedEx Operation Manager.