[Bug 245511] lang/gcc9: build with base GCC on powerpc64 elfv1

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 27 21:07:09 UTC 2020


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

--- Comment #7 from Piotr Kubaj <pkubaj at FreeBSD.org> ---
> I understand, yet if that is an important function of the -devel ports
> for powerpc as well (I certainly see it that way in general), can you
> help test lang/gcc9-devel and push in changes there first before tackling
> lang/gcc9 going forward?
OK.

> Your change does not just affect the compiler binaries themselves, and I
> assume quite a bit, it also pushes -O0 for the target libraries.
I know that, I can already notice that some ports build much slower than before
(but it's just some, most still build in similar time).

Another advantage of building GCC with -O0 seems that some ports now build,
whereas previously the compiled binaries failed during build with segfault.
I had that experience with lang/ghc. It was ported some time ago and built just
fine, but some time ago started failing with segfault during build process. Now
was the first time in a few months that it built. There may be other ports in
similar situation.

> Once my patch is in, can you please give three things a try, one after
> the other?
>
> (1) CXXFLAGS_FOR_TARGET is really necessary (by removing it)?
> (2) CFLAGS_FOR_TARGET is really necessary (by removing it)?
> (3) For what is left after (1) and (2), is -O1 also sufficient?
OK, I'll test it.

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


More information about the freebsd-ppc mailing list