You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
curl 8.1.1 configure hangs for multilib build #11179
I was packaging curl 8.1.1 for Arch Linux. Building the regular curl package ( x86-64) succeeds, building lib32-curl package (multilib) fails, it hangs in configure:
[...]
checking if compiler is clang... no
checking if compiler is GNU C... yes
checking if compiler is LCC... no
checking if compiler is SGI MIPSpro C... no
checking if compiler is SGI MIPS C... no
checking if compiler is SunPro C... no
checking if compiler is Tiny C... no
checking if compiler accepts some basic options... ^C
diff --git a/configure.ac b/configure.ac
index 75a882b12..1f822d16f 100644
--- a/configure.ac+++ b/configure.ac@@ -191,11 +191,11 @@ dnl Generates a shell script to run the compiler with LD_LIBRARY_PATH set to
dnl the value used right now. This lets CURL_RUN_IFELSE set LD_LIBRARY_PATH to
dnl something different but only have that affect the execution of the results
dnl of the compile, not change the libraries for the compiler itself.
dnl
compilersh="run-compiler"
-echo "CC=$CC" > $compilersh+echo "CC=\"$CC\"" > $compilersh
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $compilersh
echo 'exec $CC $@' >> $compilersh
dnl **********************************************************************
dnl See which TLS backend(s) that are requested. Just do all the
Activity
bagder commentedon May 23, 2023
Can you figure out why it hangs? The script it runs is very simple...
eworm-de commentedon May 23, 2023
The script
run-compilercontains:eworm-de commentedon May 23, 2023
Is it missing a quote? Let me test...
bagder commentedon May 23, 2023
This patch would add quotes:
configure: quote the compiler command
eworm-de commentedon May 23, 2023
Yes, my patch looks the same. 😉
[-]configure hangs for multilib build[/-][+]curl 8.1.1 configure hangs for multilib build[/+]configure: quote the assignments for run-compiler
configure: quote the assignments for run-compiler