austriancoder / stressapptest

Automatically exported from code.google.com/p/stressapptest
Apache License 2.0
0 stars 0 forks source link

For mips::Linking error::cannot find -lstdc++ #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure --host=mips64
2. Compiler used is mips-wrs-linux-gnu-mips64_octeon-glibc_small-g++
3. Finally, we get linking error

What is the expected output? What do you see instead?
Linking should be successful. Instead of that we get below linking error
mips-wrs-linux-gnu-mips64_octeon-glibc_small-c++  -DCHECKOPTS -Wreturn-type 
-Wunused -Wuninitialized -Wall -O3 -DNDEBUG  -pthread -o stressapptest main.o 
os.o os_factory.o pattern.o queue.o sat.o sat_factory.o worker.o 
finelock_queue.o error_diag.o disk_blocks.o adler32memcpy.o logger.o
/home/gur16663/gur16663_etpa/common/platform/octeon/kits/windriver/WR-3.0/toolch
ain/x86-linux2/bin/../lib/gcc/mips-wrs-linux-gnu/4.3.2/../../../../mips-wrs-linu
x-gnu/bin/ld: cannot find -lstdc++

What version of the product are you using? On what operating system?
stressapptest-1.0.1_autoconf

Please provide any additional information below.
We want to run stresapptest on cavium network's mips cpu.

Original issue reported on code.google.com by vellingi...@gmail.com on 20 Oct 2010 at 11:11

GoogleCodeExporter commented 9 years ago
stressapptest doesn't explicitly require lstdc++, other than by being C++ code. 
Do you have support for statically linked C++ binaries in your toolchain?

You can try disabling static compilation by removing "-static" at 
configure.ac:115, which may allow you to build.

Original comment by nick.j.s...@gmail.com on 20 Oct 2010 at 11:28

GoogleCodeExporter commented 9 years ago
stressapptest no longer defaults to static linking. So if that was the problem 
it should be fixed now.

Original comment by nick.j.s...@gmail.com on 11 Feb 2014 at 8:13