* [gentoo-commits] repo/gentoo:master commit in: profiles/arch/riscv/rv64gc/
@ 2019-05-05 22:23 Andreas K. Hüttel
0 siblings, 0 replies; 4+ messages in thread
From: Andreas K. Hüttel @ 2019-05-05 22:23 UTC (permalink / raw
To: gentoo-commits
commit: 34c4f183f83db87f03f9c2191922f613697378c1
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun May 5 22:22:43 2019 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun May 5 22:22:43 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c4f183
profiles: riscv: add multilib LDFLAGS and CHOST
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
profiles/arch/riscv/rv64gc/make.defaults | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/profiles/arch/riscv/rv64gc/make.defaults b/profiles/arch/riscv/rv64gc/make.defaults
index a98e8e97dd6..25c252da03b 100644
--- a/profiles/arch/riscv/rv64gc/make.defaults
+++ b/profiles/arch/riscv/rv64gc/make.defaults
@@ -20,11 +20,13 @@ SYMLINK_LIB="no"
# Flags for lp64d
CFLAGS_lp64d="-mabi=lp64d"
-# LDFLAGS_lp64d
+LDFLAGS_lp64d="-m elf64lriscv"
+CHOST_lp64d="riscv64-unknown-linux-gnu"
# Flags for lp64
CFLAGS_lp64="-mabi=lp64"
-# LDFLAGS_lp64
+LDFLAGS_lp64="-m elf64lriscv_lp64"
+CHOST_lp64="riscv64-unknown-linux-gnu"
# Enable lp64d by default
ABI_RISCV="lp64d"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/arch/riscv/rv64gc/
@ 2019-05-06 19:56 Andreas K. Hüttel
0 siblings, 0 replies; 4+ messages in thread
From: Andreas K. Hüttel @ 2019-05-06 19:56 UTC (permalink / raw
To: gentoo-commits
commit: 82641cea79fa5c7f4a15d9ad34674ccacac24da3
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon May 6 19:55:59 2019 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon May 6 19:56:34 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82641cea
profiles: riscv: remove -march from cflags in multilib
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
profiles/arch/riscv/rv64gc/make.defaults | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/profiles/arch/riscv/rv64gc/make.defaults b/profiles/arch/riscv/rv64gc/make.defaults
index 25c252da03b..fc03a0ec87c 100644
--- a/profiles/arch/riscv/rv64gc/make.defaults
+++ b/profiles/arch/riscv/rv64gc/make.defaults
@@ -3,7 +3,7 @@
# RISC-V profile for rv64gc multilib
-CFLAGS="-O2 -pipe -march=rv64gc"
+CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"
FCFLAGS="${CFLAGS}"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/arch/riscv/rv64gc/
@ 2020-05-07 8:39 Mikle Kolyada
0 siblings, 0 replies; 4+ messages in thread
From: Mikle Kolyada @ 2020-05-07 8:39 UTC (permalink / raw
To: gentoo-commits
commit: 1551a05e715766be7052b3507c8d94edd7f03b8a
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Thu May 7 08:38:52 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Thu May 7 08:39:29 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1551a05e
profiles/riscv: remove py37 from profile
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
profiles/arch/riscv/rv64gc/make.defaults | 4 ----
1 file changed, 4 deletions(-)
diff --git a/profiles/arch/riscv/rv64gc/make.defaults b/profiles/arch/riscv/rv64gc/make.defaults
index fc03a0ec87c..46206e24f6d 100644
--- a/profiles/arch/riscv/rv64gc/make.defaults
+++ b/profiles/arch/riscv/rv64gc/make.defaults
@@ -36,7 +36,3 @@ USE_EXPAND_HIDDEN="-ABI_RISCV"
# Implicitly enable lp64d in ebuilds without multilib support
IUSE_IMPLICIT="abi_riscv_lp64d"
-
-# Enable Python 3.7 since we can't use earlier versions
-PYTHON_TARGETS="python3_7"
-PYTHON_SINGLE_TARGET="python3_7"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/arch/riscv/rv64gc/
@ 2020-09-11 15:51 Andreas K. Hüttel
0 siblings, 0 replies; 4+ messages in thread
From: Andreas K. Hüttel @ 2020-09-11 15:51 UTC (permalink / raw
To: gentoo-commits
commit: 2e625d6b2813816c02d48977229d489f8255eae2
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 15:11:40 2020 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 15:44:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e625d6b
profiles: Add rv32 abis to riscv multilib profile
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
profiles/arch/riscv/rv64gc/make.defaults | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/profiles/arch/riscv/rv64gc/make.defaults b/profiles/arch/riscv/rv64gc/make.defaults
index 46206e24f6d..efa94c72668 100644
--- a/profiles/arch/riscv/rv64gc/make.defaults
+++ b/profiles/arch/riscv/rv64gc/make.defaults
@@ -2,6 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# RISC-V profile for rv64gc multilib
+#
+# This immediate profile is ONLY useful for internal purposes; it can generate
+# stages just fine, but the only "hardware" that can run them is qemu-user ...
CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
@@ -9,13 +12,15 @@ FFLAGS="${CFLAGS}"
FCFLAGS="${CFLAGS}"
# Multilib ABIs
-MULTILIB_ABIS="lp64d lp64"
+MULTILIB_ABIS="lp64d lp64 ilp32d ilp32"
DEFAULT_ABI="lp64d"
ABI="lp64d"
# Library directories
LIBDIR_lp64d="lib64/lp64d"
LIBDIR_lp64="lib64/lp64"
+LIBDIR_ilp32d="lib32/ilp32d"
+LIBDIR_ilp32="lib32/ilp32"
SYMLINK_LIB="no"
# Flags for lp64d
@@ -28,6 +33,16 @@ CFLAGS_lp64="-mabi=lp64"
LDFLAGS_lp64="-m elf64lriscv_lp64"
CHOST_lp64="riscv64-unknown-linux-gnu"
+# Flags for ilp32d
+CFLAGS_ilp32d="-mabi=ilp32d -march=rv32imafdc"
+LDFLAGS_ilp32d="-m elf32lriscv"
+CHOST_ilp32d="riscv32-unknown-linux-gnu"
+
+# Flags for ilp32
+CFLAGS_ilp32="-mabi=ilp32 -march=rv32imac"
+LDFLAGS_ilp32="-m elf32lriscv_ilp32"
+CHOST_ilp32="riscv32-unknown-linux-gnu"
+
# Enable lp64d by default
ABI_RISCV="lp64d"
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-09-11 15:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-11 15:51 [gentoo-commits] repo/gentoo:master commit in: profiles/arch/riscv/rv64gc/ Andreas K. Hüttel
-- strict thread matches above, loose matches on Subject: below --
2020-05-07 8:39 Mikle Kolyada
2019-05-06 19:56 Andreas K. Hüttel
2019-05-05 22:23 Andreas K. Hüttel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox