Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2016 14:19:33 +0200
From:      =?UTF-8?Q?Mika=C3=ABl_Urankar?= <mikael.urankar@gmail.com>
To:        Ulrich Grey <usenet@ulrich-grey.de>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: lang/gcc and lang/gcc5 doesn't build anymore on ARM
Message-ID:  <CAJwjRmSfM1X3u2M0gyANYLrTUoHQLRDN6_ydUB77qc%2BF_jkUJQ@mail.gmail.com>
In-Reply-To: <20160525113712.dc1306404bbad0347ac768ef@ulrich-grey.de>
References:  <20160525113712.dc1306404bbad0347ac768ef@ulrich-grey.de>

next in thread | previous in thread | raw e-mail | index | archive | help
2016-05-25 11:37 GMT+02:00 Ulrich Grey <usenet@ulrich-grey.de>:
> I have updated to 11.0-CURRENT #0 r300419 (host and jail).
> lang/gcc-4.8.5_2 and lang/gcc5-5.3.0 does not build.
> Up to now I had no problems to build it on ARM.

Here is the error message:
configure:3686: /wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/xgcc
-B/wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/
-B/usr/local/armv6-portbld-freebsd11.0/bin/
-B/usr/local/armv6-portbld-freebsd11.0/lib/ -isyst
em /usr/local/armv6-portbld-freebsd11.0/include -isystem
/usr/local/armv6-portbld-freebsd11.0/sys-include    -g -O2 -O22 -pipe
-DLIBICONV_PLUG -fno-strict-aliasing   conftest.c  >&5
/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

I think the problem is here:
https://github.com/freebsd/freebsd-ports/blob/master/lang/gcc/files/patch-arm-support#L289



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJwjRmSfM1X3u2M0gyANYLrTUoHQLRDN6_ydUB77qc%2BF_jkUJQ>