tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Compiling python on 32 bit ARM



On Mon, Dec 30, 2024 at 15:25:32 +0300, Valery Ushakov wrote:

> mlelstv filed https://gnats.netbsd.org/58941 recently.
> I see this on my olimex earmv7hf with current too.

Fix is attached.

-uwe
--- Begin Message ---
The last change to patch/patch-configure introduced a bug (typo).
With the following fix I can build python312 on my arm32.

--- patches/patch-configure.orig	2024-12-25 03:25:04.211912953 +0300
+++ patches/patch-configure	2024-12-30 19:49:04.896889130 +0300
@@ -39,11 +39,11 @@
  
  
 -if grep noonsees conftest$EXEEXT >/dev/null ; then
-+if strings -a conftest.$ac_objext | grep noonsees >/dev/null ; then
++if strings -a conftest$ac_exeext | grep noonsees >/dev/null ; then
    ax_cv_c_float_words_bigendian=yes
  fi
 -if grep seesnoon conftest$EXEEXT >/dev/null ; then
-+if strings -a conftest.$ac_objext | grep seesnoon >/dev/null ; then
++if strings -a conftest$ac_exeext | grep seesnoon >/dev/null ; then
    if test "$ax_cv_c_float_words_bigendian" = unknown; then
      ax_cv_c_float_words_bigendian=no
    else

-uwe

--- End Message ---


Home | Main Index | Thread Index | Old Index