[Bug 215947] head -r311147 (e.g.) for powerpc/powerpc64: gcc 4.2.1 requires -mlongcall but clang does not need it (and various versions do not have it)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 10 20:29:21 UTC 2017


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

--- Comment #5 from Mark Millard <markmi at dsl-only.net> ---
Comment on attachment 178726
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178726
avoid -mlongcall use for clang; use it for gcc

I should have noted that for lib/csu/powerpc64/Makefile the:

-.include <bsd.compiler.mk>
-.if ${COMPILER_TYPE} != "gcc"
-CC:=           gcc
-COMPILER_TYPE:=        gcc
-.endif

would still apply.

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


More information about the freebsd-bugs mailing list