[Bug 198923] lang/gcc fails to build on armv6hf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 26 10:40:14 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198923

            Bug ID: 198923
           Summary: lang/gcc fails to build on armv6hf
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
               URL: http://chips.ysv.freebsd.org/data/11armv7-11armv6/2015
                    -02-22_19h54m00s/logs/errors/gcc-4.8.4.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gerald at FreeBSD.org
          Reporter: mikael.urankar at gmail.com
                CC: freebsd-arm at FreeBSD.org
                CC: freebsd-arm at FreeBSD.org
          Assignee: gerald at FreeBSD.org
             Flags: maintainer-feedback?(gerald at FreeBSD.org)

Created attachment 154821
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154821&action=edit
fix build on armv6hf

Hi,

build failure log:
configure: error: in
`/wrkdirs/usr/ports/lang/gcc/work/build/armv6-portbld-freebsd11.0/libgomp':
configure: error: C compiler cannot create executables

details found in config.log:
/usr/local/bin/ld: error: a.out uses VFP register arguments,
/usr/ports/lang/gcc/work/build/./gcc/crtbegin.o does not

The problem is because CONFIGURE_TARGET is set to armv6-portbld-freebsd11.0
instead of armv6hf-portbld-freebsd11.0

The attached patch fixes that.

build log:
http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/gcc-4.8.4.log

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-arm mailing list