|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
|||||||||||||||||||||||||||||||||||||||||||||||||
2013年11月27日(水) 旧暦 [n年日記] [更新:"2013/11/29 00:38:02"]#1 [pkgsrc] ld: cannot find -lperl
wip lldpd-0.77
CCLD lldpd ld: cannot find -lperl ( つっこみ )
#2 [pkgsrc] trustedQSL
Sign a log and upload it automatically to LoTW:
/home/makoto/ham-radio/contest/2013-cq-ww-cw-160m.LOG: Couldn't upload the file: CURL returned "Peer certificate cannot be authenticated with given CA certificates" (SSL certificate problem: self signed certificate in certificate chain)Is this because /etc/openssl/certs empty ? 20728 20729 20730 curl -v https://lotw.arrl.org/ * successfully set certificate verify locations: * CAfile: none CApath: /etc/openssl/certs ... * Closing connection 0 curl: (60) SSL certificate problem: self signed certificate in certificate chain More details here: http://curl.haxx.se/docs/sslcerts.html20734 dfly36@makoto 12:09:58/131128(..devel/libusb1)% openssl s_client -connect lotw.arrl.org:443 CONNECTED(00000004) depth=2 C = US, O = "The Go Daddy Group, Inc.", OU = Go Daddy Class 2 Certification Authority verify error:num=19:self signed certificate in certificate chain verify return:0 --- Certificate chain ...I believe so. The remedy is explained in following page: Number one from above: Following patch doesn't make it. (2) Couldn't upload the file: CURL returned "Peer certificate cannot be authenticated with given CA certificates" (SSL certificate problem: self signed certificate in certificate chain) --- apps/tqsl.cpp.orig 2013-10-21 09:33:20.000000000 +0900 +++ apps/tqsl.cpp 2013-11-28 19:14:48.000000000 +0900 @@ -2084,6 +2084,9 @@ tqsl_curl_init(const char *logTitle, con //set up options curl_easy_setopt(req, CURLOPT_URL, url); +#if 1 //def NO_VERYFYPEER + curl_easy_setopt(req, CURLOPT_SSL_VERIFYPEER, FALSE); +#endif // Get the proxy configuration and pass it to cURL wxConfig *config = (wxConfig *)wxConfig::Get(); config->SetPath(wxT("/Proxy")); @ Additional following patch makes it:--- apps/tqsl.cpp.orig 2013-10-21 09:33:20.000000000 +0900 +++ apps/tqsl.cpp 2013-11-28 23:50:29.000000000 +0900 @@ -2154,7 +2157,9 @@ retry_upload: curl_easy_setopt(req, CURLOPT_WRITEFUNCTION, &FileUploadHandler::recv); curl_easy_setopt(req, CURLOPT_WRITEDATA, &handler); +#if 0 curl_easy_setopt(req, CURLOPT_SSL_VERIFYPEER, uplVerifyCA); +#endif char errorbuf[CURL_ERROR_SIZE]; curl_easy_setopt(req, CURLOPT_ERRORBUFFER, errorbuf); ( つっこみ )
2013年11月26日(火) 旧暦 [n年日記] [更新:"2013/11/27 00:18:02"]#1 [DragonFly] cvs co pkgsrc on DragonFlyBSD> cd /export/CHROOT/usr/ > cvs -d :pserver:anoncvs@anoncvs.jp.netbsd.org:/cvs/cvsroot login Logging in to :pserver:anoncvs@anoncvs.jp.netbsd.org:2401/cvs/cvsroot CVS password: cvs login: warning: failed to open /home/makoto/.cvspass for reading: No such file or directory > time cvs -Q -d :pserver:anoncvs@anoncvs.jp.netbsd.org:/cvs/cvsroot co pkgsrc 23.170u 120.889s 6:47.29 35.3% 363+72k 0+0io 0pf+0w dfly37# disklabel /dev/da8s1 # /dev/da8s1: # # Informational fields calculated from the above # All byte equivalent offsets must be aligned # # boot space: 1044992 bytes # data space: 1942803 blocks # 1897.27 MB (1989430784 bytes) # # NOTE: If the partition data base looks odd it may be # physically aligned instead of slice-aligned # diskid: 4ec1985e-52bb-11e3-a82c-01bd00122201 label: boot2 data base: 0x000000001000 partitions data base: 0x000000100200 partitions data stop: 0x000076a45000 backup label: 0x000076a45000 total size: 0x000076a46600 # 1898.27 MB alignment: 4096 display block size: 1024 # for partition display only 16 partitions: # size offset fstype fsuuid a: 1941776 0 4.2BSD # 1896.266MB a-stor_uuid: 4ec28319-52bb-11e3-a82c-01bd00122201 dfly37# dfly37# mount /dev/da8s1a /mnt dfly37# ls /mnt COPYRIGHT autorun.pif etc sbin README bin etc.hdd sys README.USB boot index.html tmp autorun compat mnt usr autorun.bat dev proc var autorun.inf dflybsd.ico root @ ham/gnuradio-core:libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../../.. -I/export/WRKOBJDIR/ham/gnuradio-core/work/gnuradio-3.3.0/gnuradio-core/src/lib/runtime -I/export/WRKOBJDIR/ham/gnuradio-core/work/gnuradio-3.3.0/gnuradio-core/src/lib/general -I/export/WRKOBJDIR/ham/gnuradio-core/work/gnuradio-3.3.0/gnuradio-core/src/lib/gengen -I/export/WRKOBJDIR/ham/gnuradio-core/work/gnuradio-3.3.0/gnuradio-core/src/lib/filter -I/export/WRKOBJDIR/ham/gnuradio-core/work/gnuradio-3.3.0/gnuradio-core/src/lib/missing -I/export/WRKOBJDIR/ham/gnuradio-core/work/gnuradio-3.3.0/gnuradio-core/src/lib/reed-solomon -I/export/WRKOBJDIR/ham/gnuradio-core/work/gnuradio-3.3.0/gnuradio-core/src/lib/viterbi -I/export/WRKOBJDIR/ham/gnuradio-core/work/gnuradio-3.3.0/gnuradio-core/src/lib/io -I/export/WRKOBJDIR/ham/gnuradio-core/work/gnuradio-3.3.0/gnuradio-core/src/lib/g72x -I/export/WRKOBJDIR/ham/gnuradio-core/work/gnuradio-3.3.0/gnuradio-core/src/lib/swig -I/export/WRKOBJDIR/ham/gnuradio-core/work/gnuradio-3.3.0/gnuradio-core/src/lib/hier -I/export/WRKOBJDIR/ham/gnuradio-core/work/.buildlink/include -I/export/WRKOBJDIR/ham/gnuradio-core/work/gnuradio-3.3.0/gruel/src/include -I/export/WRKOBJDIR/ham/gnuradio-core/work/.buildlink/include/python2.7 -I/export/WRKOBJDIR/ham/gnuradio-core/work/.buildlink/include/cppunit -O2 -pthread -MT _gnuradio_swig_py_runtime_la-gnuradio_swig_py_runtime.lo -MD -MP -MF .deps/_gnuradio_swig_py_runtime_la-gnuradio_swig_py_runtime.Tpo -c gnuradio_swig_py_runtime.cc -fPIC -DPIC -o .libs/_gnuradio_swig_py_runtime_la-gnuradio_swig_py_runtime.o gnuradio_swig_py_runtime.cc: In function 'PyObject* _wrap_x_vector_gr_basic_block_sptr_erase__SWIG_0(PyObject*, PyObject*)': gnuradio_swig_py_runtime.cc:7556:30: error: no matching function for call to 'std::vector<boost::shared_ptr<gr_basic_block> >::erase(SwigValueWrapper<__gnu_cxx::__normal_iterator<const boost::shared_ptr<gr_basic_block>*, std::vector<boost::shared_ptr<gr_basic_block> > > >&)' /usr/include/g++/bits/vector.tcc:133:5: note: candidates are: std::vector<_Tp, _Alloc>::iterator std::vector<_Tp,_Alloc>::erase(std::vector<_Tp, _Alloc>::iterator) [with _Tp = boost::shared_ptr<gr_basic_block>, _Alloc = std::allocator<boost::shared_ptr<gr_basic_block> >, std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<boost::shared_ptr<gr_basic_block>*, std::vector<boost::shared_ptr<gr_basic_block> > >, typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer = boost::shared_ptr<gr_basic_block>*] ( つっこみ )
2013年11月25日(月) 旧暦 [n年日記] [更新:"2013/12/01 01:09:54"]#1 [無線] CQ WW CW 160m Single band HPQSO Pts DXCC Zn Score 1.8MHz 111 270 27 17 11,880土曜日は他の予定があったので日曜日の 0000 JST から参加、そういうこともあって 160 m だけ。 今回はほとんどの時間を AGC OFF で受信。空電があっても、 キークリックがあっても全然平気。何でいままでこうしなかった のか、と思った。 @ Power Amp Fault (Alpha 87a):
@ 聞えたのに出来なかった局 (記憶で書くと):HK1NA 4L5O DU1BP DX1J 9M6NA TC0A @ 時間別 ZONE 別交信局数 (日本時間で):(1.8) | 23 24 | | | 25 | | 23 0 1 2 3 4 | 6 | 17 | 19 20 21 22 23 0 | 3 4 5 TOT |------------------ |--- |--- |------------------ |--------- 01 | | | | 1 | 1 03 | | | 1 | 2 1 10 7 6 | 27 04 | | | 1 | 17 4 | 22 05 | | | | 1 | 1 14 | | | | | 4 2 6 15 | 1 1 2 2 | | | 1 | 1 3 11 16 | 1 1 3 1 2 | | | 1 2 | 1 12 17 | 2 1 | | | | 3 18 | | | | 1 1 1 | 1 4 19 | 1 1 | | | 1 | 3 20 | 2 | | | | 1 3 23 | 1 | | | | 1 24 | 1 1 1 | | | 1 1 2 1 1 | 9 25 | 1 1 | | | 1 2 1 | 6 26 | | 1 | | | 1 27 | 1 | | | 1 | 2 31 | | | | 1 | 1 sub | 1 7 4 7 3 6 | 1 | 2 | 4 3 34 14 11 3 | 1 10 2 113 | | | | | accm | 0 0 0 0 0 0 | 0 | 0 | 0 0 0 0 0 1 | 1 1 1 | 0 0 1 1 2 2 | 2 | 3 | 3 3 7 8 9 0 | 0 1 1 | 1 8 2 9 2 8 | 9 | 1 | 5 8 2 6 7 0 | 1 1 3reverse beacon で調べると、(WA7LNW のところで) 面白い | 17:30 日比谷 | 19:00 長洲 | (夕飯とか) | 22:05 長洲 | 23:25 君津 23:50 -> コンテスト開始 | 06:30 寝る | 11:00 起きる | (買物とか) | | 15:00 寝る | 16:30 起きる 17:00 -> コンテスト再開 | 03:00 座ったまま寝たり 04:30 再開 05:15 終了 | 05:50 撤収完了 07:30 長洲11/15 頃に W8A 狙いで、一度アンテナを上げたおかげで、 この時には、夜だったのに、何の苦労もなく上げられた。良かった。 (W8A とは 160m では結局、聞くことも出来なかった) TS-590 Alpha 87a Inverted Vee Winkey USB (K1EL) N1MM Logger ( Read More... (1) | つっこみ )
Comments related this article
2013年11月24日(日) 旧暦 [n年日記] [更新:"2013/11/27 18:46:49"]#1 [DragonFly] Writing DragonFly img to 2GB USB memory stickgenova@makoto 10:57:02/131125(~)% \ time sudo dd \ if=/export/DragonFly-i386-20131121-DEV-v3.7.1.82.g66c89.img \ of=/dev/rsd0d bs=2m 953+0 records in 953+0 records out 1998585856 bytes transferred in 850.086 secs (2351039 bytes/sec) 0.01s 4.45s 14:10.11 0% 0+0k 61+0io 0pf+0w genova@makoto 11:11:17/131125(~)% @ 別の日に::genova@makoto 18:12:13/131127(/export)% \ time sudo dd if=dfly-i386-3.6.0_REL.img of=/dev/rsd0d bs=16m 119+1 records in 119+1 records out 1998585856 bytes transferred in 820.980 secs (2434390 bytes/sec) 0.00s 3.73s 13:43.45 0% 0+0k 1+3io 7pf+0w ( つっこみ )
2013年11月22日(金) 旧暦 [n年日記] [更新:"2013/11/23 00:40:19"]#1 [pkgsrc] dri2proto>=2.0 is not installed; can't buildlink files.
次のように言われるのは、どういう時だったか ?
ERROR: dri2proto>=2.1 dri2proto>=2.0 is not installed; can't buildlink files.buildlink3.mk は include してあるが、それだけでは install されない時に、 BUILD_DEPENDS+=も必要な時(だと思われる) ( つっこみ )
2013年11月20日(水) 旧暦 [n年日記] [更新:"2013/11/20 15:47:33"]#1 [cvs] 最近消えたあの行はいつ追加されたものかなgenova@makoto 15:45:57/131120(..cross/avrdude)% (foreach i ( `seq 20 40`) cvs diff -r 1.$i -r 1.$(($i+1)) Makefile end) |less ( つっこみ )
2013年11月19日(火) 旧暦 [n年日記] [更新:"2013/11/20 07:44:18"]#1 [pkgsrc] pkgtools/x11-links oddity
x11-links will be packaged differently with and without pbulk.
tar ztvf packages/All/x11-links-0.79-normal.tgz | awk '{print $9 $10 $11}' >! /tmp/normal-li tar ztvf packages/All/x11-links-0.79.tgz | awk '{print $9 $10 $11}' >! /tmp/pbulk-list genova@makoto 23:09:45/131119(..usr/pkgsrc)% \ diff -u /tmp/normal-list /export/CHROOT/tmp/pbulk- list --- /tmp/normal-list 2013-11-19 23:09:45.000000000 +0900 +++ /export/CHROOT/tmp/pbulk-list 2013-11-19 23:09:16.000000000 +0900 @@ -162,8 +162,6 @@ share/x11-links/include/X11/Xcursor/Xcursor.h->/usr/X11R7/include/X11/Xcursor/Xcursor.h share/x11-links/include/X11/Xdefs.h->/usr/X11R7/include/X11/Xdefs.h share/x11-links/include/X11/Xdmcp.h->/usr/X11R7/include/X11/Xdmcp.h -share/x11-links/include/X11/Xft/Xft.h->/usr/X11R7/include/X11/Xft/Xft.h -share/x11-links/include/X11/Xft/XftCompat.h->/usr/X11R7/include/X11/Xft/XftCompat.h share/x11-links/include/X11/Xfuncproto.h->/usr/X11R7/include/X11/Xfuncproto.h share/x11-links/include/X11/Xfuncs.h->/usr/X11R7/include/X11/Xfuncs.h share/x11-links/include/X11/Xlcint.h->/usr/X11R7/include/X11/Xlcint.h @@ -670,10 +668,6 @@ share/x11-links/lib/libXfontcache.so->/usr/X11R7/lib/libXfontcache.so share/x11-links/lib/libXfontcache.so.2->/usr/X11R7/lib/libXfontcache.so.2 share/x11-links/lib/libXfontcache.so.2.0->/usr/X11R7/lib/libXfontcache.so.2.0 -share/x11-links/lib/libXft.a->/usr/X11R7/lib/libXft.a -share/x11-links/lib/libXft.so->/usr/X11R7/lib/libXft.so -share/x11-links/lib/libXft.so.3->/usr/X11R7/lib/libXft.so.3 -share/x11-links/lib/libXft.so.3.0->/usr/X11R7/lib/libXft.so.3.0 share/x11-links/lib/libXi.a->/usr/X11R7/lib/libXi.a share/x11-links/lib/libXi.so->/usr/X11R7/lib/libXi.so share/x11-links/lib/libXi.so.7->/usr/X11R7/lib/libXi.so.7 @@ -937,7 +931,6 @@ share/x11-links/lib/pkgconfig/xfixes.pc->/usr/X11R7/lib/pkgconfig/xfixes.pc share/x11-links/lib/pkgconfig/xfont.pc->/usr/X11R7/lib/pkgconfig/xfont.pc share/x11-links/lib/pkgconfig/xfontcache.pc->/usr/X11R7/lib/pkgconfig/xfontcache.pc -share/x11-links/lib/pkgconfig/xft.pc->/usr/X11R7/lib/pkgconfig/xft.pc share/x11-links/lib/pkgconfig/xi.pc->/usr/X11R7/lib/pkgconfig/xi.pc share/x11-links/lib/pkgconfig/xinerama.pc->/usr/X11R7/lib/pkgconfig/xinerama.pc share/x11-links/lib/pkgconfig/xineramaproto.pc->/usr/X11R7/lib/pkgconfig/xineramaproto.pc genova@makoto 23:10:01/131119(..usr/pkgsrc)% @ x11/libXft/builtin.mk:
If you put following change, this difference disappear.
Index: x11/libXft/builtin.mk =================================================================== RCS file: /cvs/cvsroot/pkgsrc/x11/libXft/builtin.mk,v retrieving revision 1.2 diff -u -r1.2 builtin.mk --- x11/libXft/builtin.mk 7 Jun 2013 17:43:40 -0000 1.2 +++ x11/libXft/builtin.mk 19 Nov 2013 14:05:23 -0000 @@ -68,6 +68,7 @@ . endif . endif # PREFER.libXft .endif +USE_BUILTIN.libXft= yes MAKEVARS+= USE_BUILTIN.libXft ###But following change does not affect the behavior, that is, list of files are Bad situation, the location of above line does not mean anything. (Somebody set the value to 'no' before coming here). Index: x11/libXft/builtin.mk =================================================================== RCS file: /cvs/cvsroot/pkgsrc/x11/libXft/builtin.mk,v retrieving revision 1.2 diff -u -r1.2 builtin.mk --- x11/libXft/builtin.mk 7 Jun 2013 17:43:40 -0000 1.2 +++ x11/libXft/builtin.mk 19 Nov 2013 14:42:30 -0000 @@ -47,6 +47,7 @@ ### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no"). ### +USE_BUILTIN.libXft?= yes .if !defined(USE_BUILTIN.libXft) . if ${PREFER.libXft} == "pkgsrc" USE_BUILTIN.libXft= no ( つっこみ )
2013年11月18日(月) 旧暦 [n年日記] [更新:"2013/11/18 10:38:05"]#1 [pkgsrc] nios2-gcc 4.7.3 with --enable-languages=c,c++checking whether -lc should be explicitly linked in... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... no checking dynamic linker characteristics... no checking how to hardcode library paths into programs... immediate checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. no ( つっこみ )
2013年11月17日(日) 旧暦 [n年日記] [更新:"2013/11/17 09:47:06"]#1 [pkgsrc] wip/nios2-gdb 7.6.1 Segmentation Faultt-105@makoto 09:33:24/131117(..wip/nios2-gdb)% gdb /export/WRKOBJDIR/wip/nios2-gdb/work/gdb-nios2/gdb/gdb /export/WRKOBJDIR/wip/nios2-gdb/work/gdb-nios2/gdb/testsuite/gdb.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/WRKOBJDIR/wip/nios2-gdb/work/gdb-nios2/gdb/gdb...(no debugging symbols found)...done. [New process 1] Core was generated by `gdb'. Program terminated with signal 11, Segmentation fault. #0 0x00007f7ff68e9e34 in strncmp () from /usr/lib/libc.so.12 (gdb) bt #0 0x00007f7ff68e9e34 in strncmp () from /usr/lib/libc.so.12 #1 0x00007f7ff68e75cd in __getenvslot () from /usr/lib/libc.so.12 #2 0x00007f7ff68e7721 in __findenvvar () from /usr/lib/libc.so.12 #3 0x00007f7ff68e727c in getenv () from /usr/lib/libc.so.12 #4 0x0000000000522810 in _initialize_core () #5 0x0000000000590e3a in initialize_all_files () #6 0x000000000056a03f in gdb_init () #7 0x00000000004cb962 in captured_main () #8 0x00000000004ca4cb in catch_errors () #9 0x00000000004cc6a3 in gdb_main () #10 0x0000000000405c9a in main () (gdb)良く見るのだけれど、(それ以上が思い出せない) ( つっこみ )
2013年11月14日(木) 旧暦 [n年日記] [更新:"2013/11/16 00:09:01"]#1 [pkgsrc] cross/nios2-gcc sometimes fail with bison
Bad case
Good case: .. nios2-elf-ranlib ./libgcov.a `if [ -f /WRKOBJDIR/cross/nios2-gcc/work/gcc/bison/bison ] ; then echo /WRKOBJDIR/cross/nios2-gcc/work/gcc/bison/bison -L /WRKOBJDIR/cross/nios2-gcc/work/gcc/bison/ ; else echo bison ; fi` -o c-parse.c c-parse.y bison: not found Makefile:1334: recipe for target 'c-parse.c' failed gmake[3]: [c-parse.c] Error 127 (ignored)To fix this problem, bison should NOT be listed in USE_TOOLS. If it is listed, make will execute bison, and c-parse.y is generated. The fact is c-parse.y is already there and should not be generated. ( つっこみ )
2013年11月11日(月) 旧暦 [n年日記] [更新:"2013/11/11 17:15:29"]#1 [pkgsrc] pkgsrc/wip/*/Makefile を grep するcd /usr/pkgsrc/wip grep OPSYS_L */*とやると zsh: argument list too long: grep と言われてしまう。そこで alphabet 順に a*/* などとする、一つの方法 genova@makoto 17:11:35/131111(..pkgsrc/wip)% foreach i (`seq 97 122`) grep OPSYS_L `echo $i | perl -nle '{ printf "%c\n",$_ }';`*/* endexpr を使うと、もっといい方法があるかも知れない。 ( つっこみ )
2013年11月10日(日) 旧暦 [n年日記] [更新:"2013/11/10 18:54:49"]#1 [NetBSD][X11R7] No xauth data; using fake authentication data for X11 forwarding.
2010/04/28
に書いてあることがまた起った。
最近、都合で modular-xorg-server でなく、X11_TYPE=native に戻っている genova@makoto 18:42:05/131110(~)% ssh -Y t-105 Warning: No xauth data; using fake authentication data for X11 forwarding. Last login: Sun Nov 10 18:41:36 2013 from genova.ipv6.ki.nu NetBSD 6.1.2 (GENERIC)それで、 ssh -Y -o XauthLocation=/usr/X11R7/bin/xauth hostnameとやれば、問題は解消する。あるいは手元の機械の /etc/ssh/ssh_config の記述を直す、つまり空にすると、解消する。 ( つっこみ )
2013年11月07日(木) 旧暦 [n年日記] [更新:"2013/11/07 09:18:45"]#1 [pkgsrc] devel/magit (wrong-type-argument listp 769)
When compiling magit.el with emacs-24.3.50 (current):
Debugger entered--Lisp error: (wrong-type-argument listp 769) memq(&rest 769) (if (memq (quote &rest) arglist) most-positive-fixnum (length (remq (quote &optional) arglist))) (let ((arglist (if (byte-code-function-p function) (aref function 0) (second function)))) (if (memq (quote &rest) arglist) most-positive-fixnum (length (remq (quote &optional) arglist)))) (if (subrp function) (let ((max (cdr (subr-arity function)))) (if (eq (quote many) max) most-positive-fixnum max)) (if (eq (quote macro) (car-safe function)) (setq function (cdr function))) (let ((arglist (if (byte-code-function-p function) (aref function 0) (second function)))) (if (memq (quote &rest) arglist) most-positive-fixnum (length (remq (quote &optional) arglist))))) magit-max-args-internal(delete-directory) (>= (magit-max-args-internal (quote delete-directory)) 2) (if (>= (magit-max-args-internal (quote delete-directory)) 2) (defalias (quote magit-delete-directory) (quote delete-directory)) (defun magit-delete-directory (directory &optional recursive) "Deletes a directory named DIRECTORY. If RECURSIVE is non-nil,\nrecursively delete all of DIRECTORY's contents as well.\n\nDoes not follow symlinks." (if (or (file-symlink-p directory) (not (file-directory-p directory))) (delete-file directory) (if recursive (dolist (file (directory-files directory (quote full) "\\([^.]\\|\\.\\([^.]\\|\\..\\)\\).*")) (magit-delete-directory file recursive))) (delete-directory directory)))) (progn (defun magit-max-args-internal (function) "Returns the maximum number of arguments accepted by FUNCTION." (if (symbolp function) (setq function (symbol-function function))) (if (subrp function) (let ((max (cdr (subr-arity function)))) (if (eq (quote many) max) most-positive-fixnum max)) (if (eq (quote macro) (car-safe function)) (setq function (cdr function))) (let ((arglist (if (byte-code-function-p function) (aref function 0) (second function)))) (if (memq (quote &rest) arglist) most-positive-fixnum (length (remq (quote &optional) arglist)))))) (if (functionp (quote start-file-process)) (defalias (quote magit-start-process) (quote start-file-process)) (defalias (quote magit-start-process) (quote start-process))) (unless (fboundp (quote string-match-p)) (defun string-match-p (regexp string &optional start) "Same as `string-match' except this function does not\nchange the match data." (let ((inhibit-changing-match-data t)) (string-match regexp string start)))) (if (fboundp (quote with-silent-modifications)) (defalias (quote magit-with-silent-modifications) (quote with-silent-modifications)) (defmacro magit-with-silent-modifications (&rest body) "Execute body without changing `buffer-modified-p'. Also, do not\nrecord undo information." (\` (set-buffer-modified-p (prog1 (buffer-modified-p) (let (... before-change-functions after-change-functions) (\,@ body))))))) (if (>= (magit-max-args-internal (quote delete-directory)) 2) (defalias (quote magit-delete-directory) (quote delete-directory)) (defun magit-delete-directory (directory &optional recursive) "Deletes a directory named DIRECTORY. If RECURSIVE is non-nil,\nrecursively delete all of DIRECTORY's contents as well.\n\nDoes not follow symlinks." (if (or (file-symlink-p directory) (not (file-directory-p directory))) (delete-file directory) (if recursive (dolist (file (directory-files directory ... "\\([^.]\\|\\.\\([^.]\\|\\..\\)\\).*")) (magit-delete-directory file recursive))) (delete-directory directory))))) eval((progn (defun magit-max-args-internal (function) "Returns the maximum number of arguments accepted by FUNCTION." (if (symbolp function) (setq function (symbol-function function))) (if (subrp function) (let ((max (cdr (subr-arity function)))) (if (eq (quote many) max) most-positive-fixnum max)) (if (eq (quote macro) (car-safe function)) (setq function (cdr function))) (let ((arglist (if (byte-code-function-p function) (aref function 0) (second function)))) (if (memq (quote &rest) arglist) most-positive-fixnum (length (remq (quote &optional) arglist)))))) (if (functionp (quote start-file-process)) (defalias (quote magit-start-process) (quote start-file-process)) (defalias (quote magit-start-process) (quote start-process))) (unless (fboundp (quote string-match-p)) (defun string-match-p (regexp string &optional start) "Same as `string-match' except this function does not\nchange the match data." (let ((inhibit-changing-match-data t)) (string-match regexp string start)))) (if (fboundp (quote with-silent-modifications)) (defalias (quote magit-with-silent-modifications) (quote with-silent-modifications)) (defmacro magit-with-silent-modifications (&rest body) "Execute body without changing `buffer-modified-p'. Also, do not\nrecord undo information." (\` (set-buffer-modified-p (prog1 (buffer-modified-p) (let (... before-change-functions after-change-functions) (\,@ body))))))) (if (>= (magit-max-args-internal (quote delete-directory)) 2) (defalias (quote magit-delete-directory) (quote delete-directory)) (defun magit-delete-directory (directory &optional recursive) "Deletes a directory named DIRECTORY. If RECURSIVE is non-nil,\nrecursively delete all of DIRECTORY's contents as well.\n\nDoes not follow symlinks." (if (or (file-symlink-p directory) (not (file-directory-p directory))) (delete-file directory) (if recursive (dolist (file (directory-files directory ... "\\([^.]\\|\\.\\([^.]\\|\\..\\)\\).*")) (magit-delete-directory file recursive))) (delete-directory directory))))) nil) #[128 "xxxxxx" [lexical-binding quote eval progn] 5 1610577]((defun magit-max-args-internal (function) "Returns the maximum number of arguments accepted by FUNCTION." (if (symbolp function) (setq function (symbol-function function))) (if (subrp function) (let ((max (cdr (subr-arity function)))) (if (eq (quote many) max) most-positive-fixnum max)) (if (eq (quote macro) (car-safe function)) (setq function (cdr function))) (let ((arglist (if (byte-code-function-p function) (aref function 0) (second function)))) (if (memq (quote &rest) arglist) most-positive-fixnum (length (remq (quote &optional) arglist)))))) (if (functionp (quote start-file-process)) (defalias (quote magit-start-process) (quote start-file-process)) (defalias (quote magit-start-process) (quote start-process))) (unless (fboundp (quote string-match-p)) (defun string-match-p (regexp string &optional start) "Same as `string-match' except this function does not\nchange the match data." (let ((inhibit-changing-match-data t)) (string-match regexp string start)))) (if (fboundp (quote with-silent-modifications)) (defalias (quote magit-with-silent-modifications) (quote with-silent-modifications)) (defmacro magit-with-silent-modifications (&rest body) "Execute body without changing `buffer-modified-p'. Also, do not\nrecord undo information." (\` (set-buffer-modified-p (prog1 (buffer-modified-p) (let ((buffer-undo-list t) before-change-functions after-change-functions) (\,@ body))))))) (if (>= (magit-max-args-internal (quote delete-directory)) 2) (defalias (quote magit-delete-directory) (quote delete-directory)) (defun magit-delete-directory (directory &optional recursive) "Deletes a directory named DIRECTORY. If RECURSIVE is non-nil,\nrecursively delete all of DIRECTORY's contents as well.\n\nDoes not follow symlinks." (if (or (file-symlink-p directory) (not (file-directory-p directory))) (delete-file directory) (if recursive (dolist (file (directory-files directory (quote full) "\\([^.]\\|\\.\\([^.]\\|\\..\\)\\).*")) (magit-delete-directory file recursive))) (delete-directory directory))))) (eval-and-compile (defun magit-max-args-internal (function) "Returns the maximum number of arguments accepted by FUNCTION." (if (symbolp function) (setq function (symbol-function function))) (if (subrp function) (let ((max (cdr (subr-arity function)))) (if (eq (quote many) max) most-positive-fixnum max)) (if (eq (quote macro) (car-safe function)) (setq function (cdr function))) (let ((arglist (if (byte-code-function-p function) (aref function 0) (second function)))) (if (memq (quote &rest) arglist) most-positive-fixnum (length (remq (quote &optional) arglist)))))) (if (functionp (quote start-file-process)) (defalias (quote magit-start-process) (quote start-file-process)) (defalias (quote magit-start-process) (quote start-process))) (unless (fboundp (quote string-match-p)) (defun string-match-p (regexp string &optional start) "Same as `string-match' except this function does not\nchange the match data." (let ((inhibit-changing-match-data t)) (string-match regexp string start)))) (if (fboundp (quote with-silent-modifications)) (defalias (quote magit-with-silent-modifications) (quote with-silent-modifications)) (defmacro magit-with-silent-modifications (&rest body) "Execute body without changing `buffer-modified-p'. Also, do not\nrecord undo information." (\` (set-buffer-modified-p (prog1 (buffer-modified-p) (let (... before-change-functions after-change-functions) (\,@ body))))))) (if (>= (magit-max-args-internal (quote delete-directory)) 2) (defalias (quote magit-delete-directory) (quote delete-directory)) (defun magit-delete-directory (directory &optional recursive) "Deletes a directory named DIRECTORY. If RECURSIVE is non-nil,\nrecursively delete all of DIRECTORY's contents as well.\n\nDoes not follow symlinks." (if (or (file-symlink-p directory) (not (file-directory-p directory))) (delete-file directory) (if recursive (dolist (file (directory-files directory ... "\\([^.]\\|\\.\\([^.]\\|\\..\\)\\).*")) (magit-delete-directory file recursive))) (delete-directory directory))))) eval-buffer(#<buffer *load*> nil "/export/WRKOBJDIR/devel/magit/work/magit-1.2.0/magit.el" nil t) ; Reading at buffer position 28731 load-with-code-conversion("/export/WRKOBJDIR/devel/magit/work/magit-1.2.0/magit.el" "/export/WRKOBJDIR/devel/magit/work/magit-1.2.0/magit.el" nil nil) load("/export/WRKOBJDIR/devel/magit/work/magit-1.2.0/magit.el" nil nil t) load-file("/export/WRKOBJDIR/devel/magit/work/magit-1.2.0/magit.el") call-interactively(load-file record nil) command-execute(load-file record) execute-extended-command(nil "load-file") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command)says use Git version. ( つっこみ )
2013年11月06日(水) 旧暦 [n年日記] [更新:"2013/11/06 16:42:42"]#1 [cross] gcc-4.1 for nios2
既に動く gcc-3.4.6 があるので、もしそれを使って crtstuff.c から
アセンブリ語を出して見たらどうなるか、と調べて見た。
操作行 (command line) の入力は、gcc-4.1 を作る時のものから借用する
genova@makoto 14:55:09/131106(..build/gcc)% \ /usr/pkg/cross/bin/nios2-elf-gcc -S \ -B/usr/pkg/cross/nios2-elf/bin/ \ -B/usr/pkg/cross/nios2-elf/lib/ -isystem \ /usr/pkg/cross/nios2-elf/include -isystem \ /usr/pkg/cross/nios2-elf/sys-include -O2 -O2 -g -O2 -DIN_GCC \ -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes \ -Wmissing-prototypes -Wold-style-definition -isystem ./include \ -I. -I. -I../../gcc-4.1/gcc \ -I../../gcc-4.1/gcc/. -I../../gcc-4.1/gcc/../include \ -I../../gcc-4.1/gcc/../libcpp/include -g0 \ -finhibit-size-directive -fno-inline-functions -fno-exceptions \ -fno-zero-initialized-in-bss -fno-unit-at-a-time \ -Dinhibit_libc \ -c ../../gcc-4.1/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.S In file included from ../../gcc-4.1/gcc/crtstuff.c:71: ../../gcc-4.1/gcc/unwind-dw2-fde.h:36: warning: ignoring #pragma GCC visibility ../../gcc-4.1/gcc/unwind-dw2-fde.h:185: warning: ignoring #pragma GCC visibilitygenova@makoto 14:55:23/131106(..build/gcc)% cat -n crtbegin.S | tail -15 119 stw ra, 0(sp) 120 #APP 121 .section .init 122 #NO_APP 123 call frame_dummy 124 #APP 125 .section .text 126 #NO_APP 127 ldw ra, 0(sp) 128 addi sp, sp, 4 129 ret 130 .weak _Jv_RegisterClasses 131 .weak __deregister_frame_info 132 .weak __register_frame_info 133 .ident "GCC: (GNU) 3.4.6 (Altera Nios II 0 b0)"genova@makoto 14:55:36/131106(..build/gcc)% @ -da option for gcc:
gcc には -dletter という指定があります。次に letter = a の場合の例を示します。
/export/git-work/nios2/build/./gcc/xgcc -da \ -B/export/git-work/nios2/build/./gcc/ \ -B/usr/pkg/cross/nios2-elf/bin/ \ -B/usr/pkg/cross/nios2-elf/lib/ -isystem \ /usr/pkg/cross/nios2-elf/include -isystem \ /usr/pkg/cross/nios2-elf/sys-include -O2 -O2 -g -O2 -DIN_GCC \ -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes \ -Wmissing-prototypes -Wold-style-definition -isystem ./include \ -I. -I. -I../../gcc-4.1/gcc \ -I../../gcc-4.1/gcc/. -I../../gcc-4.1/gcc/../include \ -I../../gcc-4.1/gcc/../libcpp/include -g0 \ -finhibit-size-directive -fno-inline-functions -fno-exceptions \ -fno-zero-initialized-in-bss -fno-unit-at-a-time \ -Dinhibit_libc \ -c ../../gcc-4.1/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.oこの結果、次のような中間のものが残されます。 genova@makoto 16:20:38/131106(..build/gcc)% ls -lt |grep crtstuff.c -rw-r--r-- 1 makoto wheel 445 Nov 6 16:20 crtstuff.c.38.greg -rw-r--r-- 1 makoto wheel 13763 Nov 6 16:20 crtstuff.c.37.lreg -rw-r--r-- 1 makoto wheel 9337 Nov 6 16:20 crtstuff.c.36.sched1 -rw-r--r-- 1 makoto wheel 9200 Nov 6 16:20 crtstuff.c.34.life2 -rw-r--r-- 1 makoto wheel 6482 Nov 6 16:20 crtstuff.c.32.split1 -rw-r--r-- 1 makoto wheel 6617 Nov 6 16:20 crtstuff.c.31.regmove -rw-r--r-- 1 makoto wheel 6640 Nov 6 16:20 crtstuff.c.29.ce2 -rw-r--r-- 1 makoto wheel 6824 Nov 6 16:20 crtstuff.c.28.combine -rw-r--r-- 1 makoto wheel 60 Nov 6 16:20 crtstuff.c.27.ner -rw-r--r-- 1 makoto wheel 10261 Nov 6 16:20 crtstuff.c.26.life1 -rw-r--r-- 1 makoto wheel 7951 Nov 6 16:20 crtstuff.c.25.cse2 -rw-r--r-- 1 makoto wheel 8383 Nov 6 16:20 crtstuff.c.23.loop2_done -rw-r--r-- 1 makoto wheel 8335 Nov 6 16:20 crtstuff.c.18.loop2_init -rw-r--r-- 1 makoto wheel 5670 Nov 6 16:20 crtstuff.c.17.loop2 -rw-r--r-- 1 makoto wheel 7851 Nov 6 16:20 crtstuff.c.15.ce1 -rw-r--r-- 1 makoto wheel 6617 Nov 6 16:20 crtstuff.c.14.bp -rw-r--r-- 1 makoto wheel 7562 Nov 6 16:20 crtstuff.c.13.cfg -rw-r--r-- 1 makoto wheel 8158 Nov 6 16:20 crtstuff.c.12.bypass -rw-r--r-- 1 makoto wheel 5843 Nov 6 16:20 crtstuff.c.11.old-loop -rw-r--r-- 1 makoto wheel 11618 Nov 6 16:20 crtstuff.c.10.gcse1 -rw-r--r-- 1 makoto wheel 8199 Nov 6 16:20 crtstuff.c.09.cse1 -rw-r--r-- 1 makoto wheel 8544 Nov 6 16:20 crtstuff.c.08.jump -rw-r--r-- 1 makoto wheel 6131 Nov 6 16:20 crtstuff.c.07.vregs -rw-r--r-- 1 makoto wheel 5827 Nov 6 16:20 crtstuff.c.06.unshare -rw-r--r-- 1 makoto wheel 5827 Nov 6 16:20 crtstuff.c.05.initvals -rw-r--r-- 1 makoto wheel 5827 Nov 6 16:20 crtstuff.c.03.locators -rw-r--r-- 1 makoto wheel 5827 Nov 6 16:20 crtstuff.c.02.sibling -rw-r--r-- 1 makoto wheel 6108 Nov 6 16:20 crtstuff.c.01.eunotes -rw-r--r-- 1 makoto wheel 6485 Nov 6 16:20 crtstuff.c.00.expand -rw-r--r-- 1 makoto wheel 13929 Nov 6 16:19 crtstuff.c.20.combine -rw-r--r-- 1 makoto wheel 27116 Nov 6 16:19 crtstuff.c.33.sched2 -rw-r--r-- 1 makoto wheel 25413 Nov 6 16:19 crtstuff.c.31.bbro -rw-r--r-- 1 makoto wheel 18849 Nov 6 16:19 crtstuff.c.30.rnreg -rw-r--r-- 1 makoto wheel 18914 Nov 6 16:19 crtstuff.c.29.ce3 -rw-r--r-- 1 makoto wheel 22974 Nov 6 16:19 crtstuff.c.27.flow2 -rw-r--r-- 1 makoto wheel 14594 Nov 6 16:19 crtstuff.c.26.postreload -rw-r--r-- 1 makoto wheel 16300 Nov 6 16:19 crtstuff.c.25.greg -rw-r--r-- 1 makoto wheel 28164 Nov 6 16:19 crtstuff.c.24.lreg -rw-r--r-- 1 makoto wheel 20560 Nov 6 16:19 crtstuff.c.23.sched -rw-r--r-- 1 makoto wheel 14392 Nov 6 16:19 crtstuff.c.22.regmove -rw-r--r-- 1 makoto wheel 14152 Nov 6 16:19 crtstuff.c.21.ce2 -rw-r--r-- 1 makoto wheel 21948 Nov 6 16:19 crtstuff.c.19.life -rw-r--r-- 1 makoto wheel 18409 Nov 6 16:19 crtstuff.c.18.cse2 -rw-r--r-- 1 makoto wheel 18514 Nov 6 16:19 crtstuff.c.14.ce1 -rw-r--r-- 1 makoto wheel 14438 Nov 6 16:19 crtstuff.c.12.bp -rw-r--r-- 1 makoto wheel 17897 Nov 6 16:19 crtstuff.c.11.cfg -rw-r--r-- 1 makoto wheel 19066 Nov 6 16:19 crtstuff.c.10.bypass -rw-r--r-- 1 makoto wheel 10795 Nov 6 16:19 crtstuff.c.09.loop -rw-r--r-- 1 makoto wheel 36832 Nov 6 16:19 crtstuff.c.08.gcse -rw-r--r-- 1 makoto wheel 10912 Nov 6 16:19 crtstuff.c.07.addressof -rw-r--r-- 1 makoto wheel 19252 Nov 6 16:19 crtstuff.c.06.cse -rw-r--r-- 1 makoto wheel 18068 Nov 6 16:19 crtstuff.c.05.null -rw-r--r-- 1 makoto wheel 17570 Nov 6 16:19 crtstuff.c.04.jump -rw-r--r-- 1 makoto wheel 9442 Nov 6 16:19 crtstuff.c.01.rtl ( つっこみ )
2013年11月05日(火) 旧暦 [n年日記] [更新:"2013/11/10 21:44:42"]#1 [pkgsrc] /undefinedresource in /findfont
最近機械を入替えた。
genova@makoto 09:00:37/131105(~)% pkg_info -u emacs24-24.3.50nb20131103 GNU editing macros (editor) config-desktop-1.033 Desktop Environment nios2-gcc-3.4.6 GNU gcc for Altera FPGA Nios2 processor pkg-config-0.28 System for managing library compile/link flags x11-links-0.79 Shadow tree of links to native X11 headers and libraries xorg-util-macros-1.17.1 Xorg autotool macros nickle-2.77 Desk calculator language git-base-1.8.4.1 GIT Tree History Storage Tool (base package) genova@makoto 09:21:54/131105(..emacs-book/work)%しかし 2011/01/14 に見た次の問題にまた出喰わしてしまった Error: /undefinedresource in /findfont Operand stack: 6.6587 Ryumin-Light-EUC-Hという訳で、見直し genova@makoto 09:26:58/131105(~)% pkg_info | grep -i ^ghost ghostscript-fonts-8.11nb3 Postscript fonts for Aladdin Ghostscript ghostscript-gpl-9.06 Postscript interpreter ghostscript-cidfonts-20000901nb4 CIDFont resources for Ghostscript ghostscript-cidfonts-ryumin-9.06 Enable Ryumin-Light and GothicBBB for ghostscript ghostscript-9.05nb6 Meta-package for installing the preferred ghostscript versiongs 9.06 というのは wip 側のもの。 ghostscript-cidfonts-ryumin が入っているということは、ghostscript は、disable-compile-inits で作られているはず genova@makoto 09:28:01/131105(..wip/ghostscript-gpl)% \ grep -i ghos /etc/mk.conf /export/CHROOT/etc/mk.conf /etc/mk.conf:PKG_OPTIONS.ghostscript+= disable-compile-inits /etc/mk.conf:PKG_OPTIONS.ghostscript+= fontconfig /etc/mk.conf:#KG_OPTIONS.ghostscript+= cups /export/CHROOT/etc/mk.conf:PKG_OPTIONS.ghostscript+= disable-compile-inits /export/CHROOT/etc/mk.conf:PKG_OPTIONS.ghostscript+= fontconfig今見ると、9.0.5 と 9.0.6 に分れて入っている genova@makoto 09:31:51/131105(~)% ls -ld /usr/pkg/share/ghostscript/* drwxr-xr-x 3 root wheel 512 Nov 3 13:10 /usr/pkg/share/ghostscript/9.05 drwxr-xr-x 7 root wheel 512 Nov 3 13:10 /usr/pkg/share/ghostscript/9.06 drwxr-xr-x 2 root wheel 1536 Nov 3 13:10 /usr/pkg/share/ghostscript/fonts入っている gs は 9.06 なので、Resouce 以下の 9.05 を 9.06に写したら、問題は解消。 何故分れて(違う版数の方に)入ってしまったかは要調査。 ( つっこみ )
2013年11月03日(日) 旧暦 [n年日記] [更新:"2013/11/04 01:34:17"]#1 [pkgsrc] nios2-gcc (4.1) xgcc Segfaults at function callmodena@makoto 21:00:27/131103(..build/gcc)% gdb /export/git-work/nios2/build/./gcc/xgcc 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/git-work/nios2/build/gcc/xgcc...done. Breakpoint 1 at 0x403944: file ../../gcc-4.1/gcc/gcc.c, line 7055. Function "internal_error" not defined. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] Breakpoint 2 at 0x401880 Breakpoint 3 at 0x401810 (gdb) pwd Working directory /export/git-work/nios2/build/gcc. (gdb) run -B/export/git-work/nios2/build/./gcc/ \ -B/usr/pkg/cross/nios2-elf/bin/ \ -B/usr/pkg/cross/nios2-elf/lib/ -isystem \ /usr/pkg/cross/nios2-elf/include -isystem \ /usr/pkg/cross/nios2-elf/sys-include -O2 -O2 -g -O2 -DIN_GCC \ -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes \ -Wmissing-prototypes -Wold-style-definition -isystem ./include \ -I. -I. -I../../gcc-4.1/gcc \ -I../../gcc-4.1/gcc/. -I../../gcc-4.1/gcc/../include \ -I../../gcc-4.1/gcc/../libcpp/include -g0 \ -finhibit-size-directive -fno-inline-functions -fno-exceptions \ -fno-zero-initialized-in-bss -fno-unit-at-a-time \ -Dinhibit_libc \ -c ../../gcc-4.1/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o Starting program: /export/git-work/nios2/build/gcc/xgcc -B/export/git-work/nios2/build/./gcc/ -B/usr/pkg/cross/nios2-elf/bin/ -B/usr/pkg/cross/nios2-elf/lib/ -isystem /usr/pkg/cross/nios2-elf/include -isystem /usr/pkg/cross/nios2-elf/sys-include -O2 -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -Ip. -I../../gcc-4.1/gcc -I../../gcc-4.1/gcc/. -I../../gcc-4.1/gcc/../include -I../../gcc-4.1/gcc/../libcpp/include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -Dinhibit_libc -c ../../gcc-4.1/gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o ../../gcc-4.1/gcc/crtstuff.c: In function 'frame_dummy': ../../gcc-4.1/gcc/crtstuff.c:323: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. [Inferior 1 (process 5260) exited with code 01] (gdb) bt No stack. (gdb) @ source code is:
modena@makoto 21:09:03/131103(..build/gcc)% \
cat -n ../../gcc-4.1/gcc/crtstuff.c |sed -n 310,339p
310 #else /* !defined(FINI_SECTION_ASM_OP) */ 311 static func_ptr __do_global_dtors_aux_fini_array_entry[] 312 __attribute__ ((__unused__, section(".fini_array"))) 313 = { __do_global_dtors_aux }; 314 #endif /* !defined(FINI_SECTION_ASM_OP) */ 315 316 #if defined(USE_EH_FRAME_REGISTRY) || defined(JCR_SECTION_NAME) 317 /* Stick a call to __register_frame_info into the .init section. For some 318 reason calls with no arguments work more reliably in .init, so stick the 319 call in another function. */ 320 321 static void __attribute__((used)) 322 frame_dummy (void) 323 { 324 #ifdef USE_EH_FRAME_REGISTRY 325 static struct object object; 326 #ifdef CRT_GET_RFIB_DATA 327 void *tbase, *dbase; 328 tbase = 0; 329 CRT_GET_RFIB_DATA (dbase); 330 if (__register_frame_info_bases) 331 __register_frame_info_bases (__EH_FRAME_BEGIN__, &object, tbase, dbase); 332 #else 333 if (__register_frame_info) 334 __register_frame_info (__EH_FRAME_BEGIN__, &object); 335 #endif /* CRT_GET_RFIB_DATA */ 336 #endif /* USE_EH_FRAME_REGISTRY */ 337 #ifdef JCR_SECTION_NAME 338 if (__JCR_LIST__[0]) 339 {One possibility is this is the very first function call...
diff --git a/gcc-4.1/gcc/crtstuff.c b/gcc-4.1/gcc/crtstuff.c index a712e4e..a5885aa 100644 --- a/gcc-4.1/gcc/crtstuff.c +++ b/gcc-4.1/gcc/crtstuff.c @@ -317,7 +317,8 @@ static func_ptr __do_global_dtors_aux_fini_array_entry[] /* Stick a call to __register_frame_info into the .init section. For some reason calls with no arguments work more reliably in .init, so stick the call in another function. */ - +int tmp; +xxx; static void __attribute__((used)) frame_dummy (void) {You will get -o crtbegin.o ../../gcc-4.1/gcc/crtstuff.c:321: warning: data definition has no type or storage class ../../gcc-4.1/gcc/crtstuff.c:321: warning: type defaults to 'int' in declaration of 'xxx' ../../gcc-4.1/gcc/crtstuff.c: In function 'frame_dummy': ../../gcc-4.1/gcc/crtstuff.c:324: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. gmake[2]: *** [crtbegin.o] Error 1looping somewhere below around nios2_use_reg_for_func: ../../gcc-4.1/gcc/config/nios2/nios2.c:383 +++ nios2_current_func_type: ../../gcc-4.1/gcc/config/nios2/nios2.c:363 0 nios2_compute_func_type: ../../gcc-4.1/gcc/config/nios2/nios2.c:339 nios2_compute_func_type: ../../gcc-4.1/gcc/config/nios2/nios2.c:354 type -> 1 nios2_current_func_type: ../../gcc-4.1/gcc/config/nios2/nios2.c:366 1 nios2_use_reg_for_func: ../../gcc-4.1/gcc/config/nios2/nios2.c:383 +++ nios2_current_func_type: ../../gcc-4.1/gcc/config/nios2/nios2.c:363 1 nios2_current_func_type: ../../gcc-4.1/gcc/config/nios2/nios2.c:366 1 nios2_adjust_call_address: ../../gcc-4.1/gcc/config/nios2/nios2.c:1932 nios2_adjust_call_address: ../../gcc-4.1/gcc/config/nios2/nios2.c:1932 nios2_current_func_type: ../../gcc-4.1/gcc/config/nios2/nios2.c:363 2 nios2_current_func_type: ../../gcc-4.1/gcc/config/nios2/nios2.c:366 1 nios2_current_func_type: ../../gcc-4.1/gcc/config/nios2/nios2.c:363 3 nios2_current_func_type: ../../gcc-4.1/gcc/config/nios2/nios2.c:366 1 nios2_current_func_type: ../../gcc-4.1/gcc/config/nios2/nios2.c:363 4 nios2_current_func_type: ../../gcc-4.1/gcc/config/nios2/nios2.c:366 1 nios2_current_func_type: ../../gcc-4.1/gcc/config/nios2/nios2.c:363 5Todays diff (including patches of wip/nios2-gcc/patches/) @ gen_pic_load_call_addr:
You will soon come across the function
gen_pic_load_call_addr.
This is not found in source code. It is generated *.c file
modena@makoto 23:27:53/131103(..build/gcc)% grep -nr gen_pic_load_call_addr *.c *.h insn-emit.c:2230:gen_pic_load_call_addr (rtx operand0 ATTRIBUTE_UNUSED, insn-output.c:5946: (insn_gen_fn) gen_pic_load_call_addr, insn-flags.h:411:extern rtx gen_pic_load_call_addr (rtx, rtx, rtx);modena@makoto 23:27:58/131103(..build/gcc)% view ./insn-emit.c 2228 /* ../../gcc-4.1/gcc/config/nios2/nios2.md:2988 */ 2229 rtx 2230 gen_pic_load_call_addr (rtx operand0 ATTRIBUTE_UNUSED, 2231 rtx operand1 ATTRIBUTE_UNUSED, 2232 rtx operand2 ATTRIBUTE_UNUSED) 2233 { 2234 return gen_rtx_PARALLEL (VOIDmode, gen_rtvec (2, 2235 gen_rtx_SET (VOIDmode, 2236 operand0, 2237 gen_rtx_UNSPEC (SImode, 2238 gen_rtvec (2, 2239 operand1, 2240 operand2), 2241 33)), 2242 gen_rtx_USE (VOIDmode, 2243 operand1))); 2244 }This part comes (as commented in line 2228) from gcc/config/nios2/nios2.md:2988. @ gcc/config/nios2/nios2.md:2988 (define_insn "pic_load_call_addr" 2989 [(set (match_operand:SI 0 "register_operand" "=r") 2990 (unspec:SI [(match_operand:SI 1 "register_operand" "r") 2991 (match_operand:SI 2 "" "mX")] UNSPEC_PIC_CALL_SYM)) 2992 (use (match_dup 1))] 2993 "flag_pic" 2994 "ldw\\t%0, %%call(%2)(%1)") ![]() @ picture for calling sequence:
(click to enlarge)
( つっこみ )
2013年11月01日(金) 旧暦 [n年日記] [更新:"2014/01/21 14:51:49"]#1 [NetBSD] installboot (NetBSD/amd64 6.1.2)# installboot -v -o console=com0,speed=0 /dev/rwd0a bootxx_ffsv1 File system: /dev/rwd0a Primary bootstrap: bootxx_ffsv1 Boot options: timeout 5, flags 0, speed 0, ioaddr 0, console com0 # installboot -v -o console=com0,speed=0 /dev/rwd0a bootxx_ffsv1 boot File system: /dev/rwd0a File system type: ffs (blocksize 8192, needswap 0) Primary bootstrap: bootxx_ffsv1 Secondary bootstrap: boot Boot options: timeout 5, flags 0, speed 0, ioaddr 0, console com0The reason of taking time to start xdm, we see following message pckbport: command timeout pms_enable: command error 35 pckbport: command timeout pckbport: command timeout pms_disable: command error pckbport: command timeout pms_enable: command error 35 pckbport: command timeout pms_disable: command error pckbport: command timeout pms_enable: command error 35 pckbport: command timeout pckbport: command timeout pckbport: command timeout ( つっこみ )
#2 [pkgsrc] Unresolved reference:genova# (cd /usr/pkgsrc/wip/apel-git; make package) make: "../../editors/emacs/../../editors/emacs/modules.mk" line 287: Cannot open /version.mk make: Fatal errors encountered -- cannot continue make: stopped in /usr/pkgsrc/wip/apel-git genova#Just EMACS_TYPE was wrong, was just 25, but emacs25 is correct. ( つっこみ )
#3 [pkgsrc] x11/xrandr (X11_TYPE=native)to the PKG_CONFIG_PATH environment variable No package 'xorg-macros' found checking whether make supports nested variables... (cached) yes checking for floor in -lm... yes checking for XRANDR... configure: error: Package requirements (xrandr >= 1.4 xrender x11 xproto >= 7.0.17) were not met: Requested 'xrandr >= 1.4' but version of Xrandr is 1.3.2 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XRANDR_CFLAGS and XRANDR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. *** Error code 1 Stop. make: stopped in /usr/pkgsrc/x11/xrandr *** Error code 1Is following related ? ( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | ||||||||||||||||||||