You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2006/07/05 21:18:31 UTC

[jira] Updated: (STDCXX-252) unsats in tests builds due to implicit make rules

     [ http://issues.apache.org/jira/browse/STDCXX-252?page=all ]

Martin Sebor updated STDCXX-252:
--------------------------------

        Summary: unsats in tests builds due to implicit make rules  (was: Tests fails to build due to LD error)
           type: Bug  (was: Wish)
        Version: 4.1.2
    Environment: all  (was: gcc 3.2.2 / Linux RedHat 9)
       Priority: Major  (was: Minor)

This is a general issue with the GNU makefiles, not specific to any particular compiler or linker.

> unsats in tests builds due to implicit make rules
> -------------------------------------------------
>
>          Key: STDCXX-252
>          URL: http://issues.apache.org/jira/browse/STDCXX-252
>      Project: C++ Standard Library
>         Type: Bug

>   Components: Build
>     Versions: 4.1.2, 4.1.3
>  Environment: all
>     Reporter: Farid Zaripov

>
> From: http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200606.mbox/%3c44A512DE.9090907@kyiv.vdiweb.com%3e
> The tests fails to build:
> gcc -pedantic -nostdinc++  -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align  -I/usr/src/Incubator/stdcxx/trunk/include/ansi   -D_RWSTD_USE_CONFIG -I/usr/src/Incubator/stdcxx/trunk/include -I/usr/src/Incubator/stdcxx/trunk/build/include -I/usr/src/Incubator/stdcxx/trunk/../rwtest -I/usr/src/Incubator/stdcxx/trunk/../rwtest/include -I/usr/src/Incubator/stdcxx/trunk/tests/include  -L/usr/src/Incubator/stdcxx/trunk/build/rwtest -lrwtest  -L/usr/src/Incubator/stdcxx/trunk/build/lib -lstd   /usr/src/Incubator/stdcxx/trunk/tests/strings/21.string.io.cpp /usr/src/Incubator/stdcxx/trunk/build/lib/libstd.a /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a  -lsupc++ -lm -o 21.string.io
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(printf.o)(.text+0x37dd): In function `_rw_fmttm(FmtSpec const&, Buffer&, tm const*)':
> : undefined reference to `__rw::__rw_memattr(void const*, unsigned, int)'
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(printf.o)(.text+0x439a): In function `_rw_fmtstr(FmtSpec const&, Buffer&, char const*, unsigned)':
> : undefined reference to `__rw::__rw_memattr(void const*, unsigned, int)'
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(printf.o)(.text+0x45a7): In function `_rw_fmtwstr(FmtSpec const&, Buffer&, wchar_t const*, unsigned)':
> : undefined reference to `__rw::__rw_memattr(void const*, unsigned, int)'
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(printf.o)(.text+0x4be2): In function `_rw_vasnprintf_ext(FmtSpec*, unsigned, Buffer&, char const*, char**)':
> : undefined reference to `__rw::__rw_memattr(void const*, unsigned, int)'
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(printf.o)(.text+0x4ca2): In function `_rw_vasnprintf_ext(FmtSpec*, unsigned, Buffer&, char const*, char**)':
> : undefined reference to `__rw::__rw_memattr(void const*, unsigned, int)'
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(printf.o)(.text+0x5ade): more undefined references to `__rw::__rw_memattr(void const*, unsigned, int)' follow
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(printf.o)(.text+0x65a0): In function `__static_initialization_and_destruction_0(int, int)':
> : undefined reference to `std::ios_base::Init::Init[in-charge]()'
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(printf.o)(.text+0x6623): In function `__tcf_0':
> : undefined reference to `std::ios_base::Init::~Init [in-charge]()'
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(printf.o)(.gnu.linkonce.t._Z12_rw_fmtarrayIhEiRK7FmtSpecR6BufferPKT_ji+0x3c): In function `int _rw_fmtarray<unsigned char>(FmtSpec const&, Buffer&, unsigned char const*, unsigned, int)':
> : undefined reference to `__rw::__rw_memattr(void const*, unsigned, int)'
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(printf.o)(.gnu.linkonce.t._Z12_rw_fmtarrayIcEiRK7FmtSpecR6BufferPKT_ji+0x3c): In function `int _rw_fmtarray<char>(FmtSpec const&, Buffer&, char const*, unsigned, int)':
> : undefined reference to `__rw::__rw_memattr(void const*, unsigned, int)'
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(printf.o)(.gnu.linkonce.t._Z12_rw_fmtarrayItEiRK7FmtSpecR6BufferPKT_ji+0x3c): In function `int _rw_fmtarray<unsigned short>(FmtSpec const&, Buffer&, unsigned short const*, unsigned, int)':
> : undefined reference to `__rw::__rw_memattr(void const*, unsigned, int)'
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(printf.o)(.gnu.linkonce.t._Z12_rw_fmtarrayIjEiRK7FmtSpecR6BufferPKT_ji+0x3c): In function `int _rw_fmtarray<unsigned>(FmtSpec const&, Buffer&, unsigned const*, unsigned, int)':
> : undefined reference to `__rw::__rw_memattr(void const*, unsigned, int)'
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(printf.o)(.gnu.linkonce.t._Z12_rw_fmtarrayImEiRK7FmtSpecR6BufferPKT_ji+0x3c): In function `int _rw_fmtarray<unsigned long>(FmtSpec const&, Buffer&, unsigned long const*, unsigned, int)':
> : undefined reference to `__rw::__rw_memattr(void const*, unsigned, int)'
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(printf.o)(.gnu.linkonce.t._Z12_rw_fmtarrayIwEiRK7FmtSpecR6BufferPKT_ji+0x3c): more undefined references to `__rw::__rw_memattr(void const*, unsigned, int)' follow
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(fmt_bits.o)(.text+0x1224): In function `__static_initialization_and_destruction_0(int, int)':
> : undefined reference to `std::ios_base::Init::Init[in-charge]()'
> /usr/src/Incubator/stdcxx/trunk/build/rwtest/librwtest.a(fmt_bits.o)(.text+0x1253): In function `__tcf_0':
> : undefined reference to `std::ios_base::Init::~Init [in-charge]()'
> collect2: ld returned 1 exit status

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira