landley / toybox

toybox
http://landley.net/toybox
BSD Zero Clause License
2.44k stars 338 forks source link

m4:/tmp/XXXXXXXXXX/traces.m4:XXX: ERROR: end of file in string #176

Closed firasuke closed 8 months ago

firasuke commented 4 years ago

I've encountered this error when attempting to autoreconf packages while inside a musl-based chroot environment containing toybox.

The error causes the output of autoconf -v which in turn runs:

/usr/bin/autom4te -v --language=autoconf --output=configure configure.ac

to produce weird symbols (e.g. 'P+>��' => 1,) which causes m4 to wrongly complain:

m4:/tmp/XXXXXXXXXX/traces.m4:XXX: ERROR: end of file in string

(The first Xs stand for 'am4tPIbHoM', and the second 3 Xs for '198' in the example above, but they're random in most cases.)

I realized that this error is related to the extreme 'performance' optimization flags I'm testing to build packages, and it took me a lot of time to isolate particular flags and packages which caused this problem.

Having examined musl, perl, autoconf, automake and m4 it seems that the error is unrelated to these tools.

This isn't an issue anymore as I managed to solve it recently, but I thought that it might be interesting for you (or anyone passing by) to see how an extremely (even dangerously) optimized toybox can prevent running autoreconf (with build.sh, bootstrap.sh and autogen.sh being the most scripts that rely on it) in musl-based chroots.

The flags that toybox shouldn't be built with to solve the error above are:

CFLAGS: 1- -flto 2- -fno-common

LDFLAGS: 1- -Wl,-z,now,-z,relro

Here's a log showing what the error above looks like, when attempting to run ./autogen.sh (in particular at the autoconf -v step) in the latest xz (version 5.2.5) source directory:

autoconf: running /usr/bin/autom4te -v --language=autoconf --output=configure configure.ac
autom4te: formatting traces for `/tmp/am4tPIbHoM/dependencies': include, m4_include
m4:/tmp/am4tPIbHoM/traces.m4:198: ERROR: end of file in string
autom4te: up_to_date (autom4te.cache/traces.1): up to date
autom4te: the trace request object is:
autom4te: $VAR1 = bless( [
autom4te:                  '1',
autom4te:                  1,
autom4te:                  [
autom4te:                    '/usr/share/autoconf'
autom4te:                  ],
autom4te:                  [
autom4te:                    '/usr/share/autoconf/autoconf/autoconf.m4f',
autom4te:                    'aclocal.m4',
autom4te:                    'configure.ac'
autom4te:                  ],
autom4te:                  {
autom4te:                    'AM_AUTOMAKE_VERSION' => 1,
autom4te:                    'AM_PROG_AR' => 1,
autom4te:                    'LT_CONFIG_LTDL_DIR' => 1,
autom4te:                    'AM_NLS' => 1,
autom4te:                    'P;�' => 1,
autom4te:                    'AC_FC_FREEFORM' => 1,
autom4te:                    'P��yt' => 1,
autom4te:                    'P��{�' => 1,
autom4te:                    'm4_pattern_allow' => 1,
autom4te:                    'P
                               �(' => 1,
autom4te:                    'PK�w' => 1,
autom4te:                    'AC_PROG_LIBTOOL' => 1,
autom4te:                    'AM_PROG_FC_C_O' => 1,
autom4te:                    'AC_CONFIG_LIBOBJ_DIR' => 1,
autom4te:                    'AM_PROG_F77_C_O' => 1,
autom4te:                    'P����' => 1,
autom4te:                    'AM_SILENT_RULES' => 1,
autom4te:                    'P��s�' => 1,
autom4te:                    'AM_PATH_GUILE' => 1,
autom4te:                    'P;��t' => 1,
autom4te:                    'AC_FC_PP_DEFINE' => 1,
autom4te:                    '_AM_SUBST_NOTMAKE' => 1,
autom4te:                    'AC_CONFIG_SUBDIRS' => 1,
autom4te:                    'P+n͜' => 1,
autom4te:                    'P����' => 1,
autom4te:                    'P+P�U' => 1,
autom4te:                    'AM_EXTRA_RECURSIVE_TARGETS' => 1,
autom4te:                    'P�' => 1,
autom4te:                    'AC_CONFIG_LINKS' => 1,
autom4te:                    'AC_CANONICAL_BUILD' => 1,
autom4te:                    'P��_,' => 1,
autom4te:                    'AM_XGETTEXT_OPTION' => 1,
autom4te:                    'P
                               �X' => 1,
autom4te:                    'AC_REQUIRE_AUX_FILE' => 1,
autom4te:                    'LT_INIT' => 1,
autom4te:                    'm4_sinclude' => 1,
autom4te:                    'P��&[' => 1,
autom4te:                    'P+>��' => 1,
autom4te:                    'AM_CONDITIONAL' => 1,
autom4te:                    '_AM_COND_ENDIF' => 1,
autom4te:                    'P+�~N' => 1,
autom4te:                    'AM_PROG_CXX_C_O' => 1,
autom4te:                    'P�z' => 1,
autom4te:                    'P�(�"' => 1,
autom4te:                    'AC_CANONICAL_TARGET' => 1,
autom4te:                    '_m4_warn' => 1,
autom4te:                    'AM_INIT_AUTOMAKE' => 1,
autom4te:                    'P;G' => 1,
autom4te:                    'AM_PROG_MOC' => 1,
autom4te:                    '_AM_COND_ELSE' => 1,
autom4te:                    'P{Z�O' => 1,
autom4te:                    'AC_CONFIG_HEADERS' => 1,
autom4te:                    'AC_INIT' => 1,
autom4te:                    'AM_POT_TOOLS' => 1,
autom4te:                    'AC_CONFIG_AUX_DIR' => 1,
autom4te:                    'm4_pattern_forbid' => 1,
autom4te:                    'AC_CANONICAL_HOST' => 1,
autom4te:                    'AC_DEFINE_TRACE_LITERAL' => 1,
autom4te:                    'AC_LIBSOURCE' => 1,
autom4te:                    'AC_CANONICAL_SYSTEM' => 1,
autom4te:                    'P��' => 1,
autom4te:                    'include' => 1,
autom4te:                    'LT_SUPPORTED_TAG' => 1,
autom4te:                    'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
autom4te:                    'AC_SUBST' => 1,
autom4te:                    'AM_GNU_GETTEXT' => 1,
autom4te:                    'AM_PROG_CC_C_O' => 1,
autom4te:                    'AH_OUTPUT' => 1,
autom4te:                    'AC_SUBST_TRACE' => 1,
autom4te:                    'P+�eT' => 1,
autom4te:                    'P{�x�' => 1,
autom4te:                    'AC_FC_SRCEXT' => 1,
autom4te:                    'AM_MAINTAINER_MODE' => 1,
autom4te:                    'm4_include' => 1,
autom4te:                    'P��O' => 1,
autom4te:                    'AM_MAKEFILE_INCLUDE' => 1,
autom4te:                    'AM_ENABLE_MULTILIB' => 1,
autom4te:                    'sinclude' => 1,
autom4te:                    '_LT_AC_TAGCONFIG' => 1,
autom4te:                    '_AM_MAKEFILE_INCLUDE' => 1,
autom4te:                    '_AM_COND_IF' => 1,
autom4te:                    'P+ȁ' => 1,
autom4te:                    'P���w' => 1,
autom4te:                    'AC_FC_PP_SRCEXT' => 1,
autom4te:                    'P��2�~' => 1,
autom4te:                    'P����' => 1,
autom4te:                    'AC_CONFIG_FILES' => 1
autom4te:                  }
autom4te:                ], 'Autom4te::Request' );
autom4te: formatting traces for `/tmp/am4tPIbHoM/warnings': _m4_warn
m4:/tmp/am4tPIbHoM/traces.m4:198: ERROR: end of file in string
autom4te: reading /tmp/am4tPIbHoM/warnings
autom4te: creating configure
autom4te: formatting traces for `/tmp/am4tPIbHoM/patterns': m4_pattern_allow, m4_pattern_forbid
m4:/tmp/am4tPIbHoM/traces.m4:198: ERROR: end of file in string
autom4te: forbidden tokens: ^$
autom4te: allowed   tokens: ^$

Here's what the correct output should look like (when not using the flags above, and in other chroots):

autoconf: running /usr/bin/autom4te -v --language=autoconf --output=configure configure.ac
autom4te: formatting traces for `/tmp/am4tpabcBk/dependencies': include, m4_include
autom4te: up_to_date (autom4te.cache/traces.1): up to date
autom4te: the trace request object is:
autom4te: $VAR1 = bless( [
autom4te:                  '1',
autom4te:                  1,
autom4te:                  [
autom4te:                    '/usr/share/autoconf'
autom4te:                  ],
autom4te:                  [
autom4te:                    '/usr/share/autoconf/autoconf/autoconf.m4f',
autom4te:                    'aclocal.m4',
autom4te:                    'configure.ac'
autom4te:                  ],
autom4te:                  {
autom4te:                    'AM_NLS' => 1,
autom4te:                    'AC_CONFIG_FILES' => 1,
autom4te:                    'AM_AUTOMAKE_VERSION' => 1,
autom4te:                    'AM_PROG_MKDIR_P' => 1,
autom4te:                    '_AM_COND_ELSE' => 1,
autom4te:                    'AC_CONFIG_LINKS' => 1,
autom4te:                    'LT_INIT' => 1,
autom4te:                    'AC_SUBST_TRACE' => 1,
autom4te:                    'AC_FC_SRCEXT' => 1,
autom4te:                    'AC_PROG_LIBTOOL' => 1,
autom4te:                    'LT_CONFIG_LTDL_DIR' => 1,
autom4te:                    'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
autom4te:                    'AC_CANONICAL_SYSTEM' => 1,
autom4te:                    'AM_MAKEFILE_INCLUDE' => 1,
autom4te:                    'AC_FC_FREEFORM' => 1,
autom4te:                    'AC_CONFIG_SUBDIRS' => 1,
autom4te:                    'AM_ENABLE_MULTILIB' => 1,
autom4te:                    'AM_PROG_MOC' => 1,
autom4te:                    'AC_FC_PP_SRCEXT' => 1,
autom4te:                    '_AM_COND_IF' => 1,
autom4te:                    '_AM_SUBST_NOTMAKE' => 1,
autom4te:                    '_AM_COND_ENDIF' => 1,
autom4te:                    'AC_CONFIG_HEADERS' => 1,
autom4te:                    'AC_CONFIG_AUX_DIR' => 1,
autom4te:                    'AC_DEFINE_TRACE_LITERAL' => 1,
autom4te:                    'AC_REQUIRE_AUX_FILE' => 1,
autom4te:                    'AC_FC_PP_DEFINE' => 1,
autom4te:                    'AM_PROG_FC_C_O' => 1,
autom4te:                    'sinclude' => 1,
autom4te:                    'AM_PROG_F77_C_O' => 1,
autom4te:                    'AM_CONDITIONAL' => 1,
autom4te:                    'LT_SUPPORTED_TAG' => 1,
autom4te:                    'm4_pattern_allow' => 1,
autom4te:                    'AM_PROG_CXX_C_O' => 1,
autom4te:                    'AM_XGETTEXT_OPTION' => 1,
autom4te:                    'AC_CONFIG_LIBOBJ_DIR' => 1,
autom4te:                    'm4_include' => 1,
autom4te:                    '_LT_AC_TAGCONFIG' => 1,
autom4te:                    'AC_LIBSOURCE' => 1,
autom4te:                    'm4_sinclude' => 1,
autom4te:                    'AH_OUTPUT' => 1,
autom4te:                    'AM_GNU_GETTEXT' => 1,
autom4te:                    'AC_INIT' => 1,
autom4te:                    '_AM_MAKEFILE_INCLUDE' => 1,
autom4te:                    'AM_MAINTAINER_MODE' => 1,
autom4te:                    'AM_PROG_CC_C_O' => 1,
autom4te:                    'AM_SILENT_RULES' => 1,
autom4te:                    'AC_CANONICAL_BUILD' => 1,
autom4te:                    '_m4_warn' => 1,
autom4te:                    'AM_PROG_AR' => 1,
autom4te:                    'AM_PATH_GUILE' => 1,
autom4te:                    'm4_pattern_forbid' => 1,
autom4te:                    'AC_SUBST' => 1,
autom4te:                    'include' => 1,
autom4te:                    'AM_POT_TOOLS' => 1,
autom4te:                    'AC_CANONICAL_TARGET' => 1,
autom4te:                    'AM_INIT_AUTOMAKE' => 1,
autom4te:                    'AC_CANONICAL_HOST' => 1
autom4te:                  }
autom4te:                ], 'Autom4te::Request' );
autom4te: formatting traces for `/tmp/am4tpabcBk/warnings': _m4_warn
autom4te: reading /tmp/am4tpabcBk/warnings
autom4te: creating configure
autom4te: formatting traces for `/tmp/am4tpabcBk/patterns': m4_pattern_allow, m4_pattern_forbid
autom4te: forbidden tokens: ^_?A[CHUM]_|_AC_|^LIBOBJS$|^_?m4_|^dnl$|^_?AS_|^_?LT_[A-Z_]+$
autom4te: forbidden token : ^LIBOBJS$ => do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'
autom4te: allowed   tokens: ^am__quote$|^AS_FLAGS$|^SHELL$|^PATH_SEPARATOR$|^PACKAGE_NAME$|^PACKAGE_TARNAME$|^PACKAGE_VERSION$|^PACKAGE_STRING$|^PACKAGE_BUGREPORT$|^PACKAGE_URL$|^exec_prefix$|^prefix$|^program_transform_name$|^bindir$|^sbindir$|^libexecdir$|^datarootdir$|^datadir$|^sysconfdir$|^sharedstatedir$|^localstatedir$|^includedir$|^oldincludedir$|^docdir$|^infodir$|^htmldir$|^dvidir$|^pdfdir$|^psdir$|^libdir$|^localedir$|^mandir$|^PACKAGE_NAME$|^PACKAGE_TARNAME$|^PACKAGE_VERSION$|^PACKAGE_STRING$|^PACKAGE_BUGREPORT$|^PACKAGE_URL$|^DEFS$|^ECHO_C$|^ECHO_N$|^ECHO_T$|^LIBS$|^build_alias$|^host_alias$|^target_alias$|^build$|^build_cpu$|^build_vendor$|^build_os$|^host$|^host_cpu$|^host_vendor$|^host_os$|^COND_W32_TRUE$|^COND_W32_FALSE$|^LN_EXEEXT$|^NDEBUG$|^HAVE_ENCODER_LZMA1$|^HAVE_ENCODER_LZMA2$|^HAVE_ENCODER_DELTA$|^HAVE_ENCODER_X86$|^HAVE_ENCODER_POWERPC$|^HAVE_ENCODER_IA64$|^HAVE_ENCODER_ARM$|^HAVE_ENCODER_ARMTHUMB$|^HAVE_ENCODER_SPARC$|^HAVE_ENCODERS$|^HAVE_DECODER_LZMA1$|^HAVE_DECODER_LZMA2$|^HAVE_DECODER_DELTA$|^HAVE_DECODER_X86$|^HAVE_DECODER_POWERPC$|^HAVE_DECODER_IA64$|^HAVE_DECODER_ARM$|^HAVE_DECODER_ARMTHUMB$|^HAVE_DECODER_SPARC$|^HAVE_DECODERS$|^COND_MAIN_ENCODER_TRUE$|^COND_MAIN_ENCODER_FALSE$|^COND_MAIN_DECODER_TRUE$|^COND_MAIN_DECODER_FALSE$|^COND_FILTER_LZMA1_TRUE$|^COND_FILTER_LZMA1_FALSE$|^COND_ENCODER_LZMA1_TRUE$|^COND_ENCODER_LZMA1_FALSE$|^COND_DECODER_LZMA1_TRUE$|^COND_DECODER_LZMA1_FALSE$|^COND_FILTER_LZMA2_TRUE$|^COND_FILTER_LZMA2_FALSE$|^COND_ENCODER_LZMA2_TRUE$|^COND_ENCODER_LZMA2_FALSE$|^COND_DECODER_LZMA2_TRUE$|^COND_DECODER_LZMA2_FALSE$|^COND_FILTER_DELTA_TRUE$|^COND_FILTER_DELTA_FALSE$|^COND_ENCODER_DELTA_TRUE$|^COND_ENCODER_DELTA_FALSE$|^COND_DECODER_DELTA_TRUE$|^COND_DECODER_DELTA_FALSE$|^COND_FILTER_X86_TRUE$|^COND_FILTER_X86_FALSE$|^COND_ENCODER_X86_TRUE$|^COND_ENCODER_X86_FALSE$|^COND_DECODER_X86_TRUE$|^COND_DECODER_X86_FALSE$|^COND_FILTER_POWERPC_TRUE$|^COND_FILTER_POWERPC_FALSE$|^COND_ENCODER_POWERPC_TRUE$|^COND_ENCODER_POWERPC_FALSE$|^COND_DECODER_POWERPC_TRUE$|^COND_DECODER_POWERPC_FALSE$|^COND_FILTER_IA64_TRUE$|^COND_FILTER_IA64_FALSE$|^COND_ENCODER_IA64_TRUE$|^COND_ENCODER_IA64_FALSE$|^COND_DECODER_IA64_TRUE$|^COND_DECODER_IA64_FALSE$|^COND_FILTER_ARM_TRUE$|^COND_FILTER_ARM_FALSE$|^COND_ENCODER_ARM_TRUE$|^COND_ENCODER_ARM_FALSE$|^COND_DECODER_ARM_TRUE$|^COND_DECODER_ARM_FALSE$|^COND_FILTER_ARMTHUMB_TRUE$|^COND_FILTER_ARMTHUMB_FALSE$|^COND_ENCODER_ARMTHUMB_TRUE$|^COND_ENCODER_ARMTHUMB_FALSE$|^COND_DECODER_ARMTHUMB_TRUE$|^COND_DECODER_ARMTHUMB_FALSE$|^COND_FILTER_SPARC_TRUE$|^COND_FILTER_SPARC_FALSE$|^COND_ENCODER_SPARC_TRUE$|^COND_ENCODER_SPARC_FALSE$|^COND_DECODER_SPARC_TRUE$|^COND_DECODER_SPARC_FALSE$|^COND_FILTER_SIMPLE_TRUE$|^COND_FILTER_SIMPLE_FALSE$|^COND_ENCODER_SIMPLE_TRUE$|^COND_ENCODER_SIMPLE_FALSE$|^COND_DECODER_SIMPLE_TRUE$|^COND_DECODER_SIMPLE_FALSE$|^COND_FILTER_LZ_TRUE$|^COND_FILTER_LZ_FALSE$|^COND_ENCODER_LZ_TRUE$|^COND_ENCODER_LZ_FALSE$|^COND_DECODER_LZ_TRUE$|^COND_DECODER_LZ_FALSE$|^HAVE_MF_HC3$|^HAVE_MF_HC4$|^HAVE_MF_BT2$|^HAVE_MF_BT3$|^HAVE_MF_BT4$|^HAVE_CHECK_CRC32$|^HAVE_CHECK_CRC64$|^HAVE_CHECK_SHA256$|^COND_CHECK_CRC32_TRUE$|^COND_CHECK_CRC32_FALSE$|^COND_CHECK_CRC64_TRUE$|^COND_CHECK_CRC64_FALSE$|^COND_CHECK_SHA256_TRUE$|^COND_CHECK_SHA256_FALSE$|^COND_ASM_X86_TRUE$|^COND_ASM_X86_FALSE$|^COND_ASM_X86_64_TRUE$|^COND_ASM_X86_64_FALSE$|^HAVE_SMALL$|^COND_SMALL_TRUE$|^COND_SMALL_FALSE$|^ASSUME_RAM$|^COND_XZ_TRUE$|^COND_XZ_FALSE$|^COND_XZDEC_TRUE$|^COND_XZDEC_FALSE$|^COND_LZMADEC_TRUE$|^COND_LZMADEC_FALSE$|^COND_LZMAINFO_TRUE$|^COND_LZMAINFO_FALSE$|^COND_LZMALINKS_TRUE$|^COND_LZMALINKS_FALSE$|^COND_SCRIPTS_TRUE$|^COND_SCRIPTS_FALSE$|^COND_DOC_TRUE$|^COND_DOC_FALSE$|^COND_SYMVERS_TRUE$|^COND_SYMVERS_FALSE$|^enable_path_for_scripts$|^POSIX_SHELL$|^PREFERABLY_POSIX_SHELL$|^AM_[A-Z]+FLAGS$|^INSTALL_PROGRAM$|^INSTALL_SCRIPT$|^INSTALL_DATA$|^am__isrc$|^CYGPATH_W$|^PACKAGE$|^VERSION$|^PACKAGE$|^VERSION$|^ACLOCAL$|^AUTOCONF$|^AUTOMAKE$|^AUTOHEADER$|^MAKEINFO$|^install_sh$|^STRIP$|^INSTALL_STRIP_PROGRAM$|^MKDIR_P$|^mkdir_p$|^AWK$|^SET_MAKE$|^am__leading_dot$|^AMTAR$|^am__tar$|^am__untar$|^AM_V$|^AM_DEFAULT_V$|^AM_DEFAULT_VERBOSITY$|^AM_BACKSLASH$|^LN_S$|^CC$|^CFLAGS$|^LDFLAGS$|^LIBS$|^CPPFLAGS$|^CC$|^CC$|^CC$|^CC$|^ac_ct_CC$|^EXEEXT$|^OBJEXT$|^DEPDIR$|^am__include$|^AMDEP_TRUE$|^AMDEP_FALSE$|^AMDEPBACKSLASH$|^am__nodep$|^CCDEPMODE$|^am__fastdepCC_TRUE$|^am__fastdepCC_FALSE$|^CCAS$|^CCASFLAGS$|^CCASDEPMODE$|^am__fastdepCCAS_TRUE$|^am__fastdepCCAS_FALSE$|^CPP$|^CPPFLAGS$|^CPP$|^GREP$|^EGREP$|^STDC_HEADERS$|^_POSIX_SOURCE$|^_POSIX_1_SOURCE$|^_MINIX$|^__EXTENSIONS__$|^_ALL_SOURCE$|^_GNU_SOURCE$|^_POSIX_PTHREAD_SEMANTICS$|^_TANDEM_SOURCE$|^SED$|^ax_pthread_config$|^PTHREAD_CREATE_JOINABLE$|^HAVE_PTHREAD_PRIO_INHERIT$|^PTHREAD_CC$|^PTHREAD_LIBS$|^PTHREAD_CFLAGS$|^PTHREAD_CC$|^MYTHREAD_POSIX$|^HAVE_DECL_CLOCK_MONOTONIC$|^MYTHREAD_WIN95$|^MYTHREAD_VISTA$|^COND_THREADS_TRUE$|^COND_THREADS_FALSE$|^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$|^AS$|^DLLTOOL$|^OBJDUMP$|^LIBTOOL$|^SED$|^FGREP$|^GREP$|^LD$|^DUMPBIN$|^ac_ct_DUMPBIN$|^DUMPBIN$|^NM$|^OBJDUMP$|^OBJDUMP$|^DLLTOOL$|^DLLTOOL$|^AR$|^ac_ct_AR$|^STRIP$|^RANLIB$|LT_OBJDIR|^LT_OBJDIR$|^MANIFEST_TOOL$|^DSYMUTIL$|^NMEDIT$|^LIPO$|^OTOOL$|^OTOOL64$|^LT_SYS_LIBRARY_PATH$|^HAVE_DLFCN_H$|^RC$|^COND_SHARED_TRUE$|^COND_SHARED_FALSE$|^USE_NLS$|^GETTEXT_MACRO_VERSION$|^MSGFMT$|^GMSGFMT$|^MSGFMT_015$|^GMSGFMT_015$|^XGETTEXT$|^XGETTEXT_015$|^MSGMERGE$|^localedir$|^XGETTEXT_EXTRA_OPTIONS$|^HAVE_CFPREFERENCESCOPYAPPVALUE$|^HAVE_CFLOCALECOPYCURRENT$|^INTL_MACOSX_LIBS$|^HAVE_ICONV$|^LIBICONV$|^LTLIBICONV$|^ENABLE_NLS$|^HAVE_GETTEXT$|^HAVE_DCGETTEXT$|^INTLLIBS$|^LIBINTL$|^LTLIBINTL$|^POSUB$|^HAVE_IMMINTRIN_H$|^HAVE__BOOL$|^HAVE_STDBOOL_H$|^_UINT8_T$|^uint8_t$|^uint16_t$|^int32_t$|^_UINT32_T$|^uint32_t$|^int64_t$|^_UINT64_T$|^uint64_t$|^HAVE_UINTPTR_T$|^uintptr_t$|^SIZEOF_SIZE_T$|^HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC$|^HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC$|^HAVE_STRUCT_STAT_ST_ATIMENSEC$|^HAVE_STRUCT_STAT_ST_UATIME$|^HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC$|^_FILE_OFFSET_BITS$|^_LARGE_FILES$|^WORDS_BIGENDIAN$|^AC_APPLE_UNIVERSAL_BUILD$|^HAVE_GETOPT_H$|^HAVE_GETOPT_LONG$|^HAVE_OPTRESET$|^LIBOBJS$|^LIBOBJS$|^__GETOPT_PREFIX$|^GETOPT_H$|^HAVE_POSIX_FADVISE$|^HAVE_DECL_PROGRAM_INVOCATION_NAME$|^HAVE___BUILTIN_BSWAPXX$|^HAVE_BSWAP_16$|^HAVE_BSWAP_32$|^HAVE_BSWAP_64$|^TUKLIB_FAST_UNALIGNED_ACCESS$|^TUKLIB_USE_UNSAFE_TYPE_PUNNING$|^HAVE___BUILTIN_ASSUME_ALIGNED$|^HAVE_SYS_PARAM_H$|^TUKLIB_PHYSMEM_AIX$|^TUKLIB_PHYSMEM_SYSCONF$|^TUKLIB_PHYSMEM_SYSCTL$|^TUKLIB_PHYSMEM_GETSYSINFO$|^TUKLIB_PHYSMEM_PSTAT_GETSTATIC$|^TUKLIB_PHYSMEM_GETINVENT_R$|^TUKLIB_PHYSMEM_SYSINFO$|^HAVE_SYS_PARAM_H$|^TUKLIB_CPUCORES_SCHED_GETAFFINITY$|^TUKLIB_CPUCORES_CPUSET$|^TUKLIB_CPUCORES_SYSCTL$|^TUKLIB_CPUCORES_SYSCONF$|^TUKLIB_CPUCORES_PSTAT_GETDYNAMIC$|^HAVE_MBRTOWC$|^HAVE_WCWIDTH$|^HAVE_CC_SHA256_CTX$|^HAVE_SHA256_CTX$|^HAVE_SHA2_CTX$|^COND_INTERNAL_SHA256_TRUE$|^COND_INTERNAL_SHA256_FALSE$|^HAVE__MM_MOVEMASK_EPI8$|^HAVE_SYS_CAPSICUM_H$|^CAPSICUM_LIB$|^HAVE_CAPSICUM$|^CFLAG_VISIBILITY$|^HAVE_VISIBILITY$|^HAVE_VISIBILITY$|^COND_GNULIB_TRUE$|^COND_GNULIB_FALSE$|^AM_CFLAGS$|^xz$|^LIBOBJS$|^LTLIBOBJS$|^am__EXEEXT_TRUE$|^am__EXEEXT_FALSE$
E5ten commented 4 years ago

I think this is related to #148

firasuke commented 4 years ago

148 could indeed be the culprit, but what I don't understand is the effect of the flags mentioned above on this issue, and why not using them results in no errors.

firasuke commented 8 months ago

I am not facing this error anymore. Closing..