Fixes for cross compilation #194
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/crossRV64"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
c5563ab111tocc7f674f38@ -36,2 +40,4 @@CPPFLAGS=-I${libtirpc.dev}/include/tirpcLDFLAGS=-ltirpcCC=${stdenv.cc.targetPrefix}ccAR=${stdenv.cc.targetPrefix}arMaybe just
CC=$CCandAR=$AR?@ -0,0 +7,4 @@CC=`../scripts/compiler`MAKE=`../scripts/make`-AR=ar+AR?=arDo we need this patch? When passing variables via make arguments, they should take precedence over
=.https://www.gnu.org/software/make/manual/html_node/Overriding.html
@ -75,2 +79,3 @@(optional enableJemalloc "--with-jemalloc=${jemallocNanos6}") ++(optional enableGlibcxxDebug "CXXFLAGS=-D_GLIBCXX_DEBUG");(optional enableGlibcxxDebug "CXXFLAGS=-D_GLIBCXX_DEBUG") ++(optional isCross "--with-symbol-resolution=ifunc");We may want to add a comment on why we explicitly chose ifunc over indirect. I forgot why we usually want ifunc.
I am not sure either, nanos6 uses
ifuncas the default and indirect the fallback:57f0d9e5b0cc7f674f38to58a9a09c3158a9a09c31to6c7bb0c3cd6c7bb0c3cdto67726c1d44