[Bug 235393] lang/gcc* need CONFIGURE_ARGS updated for powerpcspe

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 1 15:33:45 UTC 2019


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

            Bug ID: 235393
           Summary: lang/gcc* need CONFIGURE_ARGS updated for powerpcspe
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: jhibbits at FreeBSD.org

It seems the build of gcc* ports doesn't like the binutils update to 2.31, it
now complains in the middle of the build (about 4 hours in) with a link-time
build mismatch (some files built with double-precision floating point, other
files with single-precision).  I think this is due to a quirk in the way gcc is
built.

Someone did point out that the "--with-cpu=8540" is technically incorrect
anyway, since we don't even support that platform in the first place.  The
oldest platform we support for powerpcspe is the 8548. So changing

CONFIGURE_ARGS+= --with-cpu=8540....

to

CONFIGURE_ARGS+= --with-cpu=8548....

fixes the build, and everything is happy.

This may allow us to remove some CFLAGS, but I'm not concerned about that for
now, and will adjust the flags in the system makefiles when I do get around to
testing more.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list