How to make check when building gcc46

Takeshi Kobayakawa tskoba at tskoba.mydns.jp
Sun May 8 06:55:52 PDT 2011


Does someone know how to 'make check' in gcc46 package of macports?
'port test' seems not working.

I would like to contribute to gcc's C++ standard library (libstdc++), in
order to handle std::locale correctly on darwin for other than "C" or
"POSIX" locales. I suppose I implemented a bunch of code that seems
working correctly, and have to check the code now.

Although I installed dejagnu, tcl and expect packages which are
required to execute the make check target, I still get some errors:
ERROR: (DejaGnu) proc "get_shlib_extension" does not exist.

The relevant part of messages are:
		=== libstdc++ tests ===

Schedule of variations:
    unix

Running target unix
Using /opt/local/share/dejagnu/baseboards/unix.exp as board description
file for target.
Using /opt/local/share/dejagnu/config/unix.exp as generic interface file
for target.
Using
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc46/work/gcc-4.6-20110325/libstdc++-v3/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc46/work/gcc-4.6-20110325/libstdc++-v3/testsuite/libstdc++-abi/abi.exp
...
ERROR: (DejaGnu) proc "get_shlib_extension" does not exist.
The error code is NONE
The info on the error is:
no files matched glob pattern
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc46/work/gcc-4.6-20110325/libstdc++-v3/testsuite/libstdc++-dg/libstdc++*"
    while executing
"glob
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc46/work/gcc-4.6-20110325/libstdc++-v3/test..."
    invoked from within
"catch "glob ${path}/${pattern}" tmp"

-- 
   Takeshi Kobayakawa


More information about the macports-dev mailing list