It seems there is some problem related to libffi. Please see the build log: http://pkgbuild.csie.ntu.edu.tw/pkg-stat/data/freebsd10-default-workstation/2015-01-28_15h00m34s/logs/errors/gcc5-5.0.s20150125.log
Auto-assigned to maintainer gerald@FreeBSD.org
A commit references this bug: Author: gerald Date: Fri Jan 30 00:18:47 UTC 2015 New revision: 378133 URL: https://svnweb.freebsd.org/changeset/ports/378133 Log: Also disable Java and libffi on amd64 until the next snapshot of GCC 5.0. PR: 197171 Changes: head/lang/gcc5/Makefile
I had reported this upstream and there has a fix been committed, which alas is quite large, so given that gcc5 really is more experimental at this point and we should see a new snapshot in two days, I plan on waiting for that (now that Java is disabled by default) and then enable everything again.
A commit references this bug: Author: gerald Date: Mon Feb 2 00:46:29 UTC 2015 New revision: 378284 URL: https://svnweb.freebsd.org/changeset/ports/378284 Log: Update to the 20150201 snapshot of GCC 5.0. This now successfully builds libffi again, so we can enable JAVA by default on i386 and amd64. PR: 197171 Changes: head/lang/gcc5/Makefile head/lang/gcc5/distinfo