Menu

#9 IRIX MIPSPro build

open
nobody
None
5
2002-05-17
2002-05-17
Anonymous
No

I've finally gotten CPPUnit 1.8 to build and run using
gcc-3.0.4 under IRIX 6.5 (even make check works=), which
is good. It also builds with the MIPSPro 7.3.1.3m
compiler, but when I run my tests I get this error from
rld:

129280:./RunTests:
rld: Error: unresolvable symbol in /
usr/local/lib/libcppunit-
1.8.so.1:
__dt__Q2_3std453_Deque_base__pt__433_Q2_3std18
8pair__pt__175_Q2_3std78basic_string__pt__58_cQ2_3std20c
har_traits__pt__2_cQ2_3std18allocator__pt__2_cQ2_3std78b
asic_string__pt__58_cQ2_3std20char_traits__pt__2_cQ2_3st
d18allocator__pt__2_cQ2_3std217allocator__pt__199_Q2_3st
d188pair__pt__175_Q2_3std78basic_string__pt__58_cQ2_3std
20char_traits__pt__2_cQ2_3std18allocator__pt__2_cQ2_3std
78basic_string__pt__58_cQ2_3std20char_traits__pt__2_cQ2_
3std18allocator__pt__2_cXCUiL10Gv
129280:./RunTests:
rld: Fatal Error: this executable has
unresolvable
symbols

I'm not sure if this is something you can do anything
about, but it seems very close to working otherwise.
I'd be happy if my tests could run compiled w/ MIPSPro,
because MIPSPro users will want to link to my code.

Dylan Kuhn

Discussion

  • Baptiste Lepilleur

    Logged In: YES
    user_id=196852

    There is some hints in install-unix.txt. Did you used them ?

    If you did, it is likely an issue related to template exportation
    in the compiler or the linker. There might be some 'magic' flag
    to turn on.

     
  • Nobody/Anonymous

    Logged In: NO

    Try configuring with the following:
    ./configure CC='CC -LANG:std -ptused' CXX='CC -LANG:std
    -ptused'

     
  • Nobody/Anonymous

    Logged In: NO

    I still get link errors with those flags. I've had similar
    problems with other C++ libraries built with libtool and the
    MIPSPro compiler. I think that libtool is not linking the
    standard libraries correctly, but I'm not sure how to confirm
    this.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.