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

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245511

Gerald Pfeifer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
              Flags|maintainer-feedback?(gerald |maintainer-feedback-
                   |@FreeBSD.org)               |
             Status|Closed                      |Open

--- Comment #3 from Gerald Pfeifer <[email protected]> ---
I was just looking into this today morning, but missed hitting "Save changes"
on my NACK.

I approve backporting the change that was discussed and committed upstream.  

Your other changes appear somewhat random and lead to a crippled compiler/
runtime.  Since this only affects powerpc* with the legacy ABI and you could
remove the dependency on GCC 8 there, let's primarily focus on how you have
been going about it.


Given that lang/gcc9 is the default version of GCC in the ports tree I would
definitely have avoided the PORTREVISION bump for the vast majority of users
- and made this conditional in this special case.

Changes to the lang/gcc ports should first go in via their lang/gcc-devel
counter-parts.  Alternatively, and I will do this in the next days (so do
*not* forward port your patch) we can disable powerpc* for lang/gcc9-devel
and focus on the lang/gcc9 port as clearly has been your approach over time.


I recommend you run `portlint -C` going forward - it would have caught
a formatting issue.  I'll address that next time I touch this Makefile.

And we don't do commit messages with lines of 299 chars.


Is files/patch-Makefile.in truely necessary?  If it is, how could overriding
BOOT_CFLAGS ever have worked for anyone?

According to gcc/gcc/doc/install.texi passing BOOT_CFLAGS via MAKE_ARGS
should work.  Can you please try that instead?

(https://ftp.gnu.org/old-gnu/Manuals/make-3.79.1/html_chapter/make_9.html#SEC90
explains why files/patch-Makefile.in should not be necessary.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.