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

先月 2013年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 による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2013年04月24日(水) 旧暦 [n年日記] [更新:"2013/04/24 21:54:24"]

#1 [pkgsrc] mule 2.3 build failure

  • amd64 と i386 では違うところで落ちるようだ
  • amd64 は temacs で
  • i386 は emacs で
しかもきのう変だと書いたのは、 何と /etc/mk.conf に clang の設定がしてあったらしい。 いつもは、ここで make しないからだけれど、 時々はしているはずで、どうして忘れていたのだろう。

/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src/../lisp/text-mode.elc
/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src/../lisp/vc-hooks.elc
/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src/../lisp/window.elc
/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src/../lisp/version.el
> ../etc/DOC
./temacs -batch -l loadup dump
Warning: arch-dependent data dir (/usr/pkg/lib/mule/19.28/x86_64--netbsd/) does not exist.
gmake[1]: *** [emacs] Segmentation fault (core dumped)
gmake[1]: Leaving directory `/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src'
gmake: *** [src] Error 2
*** Error code 2

amd64 の場合 (NetBSD/amd64 6.1_RC2):

modena@makoto 21:33:32/130424(..editors/mule)% \
gdb work/mule/src/temacs  work/mule/src/temacs.core 
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src/temacs...done.
[New process 1]
Core was generated by `temacs'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000476a16 in mark_object (objptr=0x7e3c38) at alloc.c:1625
1625            mark_object ((Lisp_Object *) &ptr->value);
(gdb) bt
#0  0x0000000000476a16 in mark_object (objptr=0x7e3c38) at alloc.c:1625
#1  0x0000000000476a1b in mark_object (objptr=<optimized out>) at alloc.c:1625
これ mark_object が無限に呼出されて、落ちている。
同じ src で違うところで落ちるのだから compiler が疑われても止むを得ないかな。
gcc -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H
-I. -I/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src
-DMCPATH
-I/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src/mcpath/include
-O2 -g -I/usr/pkg/include alloc.c

alloc.c: In function 'init_intervals':
alloc.c:326:3: warning: incompatible implicit declaration of built-in function 'bzero'
alloc.c: In function 'init_float':
alloc.c:452:3: warning: incompatible implicit declaration of built-in function 'bzero'
alloc.c: In function 'init_cons':
alloc.c:525:3: warning: incompatible implicit declaration of built-in function 'bzero'
alloc.c: In function 'init_symbol':
alloc.c:716:3: warning: incompatible implicit declaration of built-in function 'bzero'
alloc.c: In function 'init_marker':
alloc.c:782:3: warning: incompatible implicit declaration of built-in function 'bzero'
alloc.c: In function 'make_string':
alloc.c:923:3: warning: incompatible implicit declaration of built-in function 'bcopy'
alloc.c: In function 'build_string':
alloc.c:931:28: warning: incompatible implicit declaration of built-in function 'strlen'
alloc.c: In function 'make_pure_string':
alloc.c:1049:3: warning: incompatible implicit declaration of built-in function 'bcopy'
alloc.c: In function 'Fgarbage_collect':
alloc.c:1269:3: warning: incompatible implicit declaration of built-in function 'bcopy'
alloc.c: In function 'compact_strings':
alloc.c:2076:3: warning: incompatible implicit declaration of built-in function 'bcopy'
この warning は消して、効果がなかった記憶がある
(alloc.c だけで) -Wall を付けると 109 行もお知らせが出る
消して見る価値はあるのかな。
modena@makoto 21:52:13/130424(..editors/mule)% (cd
work/mule/src/; gcc -c -I/usr/pkg/include -Demacs
-DHAVE_CONFIG_H -Wall
-I. -I/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src
-DMCPATH
-I/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src/mcpath/include
-O2 -g -I/usr/pkg/include alloc.c) \
|& awk -F: '{print $4 $5 $6}' |sort | uniq -c

  38 
   7  warning "/*" within comment
   1  warning 'clear_marks' declared 'static' but never defined
   6  warning control reaches end of non-void function
  11  warning dereferencing type-punned pointer will break strict-aliasing rules
   1  warning implicit declaration of function 'bcopy'
   1  warning implicit declaration of function 'bzero'
   1  warning implicit declaration of function 'internal_with_output_to_temp_buffer'
   1  warning implicit declaration of function 'message1'
   1  warning implicit declaration of function 'message2'
   1  warning implicit declaration of function 'reinvoke_input_signal'
   1  warning implicit declaration of function 'sbrk'
   1  warning implicit declaration of function 'strlen'
   1  warning implicit declaration of function 'write_string'
   4  warning incompatible implicit declaration of built-in function 'bcopy'
   5  warning incompatible implicit declaration of built-in function 'bzero'
   1  warning incompatible implicit declaration of built-in function 'strlen'
   7  warning return type defaults to 'int'
   9  warning suggest parentheses around '-' inside '<<'
   9  warning suggest parentheses around '-' inside '>>'
   2  warning suggest parentheses around assignment used as truth value



最近の日記
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)