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/11/13 22:32:37 UTC
[jira] Created: (STDCXX-303) [SGI MIPSpro] test linker errors due
to library unsats
[SGI MIPSpro] test linker errors due to library unsats
------------------------------------------------------
Key: STDCXX-303
URL: http://issues.apache.org/jira/browse/STDCXX-303
Project: C++ Standard Library
Issue Type: Bug
Components: Tests
Affects Versions: 4.1.3
Environment: SGI MIPSpro, IRIX
Reporter: Martin Sebor
All tests (but strangely not examples) are failing to link with MIPSpro on IRIX because of unsats for library (and other) symbols. For example:
gmake: Entering directory `/build2/batman/5.0.0/builds/33202281/source-buildspace/build/tests'
CC -c -I/build2/batman/5.0.0/builds/33202281/source-buildspace/include/ansi -D_REENTRANT -D_RWSTD_USE_CONFIG -I/build2/batman/5.0.0/builds/33202281/source-buildspace/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/build/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/../rwtest -I/build2/batman/5.0.0/builds/33202281/source-buildspace/../rwtest/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/tests/include -O -OPT:Olimit=0 -64 -ansiW -woff1429,1460,1521,3150,3333 /build2/batman/5.0.0/builds/33202281/source-buildspace/tests/self/0.alloc.cpp
CC 0.alloc.o -o 0.alloc -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest -lrwtest -Wl,-woff,84 -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/lib -LANG:std=off -lpthread -64 -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/lib -lstd -lm
ld64: ERROR 33 : Unresolved text symbol "__rw::__rw_assert_fail(const char*,const char*,int,const char*)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(driver.o).
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld64: ERROR 33 : Unresolved text symbol "__rw::__rw_memattr(const void*,unsigned long,int)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld64: ERROR 33 : Unresolved text symbol "std::ios_base::Init::Init(void)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld64: ERROR 33 : Unresolved text symbol "std::ios_base::Init::~Init(void)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld64: INFO 152: Output file removed because of error.
gmake: *** [0.alloc] Error 2
--
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
[jira] Commented: (STDCXX-303) [SGI MIPSpro] test linker errors due
to library unsats
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-303?page=comments#action_12449517 ]
Martin Sebor commented on STDCXX-303:
-------------------------------------
It appears that reversing the order of the -l options (i.e., putting -lstd before -lrwtest above) lets the link succeed.
> [SGI MIPSpro] test linker errors due to library unsats
> ------------------------------------------------------
>
> Key: STDCXX-303
> URL: http://issues.apache.org/jira/browse/STDCXX-303
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Tests
> Affects Versions: 4.1.3
> Environment: SGI MIPSpro, IRIX
> Reporter: Martin Sebor
> Attachments: irix-6.5.16-mipspro-64b-7.41-12s-log.txt.gz
>
>
> All tests (but strangely not examples) are failing to link with MIPSpro on IRIX because of unsats for library (and other) symbols. For example:
> gmake: Entering directory `/build2/batman/5.0.0/builds/33202281/source-buildspace/build/tests'
> CC -c -I/build2/batman/5.0.0/builds/33202281/source-buildspace/include/ansi -D_REENTRANT -D_RWSTD_USE_CONFIG -I/build2/batman/5.0.0/builds/33202281/source-buildspace/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/build/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/../rwtest -I/build2/batman/5.0.0/builds/33202281/source-buildspace/../rwtest/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/tests/include -O -OPT:Olimit=0 -64 -ansiW -woff1429,1460,1521,3150,3333 /build2/batman/5.0.0/builds/33202281/source-buildspace/tests/self/0.alloc.cpp
> CC 0.alloc.o -o 0.alloc -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest -lrwtest -Wl,-woff,84 -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/lib -LANG:std=off -lpthread -64 -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/lib -lstd -lm
> ld64: ERROR 33 : Unresolved text symbol "__rw::__rw_assert_fail(const char*,const char*,int,const char*)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(driver.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: ERROR 33 : Unresolved text symbol "__rw::__rw_memattr(const void*,unsigned long,int)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: ERROR 33 : Unresolved text symbol "std::ios_base::Init::Init(void)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: ERROR 33 : Unresolved text symbol "std::ios_base::Init::~Init(void)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: INFO 152: Output file removed because of error.
> gmake: *** [0.alloc] Error 2
--
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
[jira] Assigned: (STDCXX-303) [SGI MIPSpro] test linker errors due
to library unsats
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-303?page=all ]
Martin Sebor reassigned STDCXX-303:
-----------------------------------
Assignee: Martin Sebor
> [SGI MIPSpro] test linker errors due to library unsats
> ------------------------------------------------------
>
> Key: STDCXX-303
> URL: http://issues.apache.org/jira/browse/STDCXX-303
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Tests
> Affects Versions: 4.1.3
> Environment: SGI MIPSpro, IRIX
> Reporter: Martin Sebor
> Assigned To: Martin Sebor
> Attachments: irix-6.5.16-mipspro-64b-7.41-12s-log.txt.gz
>
>
> All tests (but strangely not examples) are failing to link with MIPSpro on IRIX because of unsats for library (and other) symbols. For example:
> gmake: Entering directory `/build2/batman/5.0.0/builds/33202281/source-buildspace/build/tests'
> CC -c -I/build2/batman/5.0.0/builds/33202281/source-buildspace/include/ansi -D_REENTRANT -D_RWSTD_USE_CONFIG -I/build2/batman/5.0.0/builds/33202281/source-buildspace/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/build/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/../rwtest -I/build2/batman/5.0.0/builds/33202281/source-buildspace/../rwtest/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/tests/include -O -OPT:Olimit=0 -64 -ansiW -woff1429,1460,1521,3150,3333 /build2/batman/5.0.0/builds/33202281/source-buildspace/tests/self/0.alloc.cpp
> CC 0.alloc.o -o 0.alloc -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest -lrwtest -Wl,-woff,84 -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/lib -LANG:std=off -lpthread -64 -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/lib -lstd -lm
> ld64: ERROR 33 : Unresolved text symbol "__rw::__rw_assert_fail(const char*,const char*,int,const char*)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(driver.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: ERROR 33 : Unresolved text symbol "__rw::__rw_memattr(const void*,unsigned long,int)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: ERROR 33 : Unresolved text symbol "std::ios_base::Init::Init(void)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: ERROR 33 : Unresolved text symbol "std::ios_base::Init::~Init(void)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: INFO 152: Output file removed because of error.
> gmake: *** [0.alloc] Error 2
--
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
[jira] Updated: (STDCXX-303) [SGI MIPSpro] test linker errors due
to library unsats
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-303?page=all ]
Martin Sebor updated STDCXX-303:
--------------------------------
Attachment: irix-6.5.16-mipspro-64b-7.41-12s-log.txt.gz
Gzipped log file of an archive build showing tests link failures.
> [SGI MIPSpro] test linker errors due to library unsats
> ------------------------------------------------------
>
> Key: STDCXX-303
> URL: http://issues.apache.org/jira/browse/STDCXX-303
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Tests
> Affects Versions: 4.1.3
> Environment: SGI MIPSpro, IRIX
> Reporter: Martin Sebor
> Attachments: irix-6.5.16-mipspro-64b-7.41-12s-log.txt.gz
>
>
> All tests (but strangely not examples) are failing to link with MIPSpro on IRIX because of unsats for library (and other) symbols. For example:
> gmake: Entering directory `/build2/batman/5.0.0/builds/33202281/source-buildspace/build/tests'
> CC -c -I/build2/batman/5.0.0/builds/33202281/source-buildspace/include/ansi -D_REENTRANT -D_RWSTD_USE_CONFIG -I/build2/batman/5.0.0/builds/33202281/source-buildspace/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/build/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/../rwtest -I/build2/batman/5.0.0/builds/33202281/source-buildspace/../rwtest/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/tests/include -O -OPT:Olimit=0 -64 -ansiW -woff1429,1460,1521,3150,3333 /build2/batman/5.0.0/builds/33202281/source-buildspace/tests/self/0.alloc.cpp
> CC 0.alloc.o -o 0.alloc -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest -lrwtest -Wl,-woff,84 -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/lib -LANG:std=off -lpthread -64 -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/lib -lstd -lm
> ld64: ERROR 33 : Unresolved text symbol "__rw::__rw_assert_fail(const char*,const char*,int,const char*)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(driver.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: ERROR 33 : Unresolved text symbol "__rw::__rw_memattr(const void*,unsigned long,int)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: ERROR 33 : Unresolved text symbol "std::ios_base::Init::Init(void)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: ERROR 33 : Unresolved text symbol "std::ios_base::Init::~Init(void)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: INFO 152: Output file removed because of error.
> gmake: *** [0.alloc] Error 2
--
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
[jira] Closed: (STDCXX-303) [SGI MIPSpro] test linker errors due to
library unsats
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor closed STDCXX-303.
-------------------------------
Resolution: Fixed
Fix Version/s: 4.2
Fixed by the committed patch. Nightly test results confirm that the issue has been resolved.
> [SGI MIPSpro] test linker errors due to library unsats
> ------------------------------------------------------
>
> Key: STDCXX-303
> URL: https://issues.apache.org/jira/browse/STDCXX-303
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Tests
> Affects Versions: 4.1.3
> Environment: SGI MIPSpro, IRIX
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.2
>
> Attachments: irix-6.5.16-mipspro-64b-7.41-12s-log.txt.gz
>
>
> All tests (but strangely not examples) are failing to link with MIPSpro on IRIX because of unsats for library (and other) symbols. For example:
> gmake: Entering directory `/build2/batman/5.0.0/builds/33202281/source-buildspace/build/tests'
> CC -c -I/build2/batman/5.0.0/builds/33202281/source-buildspace/include/ansi -D_REENTRANT -D_RWSTD_USE_CONFIG -I/build2/batman/5.0.0/builds/33202281/source-buildspace/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/build/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/../rwtest -I/build2/batman/5.0.0/builds/33202281/source-buildspace/../rwtest/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/tests/include -O -OPT:Olimit=0 -64 -ansiW -woff1429,1460,1521,3150,3333 /build2/batman/5.0.0/builds/33202281/source-buildspace/tests/self/0.alloc.cpp
> CC 0.alloc.o -o 0.alloc -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest -lrwtest -Wl,-woff,84 -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/lib -LANG:std=off -lpthread -64 -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/lib -lstd -lm
> ld64: ERROR 33 : Unresolved text symbol "__rw::__rw_assert_fail(const char*,const char*,int,const char*)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(driver.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: ERROR 33 : Unresolved text symbol "__rw::__rw_memattr(const void*,unsigned long,int)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: ERROR 33 : Unresolved text symbol "std::ios_base::Init::Init(void)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: ERROR 33 : Unresolved text symbol "std::ios_base::Init::~Init(void)" -- 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld64: INFO 152: Output file removed because of error.
> gmake: *** [0.alloc] Error 2
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.