public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/98181] New: Add support for FreeBSD on powerpc64le
@ 2020-12-07 16:25 pkubaj at anongoth dot pl
2020-12-07 16:34 ` [Bug bootstrap/98181] " redi at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pkubaj at anongoth dot pl @ 2020-12-07 16:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98181
Bug ID: 98181
Summary: Add support for FreeBSD on powerpc64le
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: pkubaj at anongoth dot pl
Target Milestone: ---
Created attachment 49698
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49698&action=edit
patch
FreeBSD has recently added support for powerpc64le architecture (ppc64le using
Linux naming). FreeBSD and GCC both had previously supported powerpc64 (ppc64
using Linux naming) so this patch is pretty simple, it only adds endianness
detection using similar code that Linux code uses.
While here, also clear the issue of default tuning. People that still use
32-bit POWER are likely on G4, so tune for that. On 64-bits, tune for POWER8
(similarly to Linux). Also remove the obsolete comment that FreeBSD doesn't
support anything newer than PPC970 - it works nice on my POWER9 workstation.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/98181] Add support for FreeBSD on powerpc64le
2020-12-07 16:25 [Bug bootstrap/98181] New: Add support for FreeBSD on powerpc64le pkubaj at anongoth dot pl
@ 2020-12-07 16:34 ` redi at gcc dot gnu.org
2020-12-08 7:19 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2020-12-07 16:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98181
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Please send patches to the gcc-patches mailing list, rather than in bugzilla.
https://gcc.gnu.org/contribute.html#patches
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/98181] Add support for FreeBSD on powerpc64le
2020-12-07 16:25 [Bug bootstrap/98181] New: Add support for FreeBSD on powerpc64le pkubaj at anongoth dot pl
2020-12-07 16:34 ` [Bug bootstrap/98181] " redi at gcc dot gnu.org
@ 2020-12-08 7:19 ` rguenth at gcc dot gnu.org
2021-02-22 0:07 ` gerald at pfeifer dot com
2021-02-22 23:41 ` segher at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-12-08 7:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98181
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Target| |powerpc64le-freebsd
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/98181] Add support for FreeBSD on powerpc64le
2020-12-07 16:25 [Bug bootstrap/98181] New: Add support for FreeBSD on powerpc64le pkubaj at anongoth dot pl
2020-12-07 16:34 ` [Bug bootstrap/98181] " redi at gcc dot gnu.org
2020-12-08 7:19 ` rguenth at gcc dot gnu.org
@ 2021-02-22 0:07 ` gerald at pfeifer dot com
2021-02-22 23:41 ` segher at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: gerald at pfeifer dot com @ 2021-02-22 0:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98181
Gerald Pfeifer <gerald at pfeifer dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |segher at kernel dot crashing.org
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Gerald Pfeifer <gerald at pfeifer dot com> ---
I believe this has been addressed and Segher committed patches for that,
so closing this.
Please advise in case there's something missing.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/98181] Add support for FreeBSD on powerpc64le
2020-12-07 16:25 [Bug bootstrap/98181] New: Add support for FreeBSD on powerpc64le pkubaj at anongoth dot pl
` (2 preceding siblings ...)
2021-02-22 0:07 ` gerald at pfeifer dot com
@ 2021-02-22 23:41 ` segher at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: segher at gcc dot gnu.org @ 2021-02-22 23:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98181
Segher Boessenkool <segher at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |segher at gcc dot gnu.org
--- Comment #3 from Segher Boessenkool <segher at gcc dot gnu.org> ---
I should have looked if there was a PR for this, sorry. This was:
commit 2a4183234a45ba28db5ce16cf3ccdd70cdef3b7c
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: Wed Dec 16 22:26:18 2020 +0000
Commit: Segher Boessenkool <segher@kernel.crashing.org>
CommitDate: Wed Dec 16 22:54:51 2020 +0000
rs6000: Add support for powerpc64le-unknown-freebsd
This implements support for powerpc64le architecture on FreeBSD. Since
we don't have powerpcle (32-bit), I did not add support for powerpcle
here. This remains to be changed if there is powerpcle support in the
future.
2020-12-15 Piotr Kubaj <pkubaj@FreeBSD.org>
gcc/
* config.gcc (powerpc*le-*-freebsd*): Add.
* configure.ac (powerpc*le-*-freebsd*): Ditto.
* configure: Regenerate.
* config/rs6000/freebsd64.h (ASM_SPEC_COMMON): Use ENDIAN_SELECT.
(DEFAULT_ASM_ENDIAN): Add little endian support.
(LINK_OS_FREEBSD_SPEC64): Ditto.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-02-22 23:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-07 16:25 [Bug bootstrap/98181] New: Add support for FreeBSD on powerpc64le pkubaj at anongoth dot pl
2020-12-07 16:34 ` [Bug bootstrap/98181] " redi at gcc dot gnu.org
2020-12-08 7:19 ` rguenth at gcc dot gnu.org
2021-02-22 0:07 ` gerald at pfeifer dot com
2021-02-22 23:41 ` segher at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).