(toppers-users 3707) Re: JSP1.4.4の不具合 (とりあえず報告のみ)

yashiromann @ nifty.com yashiromann @ nifty.com
2011年 12月 22日 (木) 09:31:40 JST


On 11/12/22 9:14 Masaki Muranaka wrote:
こんにちは.

本件,configure に関して,現代的な Perl のスタイルに(少しだけ)書き換えました.
https://github.com/monaka/jsp_core/blob/master/configure

深く追いかけてはいませんが,ざっと手許のアーカイブをさらってみたところ,
configure スクリプトに関しては,ASP カーネルを始めとする新世代カーネルの全てと
HRPカーネルを除くμITRON系TOPPERSカーネルの全てで同様の問題が潜在しているはずです.
(HRPカーネルには configure スクリプトが無いはずなので)

2011年12月22日7:09 Masaki Muranaka <monamour @ monaka.org>:
> おはようございます.
>
> 最近の環境では,JSPカーネルのビルドで色々と問題が出ているようです.
> とりいそぎ,現象のみ報告いたします.
> 当方でも追跡作業いたしますが,既に修正案等ございましたらご教示ください.
>
>
> まず,Perl のバージョンアップにより,configure スクリプトで下記のような
> warning が出ます.
> ( This is perl 5, version 12, subversion 4 (v5.12.4) built for
> x86_64-linux-gnu-thread-multi )
>> $ ../configure -C linux
> Use of "do" to call subroutines is deprecated at ../configure line 71.
> Use of "do" to call subroutines is deprecated at ../configure line 84.
> Use of "do" to call subroutines is deprecated at ../configure line 95.
> Use of "do" to call subroutines is deprecated at ../configure line 163.
> Use of "do" to call subroutines is deprecated at ../configure line 169.
> Use of "do" to call subroutines is deprecated at ../configure line 176.
> Use of "do" to call subroutines is deprecated at ../configure line 182.
> Use of "do" to call subroutines is deprecated at ../configure line 224.
> Use of "do" to call subroutines is deprecated at ../configure line 253.
> Use of "do" to call subroutines is deprecated at ../configure line 254.
> Use of "do" to call subroutines is deprecated at ../configure line 255.
> Use of "do" to call subroutines is deprecated at ../configure line 256.
> Use of "do" to call subroutines is deprecated at ../configure line 257.
> configure: Generating Makefile from ../sample/Makefile.linux.
> configure: Generating sample1.c from ../sample/sample1.c.
> configure: Generating sample1.h from ../sample/sample1.h.
> configure: Generating sample1.cfg from ../sample/sample1.cfg.
>>
> また,sample1 のビルドを試みると,cfg が暴走します.
>> $ g++ -v
> Using built-in specs.
> COLLECT_GCC=g++
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper
> Target: x86_64-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
> 4.6.1-9ubuntu3'
> --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
> --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr
> --program-suffix=-4.6 --enable-shared --enable-linker-build-id
> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
> --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
> --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin
> --enable-objc-gc --disable-werror --with-arch-32=i686
> --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu
> --host=x86_64-linux-gnu --target=x86_64-linux-gnu
> Thread model: posix
> gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
>> 再現条件はまだよく判っていません.
> GCC4.6.1固有の問題なのか,このg++のビルドのみの問題なのか….