【问题标题】:bigloo scheme "make test" fails for pthreadspthread 的 bigloo 方案“进行测试”失败
【发布时间】:2012-03-24 23:44:14
【问题描述】:

我正在尝试在 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 的“make test”失败

*** 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

根据这个excellent post关于这个pthread问题,我们需要在链接pthread库时重新排列命令行参数。但是,我无法找到所需的 Makefile 代码 - 可能是因为它依赖于 Makefile 默认以某种方式链接库。

任何帮助将不胜感激。

【问题讨论】:

    标签: makefile pthreads scheme bigloo


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2011-10-22
      • 2020-11-12
      • 2019-04-05
      • 2016-01-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多