rust 1.37.0-1 (i686;znver1;x86_64;armv7hnl) 2019-6940
9999

Status published
Submitter nobodydead [@T] gmail.com
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/607726
Packages
rust-1.37.0-1.i686.binary
rust-1.37.0-1.i686.source
rust-src-1.37.0-1.i686.binary
rust-1.37.0-1.znver1.binary
rust-1.37.0-1.znver1.source
rust-src-1.37.0-1.znver1.binary
rust-1.37.0-1.x86_64.binary
rust-1.37.0-1.x86_64.source
rust-src-1.37.0-1.x86_64.binary
rust-1.37.0-1.armv7hnl.binary
rust-1.37.0-1.armv7hnl.source
rust-src-1.37.0-1.armv7hnl.binary
Build Date 2019-09-21 02:05:26 +0000 UTC
Last Updated 2019-09-26 17:21:13.354881964 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary d17ae6176c45fbf0c3f726fb67a8b3832ed598e8

commit d17ae6176c45fbf0c3f726fb67a8b3832ed598e8
Author:     Crispin Boylan <crisb@mandriva.org>
AuthorDate: Fri Sep 20 18:23:46 2019 +0100
Commit:     Crispin Boylan <crisb@mandriva.org>
CommitDate: Fri Sep 20 18:23:46 2019 +0100

    Fix 32-bit
---
 rust.spec | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/rust.spec b/rust.spec
index b57d5b0..f78ae10 100644
--- a/rust.spec
+++ b/rust.spec
@@ -200,7 +200,8 @@ export RUSTFLAGS="-Clink-arg=-Wl,-z,relro,-z,now"
 
 %install
 
-# needs to be set here too or rust things it needs to rebuild
+# all of this needs to be set here too or
+# rust/llvm thinks it needs to rebuild
 export RUST_BACKTRACE=1
 export RUSTFLAGS="-Clink-arg=-Wl,-z,relro,-z,now"
 
@@ -209,6 +210,15 @@ export RUSTFLAGS="-Clink-arg=-Wl,-z,relro,-z,now"
 export CC=gcc
 export CXX=g++
 export PATH=$PWD/omv_build_comp:$PATH
+
+%ifarch %{ix86} %{arm}
+# On 32-bit platforms, the linker barfs because the symbol table doesn't fit
+# into the available address space -- so we use -g0 for now
+export CFLAGS="%{optflags} -g0"
+export CXXFLAGS="%{optflags} -g0"
+export LDFLAGS="%{optflags} -g0"
+%endif
+
 %endif
 
 
Not Available

benbullard79 [@T] cox.netHuh?1648d 11hrs
benbullard79 [@T] cox.netTime to cull the herd1645d 15hrs
benbullard79 [@T] cox.netcull the herd1645d 14hrs