Are you able to link 32-bit C++ programs on your system using "g++ -m32"?
It looks like you are missing the 32-bit version of libstdc++ -- this library is not installed by default on many 64-bit Linux distributions. -David Coakley / AMD Open Source Compiler Engineering 2010/8/25 "C. Bergström" <cbergst...@pathscale.com>: > > cd /usr/local/src > svn export https://svn.open64.net/svnroot/open64/trunk open64 > mkdir /usr/local/src/open64/build > cd /usr/local/src/open64/build > # tried this > ../configure --prefix=/usr/open64 > # I've also tried adding an explicit CFLAGS="-m32" with no luck.. > # and lastly tried > ../configure --prefix=/usr/open64 --build=x86_64-unknown-linux-gnu > --with-build-compiler=GNU --with-build-optimize=debug > gmake > ... > > Are the build instructions out of date or does Open64 trunk have some > build regressions? > > gmake[3]: Leaving directory > `/usr/local/src/open64/build/osprey/targdir/targ_info' > gmake opteron.so barcelona.so orochi.so em64t.so core.so wolfdale.so > ti_asm.h ti_bundle.h ti_errors.h ti_latency.h topcode.h > targ_isa_subset.h targ_isa_properties.h targ_isa_enums.h > targ_isa_hazards.h targ_isa_lits.h targ_isa_print.h targ_isa_pack.h > targ_isa_operands.h targ_isa_registers.h targ_isa_decode.h > targ_isa_pseudo.h targ_abi_properties.h targ_isa_bundle.h targ_proc.h > targ_proc_properties.h topcode.c targ_isa_subset.c targ_isa_properties.c > targ_isa_enums.c targ_isa_hazards.c targ_isa_lits.c targ_isa_print.c > targ_isa_pack.c targ_isa_operands.c targ_isa_registers.c > targ_isa_decode.c targ_isa_pseudo.c targ_abi_properties.c > targ_isa_bundle.c targ_proc.c targ_proc_properties.c libtarginfo.a si_gen.a > gmake[3]: Entering directory > `/usr/local/src/open64/build/osprey/targdir/targ_info' > g++ -m32 -mno-sse2 -D_SGI_SOURCE -D_LANGUAGE_C_PLUS_PLUS -Wformat > -funsigned-char -D__GNU_BUG_WORKAROUND -D_NOTHREADS -I. > -I../../../../osprey/common/targ_info/access > -I../../../../osprey/common/targ_info/generate > -I../../../../osprey/common/targ_info/isa/x8664 > -I../../../../osprey/common/targ_info/proc/x8664 > -I../../../../osprey/common/targ_info/abi/x8664 > -I../../../../osprey/common/targ_info/include > -I/usr/local/src/open64/build/osprey/../../osprey/common/com > -I/usr/local/src/open64/build/osprey/../../osprey/common/util > -DCROSS_COMPILATION -fPIC -DTARG_X8664 -D__STDC_LIMIT_MACROS -DKEY > -DOSP_OPT -DPATHSCALE_MERGE -DPSC_TO_OPEN64 -DSHARED_BUILD > -I/usr/local/src/open64/build/osprey/.././osprey/targdir/include > -I/usr/local/src/open64/build/osprey/../. -I/include > -I/usr/local/src/open64/build/osprey/../../osprey/include -O2 > -fno-strict-aliasing -D_MIPSEL -D_LONGLONG -D_MIPS_SZINT=32 > -D_MIPS_SZPTR=32 -D_MIPS_SZLONG=32 -MMD -D_MIPSEL isa_gen.o > gen_util.o isa.o -o isa_gen > /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: > skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/libstdc++.so > when searching for -lstdc++ > /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: > skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/libstdc++.a > when searching for -lstdc++ > /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: > cannot find -lstdc++ > collect2: ld returned 1 exit status > gmake[3]: *** [isa_gen] Error 1 > gmake[3]: Leaving directory > `/usr/local/src/open64/build/osprey/targdir/targ_info' > > > > ------------------------------------------------------------------------------ > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of netbook users > worldwide. Take advantage of special opportunities to increase revenue and > speed time-to-market. Join now, and jumpstart your future. > http://p.sf.net/sfu/intel-atom-d2d > _______________________________________________ > Open64-devel mailing list > Open64-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/open64-devel > ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel