[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:27:45 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215947
--- Comment #4 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
An alternate if it is supported for lib/csu/powerpc64/Makefile is use of:
CFLAGS+= -I${.CURDIR}/../common \
-I${.CURDIR}/../../libc/include
CFLAGS.gcc+= -mlongcall
without the conditional logic for compiler type.
Similarly for sys/conf/kmod.mk if supported there:
CFLAGS+= -fno-omit-frame-pointer
CFLAGS.gcc+= -mlongcall
again without the conditional logic for compiler type.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list