[Bug 243182] java/openjdk11: add bootstrap and fix compilation for powerpc64 elfv2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 15 09:53:29 UTC 2020


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

--- Comment #13 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
(In reply to Piotr Kubaj from comment #12)

The case for system-clang's use for powerpc64 is currently
even stronger:

> . . .
> You definitely could build FreeBSD without Clang and use external GCC on ELFv2
> . . .

devel/freebsd-gcc9 at powerpc64 (set up to use ELFv2) and
devel/binutils at powerpc64 are, together, not yet sufficient
to buildworld buildkernel . The GNU ld.bfd goes into a
unbounded loop during buildworld; for example, while trying
to link lld together. (I've reported that loop code and its
behavior upstream.)

I've not tried devel/freebsd-gcc6 at powerpc64 for ELFv2. But
gcc6 is beyond the gcc folks supporting it at this point.

I hope that at some point at least 2 modern toolchains
support buildworld buildkernel producing working code,
including booting. (I also hope for effective ABI
compatibility.)

system-clang + devel/binutils at powerpc64 produces a kernel
that crashes. (For all I know, both the binutils and the
kernel contribute to the mismatches are at runtime that
lead to the kernel crashing.)

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


More information about the freebsd-ppc mailing list