<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>I mention this because make check is reporting nearly all failures, while pkg-config-0-29.1 does seem to work?<br><br></div>Q. Why concerned about glibc?<br></div>A. Because I am not using gcc as a compiler, and glibc demands "constructor" support, which my compiler does not have.<br><br></div>Q. Why not build pkg-config with gcc, and not worry about it?<br></div>A. As you know, the values stored for a project depend on the compiler used. And GCC compiler flags are not universal.<br></div>In other words, if I work with GCC I need a different pkg-config (at least, the one I compiled with gcc never worked<br></div>with my standard compiler)<br><br></div>Q. How did you build pkg-config?<br></div>A. Compiler is xlc, platform is AIX 5.3 TL7. Modification to internal glibc:<br></div>change #error macro in ../src/pkg-config-0.29.1/glib/glib/glib-init.c<br></div>to:<br>  +283  #else<br>  +284  # warning Your platform/compiler is missing constructor support<br>  +285  #endif<br></div>so that make continues.<br></div>My expectation was one or more undefined symbols, but none occurred.<br><br></div>Q. Why am I asking this?<br></div>A. Again, no undefined symbols, so whatever magic glib-init.c is suppossed to provide, seems to be unneeded, AND,<br></div>make check fails in the end with:<br>Making check in check<br>        make  check-TESTS<br>        failed=0; all=0; xfail=0; xpass=0; skip=0;  srcdir=../../src/pkg-config-0.29.1/check; export srcdir;  list=' check-cflags check-libs check-mixed-flags check-non-l-flags  check-define-variable check-libs-private  check-requires-private check-circular-requires  check-includedir check-conflicts check-missing  check-special-flags check-sort-order check-duplicate-flags  check-whitespace check-cmd-options check-version  check-requires-version check-print-options check-path  check-sysroot check-uninstalled check-debug check-gtk  check-tilde check-relocatable check-variable-override  check-variables ';  {  mgn= red= grn= lgn= blu= brg= std=;  am__color_tests=no;  if test "X" = Xno; then  am__color_tests=no;  elif test "X" = Xalways; then  am__color_tests=yes;  elif test "X$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then  am__color_tests=yes;  fi;  if test $am__color_tests = yes; then  red='';  grn='';  lgn='';  blu='';  mgn='';  brg='';  std='';  fi;  };  if test -n "$list"; then  for tst in $list; do  if test -f ./$tst; then dir=./;  elif test -f $tst; then dir=;  else dir="../../src/pkg-config-0.29.1/check/"; fi;  if PKG_CONFIG='../pkg-config' /usr/bin/ksh ${dir}$tst ; then  all=`expr $all + 1`;  case "  " in  *[\ \     ]$tst[\ \       ]*)  xpass=`expr $xpass + 1`;  failed=`expr $failed + 1`;  col=$red; res=XPASS;  ;;  *)  col=$grn; res=PASS;  ;;  esac;  elif test $? -ne 77; then  all=`expr $all + 1`;  case "  " in  *[\ \   ]$tst[\ \       ]*)  xfail=`expr $xfail + 1`;  col=$lgn; res=XFAIL;  ;;  *)  failed=`expr $failed + 1`;  col=$red; res=FAIL;  ;;  esac;  else  skip=`expr $skip + 1`;  col=$blu; res=SKIP;  fi;  echo "${col}$res${std}: $tst";  done;  if test "$all" -eq 1; then  tests="test";  All="";  else  tests="tests";  All="All ";  fi;  if test "$failed" -eq 0; then  if test "$xfail" -eq 0; then  banner="$All$all $tests passed";  else  if test "$xfail" -eq 1; then failures=failure; else failures=failures; fi;  banner="$All$all $tests behaved as expected ($xfail expected $failures)";  fi;  else  if test "$xpass" -eq 0; then  banner="$failed of $all $tests failed";  else  if test "$xpass" -eq 1; then passes=pass; else passes=passes; fi;  banner="$failed of $all $tests did not behave as expected ($xpass unexpected $passes)";  fi;  fi;  dashes="$banner";  skipped="";  if test "$skip" -ne 0; then  if test "$skip" -eq 1; then  skipped="($skip test was not run)";  else  skipped="($skip tests were not run)";  fi;  test `echo "$skipped" | wc -c` -le `echo "$banner" | wc -c` ||  dashes="$skipped";  fi;  report="";  if test "$failed" -ne 0 && test -n "<a href="https://bugs.freedesktop.org/enter_bug.cgi?product=pkg-config">https://bugs.freedesktop.org/enter_bug.cgi?product=pkg-config</a>"; then  report="Please report to <a href="https://bugs.freedesktop.org/enter_bug.cgi?product=pkg-config">https://bugs.freedesktop.org/enter_bug.cgi?product=pkg-config</a>";  test `echo "$report" | wc -c` -le `echo "$banner" | wc -c` ||  dashes="$report";  fi;  dashes=`echo "$dashes" | sed s/./=/g`;  if test "$failed" -eq 0; then  col="$grn";  else  col="$red";  fi;  echo "${col}$dashes${std}";  echo "${col}$banner${std}";  test -z "$skipped" || echo "${col}$skipped${std}";  test -z "$report" || echo "${col}$report${std}";  echo "${col}$dashes${std}";  test "$failed" -eq 0;  else :; fi<br>FAIL: check-cflags<br>FAIL: check-libs<br>FAIL: check-mixed-flags<br>FAIL: check-non-l-flags<br>FAIL: check-define-variable<br>FAIL: check-libs-private<br>FAIL: check-requires-private<br>FAIL: check-circular-requires<br>FAIL: check-includedir<br>FAIL: check-conflicts<br>FAIL: check-missing<br>FAIL: check-special-flags<br>FAIL: check-sort-order<br>FAIL: check-duplicate-flags<br>FAIL: check-whitespace<br>FAIL: check-cmd-options<br>FAIL: check-version<br>FAIL: check-requires-version<br>FAIL: check-print-options<br>FAIL: check-path<br>FAIL: check-sysroot<br>FAIL: check-uninstalled<br>FAIL: check-debug<br>FAIL: check-gtk<br>FAIL: check-tilde<br>FAIL: check-relocatable<br>FAIL: check-variable-override<br>FAIL: check-variables<br>==============================================================================<br>28 of 28 tests failed<br>Please report to <a href="https://bugs.freedesktop.org/enter_bug.cgi?product=pkg-config">https://bugs.freedesktop.org/enter_bug.cgi?product=pkg-config</a><br>==============================================================================<br><br></div>I am not left with a lot of confidence that "all is well".<br><br></div>Maybe you can see that the problem is because my shell is not bash, and my make is not gmake.<br><br></div>Q. What do I offer?<br></div>A. My time, to work out what may be needed to get make check to work without gcc, gmake and/or bash - or establish that one or more GNUisms are a must.<br><br></div>Thanks for your time!<br><br></div>Michael<br></div>