Bigloo 方案 "make test" pthreads 失败



我正试图在Linux Mint 12(lisa)上从bigloo方案的最新源3.8a构建,这是Ubuntu 11(Oneric)的衍生物:

这是我的"配置":

./configure --enable-pthread --enable-fthread --enable-ssl --enable-sqlite --enable-web --enable-multimedia --enable-mail --enable-calendar --enable-pkgcomp --enable-pkglib --enable-gstreamer --enable-text --enable-srfi1 --enable-srfi27 --enable-crypto --enable-openpgp --enable-phone --enable-alsa --enable-mpg123 --enable-csv --jvm=yes

** Configuration summary **
Release features:
  release number.............. 3.8a
  supported backends.......... native:yes JVM:yes
  default backend............. native
  additional APIs............. pthread fthread sqlite web multimedia mail calendar pkgcomp pkglib text srfi1 srfi27 packrat crypto openpgp phone mpg123 csv
  native threads support...... yes
  openssl support............. no
  sqlite support.............. sqltiny + sqlite
  dynamic libraries support... yes
Bee configuration:
  bee support................. partial
  emacs....................... emacs
  emacs brand................. emacs23
Implementation details:
  tuning...................... standard 
  cc.......................... gcc
  gc.......................... custom (bigloogc-3.8a, v731)
  Java version................ 1.3
  bignum support.............. gmp (5.0.1)
Directories where Bigloo will be installed:
  binaries.................... /usr/local/bin
  libraries................... /usr/local/lib
  files directory............. bigloo/3.8a
  standard zip................ /usr/local/lib/bigloo/3.8a
  standard dll................ /usr/local/lib/bigloo/3.8a
  manual pages................ /usr/local/man/man1
  info documentation.......... /usr/local/info
  lisp files.................. 
  temporary build dir......... /tmp

"制造"成功;然而,pthread 的"生成测试"失败

*** pthread ********** 
make[2]: Entering directory `/home/liew/Downloads/bigloo3.8a/api/pthread/recette'
/home/liew/Downloads/bigloo3.8a/bin/bigloo -c  -call/cc  -O3 -fcfa-arithmetic -q recette.scm -o recette.o
/home/liew/Downloads/bigloo3.8a/bin/bigloo  -O3 -fcfa-arithmetic -q recette.o -o recette
/usr/bin/ld: recette: hidden symbol `pthread_atfork' in /usr/lib/i386-linux-gnu/libpthread_nonshared.a(pthread_atfork.oS) is referenced by DSO
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [recette] Error 1
make[2]: Leaving directory `/home/liew/Downloads/bigloo3.8a/api/pthread/recette'
make[1]: *** [c-test] Error 1
make[1]: Leaving directory `/home/liew/Downloads/bigloo3.8a'
make: *** [test] Error 2

根据这篇关于pthread问题的优秀文章,我们需要在链接pthread库时重新排列命令行参数。然而,我无法找到所需的Makefile代码——可能是因为它依赖于以某种方式链接库的Makefile默认值。

任何帮助都将不胜感激。

这个问题可能在bigloo的新版本中得到了修复。

相关内容

  • 没有找到相关文章

最新更新