Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2016 09:12:53 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        Gerald Pfeifer <gerald@FreeBSD.org>, Brooks Davis <brooks@freebsd.org>, freebsd-ports@freebsd.org
Cc:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   11.0-CURRENT: lang/gcc, lang/gcc5, lang/gcc6-devel, lang/llvm38, etc. do not build on/for armv6 (now implicitly hard float)
Message-ID:  <1E66E56C-E615-4180-A3F2-E8E48E26B6CD@dsl-only.net>

next in thread | raw e-mail | index | archive | help
I'm  not sure that Gerald or Brooks were CC'd on a report made to the =
arm list about armv6 builds of gcc and llvm being broken now because of =
hard float now being implicit:
(the first report listed below has more detail directly visible for gcc =
examples)

https://lists.freebsd.org/pipermail/freebsd-arm/2016-May/013931.html
and:
https://lists.freebsd.org/pipermail/freebsd-arm/2016-May/013930.html
https://lists.freebsd.org/pipermail/freebsd-arm/2016-May/013932.html
https://lists.freebsd.org/pipermail/freebsd-arm/2016-May/013933.html

The first (013931.html) shows that xgcc for configure:3686 for contest.c =
ends up with the likes of:

/usr/local/bin/ld: error: a.out uses VFP register arguments,
/wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/crtbegin.o does not
/usr/local/bin/ld: failed to merge target specific data of file
/wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/crtbegin.o
/usr/local/bin/ld: error: a.out uses VFP register arguments,
/tmp//cchNL2QG.o does not
/usr/local/bin/ld: failed to merge target specific data of file =
/tmp//cchNL2QG.o
/usr/local/bin/ld: error: a.out uses VFP register arguments,
/wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/crtend.o does not
/usr/local/bin/ld: failed to merge target specific data of file
/wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/crtend.o
collect2: error: ld returned 1 exit status

and points to gcc/config.gcc only having TARGET_FREEBSD_ARM_HARD_FLOAT=3D1=
 for arm*hf-*-freebsd* . But now armv6*-*-freebsd* is also hard float =
for 11.0-CURRENT.

Of course until everyone updates to modern enough armv6 context a mix of =
softfloat and hardfloat will be around.

=3D=3D=3D
Mark Millard
markmi at dsl-only.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1E66E56C-E615-4180-A3F2-E8E48E26B6CD>