-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS-8584 Introduce gcc14 as the shadow-compiler #125
Open
tsoome
wants to merge
1
commit into
master
Choose a base branch
from
OS-8584
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# | ||
# This file and its contents are supplied under the terms of the | ||
# Common Development and Distribution License ("CDDL"), version 1.0. | ||
# You may only use this file in accordance with the terms of version | ||
# 1.0 of the CDDL. | ||
# | ||
# A full copy of the text of the CDDL should have accompanied this | ||
# source. A copy of the CDDL is also available via the Internet at | ||
# http://www.illumos.org/license/CDDL. | ||
# | ||
|
||
# | ||
# Copyright 2021 Joyent, Inc. | ||
# Copyright 2024 MNX Cloud, Inc. | ||
# | ||
|
||
# | ||
# The tarball is from a specific tagged release of | ||
# https://github.com/illumos/gcc repository. This includes all of the | ||
# illumos-specific modifications we need. We could probably do a git clone | ||
# instead, but the tarball method is easier given these Makefiles. | ||
# | ||
|
||
include ../Makefile.defs | ||
|
||
BUILD64=yes | ||
BUILD32= | ||
|
||
GCC_VER = 14 | ||
VER = gcc-14.2.0-il-1 | ||
MPFR_VER = mpfr-4.2.1 | ||
GMP_VER = gmp-6.3.0 | ||
MPC_VER = mpc-1.3.1 | ||
|
||
include ../Makefile.gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
From 6d60d54cd43708f73bc54aa464047c5e5c15c7ab Mon Sep 17 00:00:00 2001 | ||
From: Andy Fiddaman <[email protected]> | ||
Date: Thu, 9 May 2019 13:43:30 +0000 | ||
Subject: OOCE: Adjust default library paths for OmniOS | ||
|
||
--- | ||
gcc/config/sol2.h | 10 ++++++---- | ||
1 file changed, 6 insertions(+), 4 deletions(-) | ||
|
||
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h | ||
index 0e1fbaeaf863..3bfeab05bc40 100644 | ||
--- a/gcc/config/sol2.h | ||
+++ b/gcc/config/sol2.h | ||
@@ -304,12 +304,15 @@ along with GCC; see the file COPYING3. If not see | ||
"%{Ofast|ffast-math|funsafe-math-optimizations:%{!shared:crtfastmath.o%s}} \ | ||
%(endfile_arch) %(endfile_vtv) %(endfile_crtend) crtn.o%s" | ||
|
||
+#define STRINGIFY(x) #x | ||
+#define TOSTRING(x) STRINGIFY(x) | ||
+#define GNUCMAJOR TOSTRING(__GNUC__) | ||
+ | ||
#undef LINK_ARCH32_SPEC_BASE | ||
#define LINK_ARCH32_SPEC_BASE \ | ||
"%{YP,*} \ | ||
%{R*} \ | ||
- %{!YP,*:%{p|pg:-Y P,%R/usr/lib/libp%R/lib:%R/usr/lib} \ | ||
- %{!p:%{!pg:-Y P,%R/lib:%R/usr/lib}}}" | ||
+ %{!YP,*:-Y P,%R/usr/gcc/" GNUCMAJOR "/lib:%R/lib:%R/usr/lib -L %R/usr/gcc/" GNUCMAJOR "/lib -R %R/usr/gcc/" GNUCMAJOR "/lib}" | ||
|
||
#undef LINK_ARCH32_SPEC | ||
#define LINK_ARCH32_SPEC LINK_ARCH32_SPEC_BASE | ||
@@ -320,8 +323,7 @@ along with GCC; see the file COPYING3. If not see | ||
#define LINK_ARCH64_SPEC_BASE \ | ||
"%{YP,*} \ | ||
%{R*} \ | ||
- %{!YP,*:%{p|pg:-Y P,%R/usr/lib/libp/" ARCH64_SUBDIR ":%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "} \ | ||
- %{!p:%{!pg:-Y P,%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}}}" | ||
+ %{!YP,*:-Y P,%R/usr/gcc/" GNUCMAJOR "/lib/" ARCH64_SUBDIR ":%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR " -L %R/usr/gcc/" GNUCMAJOR "/lib/" ARCH64_SUBDIR " -R %R/usr/gcc/" GNUCMAJOR "/lib/" ARCH64_SUBDIR "}" | ||
|
||
#undef LINK_ARCH64_SPEC | ||
#ifndef USE_GLD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
52f7a39caeae0d14f8a94b600fd6b8e436b57b69 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
32d21c4fae046de45e8fce37bf4002236d283b71 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bac1c1fa79f5602df1e29e4684e103ad55714e02 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
f9dbe49b092e4c8e0a039e6d46c059696cc2f51c |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh good catch!