hns - 日記自動生成システム - Version 2.19.9

先月 2016年04月 来月
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2016年04月17日() 旧暦 [n年日記] [更新:"2016/04/18 13:01:20"]

#1 [pkgsrc] make test fails with libtool-base

make test fails at #102 and #115
If you look at the file after the test
devel/libtool-base/work/
libtool-2.4.2/tests/testsuite.dir/115/tests/testsuite.dir/102/testsuite.log 
Following line may be the point of failure
lib2/.libs/libb.so: undefined reference to `a2(char)'
The related file, or origin of the test may be found at:
devel/libtool-base/work/libtool-2.4.2/tests/template.at
   144  AT_DATA(src/lib/a.hh,
   145  [[template <class T>
   146  unsigned int a(const T&);
   147  
   148  template <class T>
   149  unsigned int a(const T& t)
   150  {
   151    return sizeof t;
   152  }
   153  
   154  extern int a2(char t);
   155  
   156  inline int a3(const double* t)
   157  {
   158    return a(t);
   159  }
   160  ]])
   161  
   162  AT_DATA(src/lib/a.cpp,
   163  [[#include "a.hh"
   164  
   165  int a2(char t)
   166  {
   167    return a(t);
   168  }
   169  ]])
   170  
   171  AT_DATA(src/lib2/b.hh,
   172  [[#include "a.hh"
   173  
   174  template <class T>
   175  unsigned int b(T& t)
   176  {
   177    return a(t);
   178  }
   179  extern int b2(char* t);
   180  struct bs { int bi; };
   181  extern int b3(bs t);
   182  ]])
   183  
   184  AT_DATA(src/lib2/b.cpp,
   185  [[#include "b.hh"
   186  
   187  int b2(char* t)
   188  {
   189    return a2(t[0]);
   190  }
#102 and #115 appears in testsuite.log as following context
C++ template tests.

101: simple template test                   ok
102: template test with subdirs             FAILED (template.at:230)

Detecting identical deplibs.

109: build tree relpaths                    UNEXPECTED PASS

Libtool stress test.

114: Link option thorough search test       ok
115: Run tests with low max_cmd_len         FAILED (cmdline_wrap.at:43)
116: override pic_flag at configure time    skipped (pic_flag.at:47)



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)