Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2015 10:40:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 198923] lang/gcc fails to build on armv6hf
Message-ID:  <bug-198923-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: mikael.urankar@gmail.com
                CC: freebsd-arm@FreeBSD.org
                CC: freebsd-arm@FreeBSD.org
          Assignee: gerald@FreeBSD.org
             Flags: maintainer-feedback?(gerald@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198923-7>