http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53297
Bug #: 53297 Summary: Linker error on solaris 10 using gcc-4.4.4 64bit. Classification: Unclassified Product: gcc Version: 4.4.4 Status: UNCONFIRMED Severity: major Priority: P3 Component: libstdc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: birender.si...@hotmail.com Machine used: Solaris10 sparc After successfully Build gcc-4.4.4 64bit on solaris10 sparc and using it. Below error received while compiling a test code using GCC-4.4.4 64bit. . . . . ../prodStartLicTest/prodStartLicTest.h: In member function 'int prodStartLicTest::verifyDecryptedText(char*)': ../prodStartLicTest/prodStartLicTest.h:1361: warning: cannot pass objects of non-POD type 'struct std::string' through '...'; call will abort at runtime ../prodStartLicTest/prodStartLicTest.h: In member function 'void prodStartLicTest::prodStartEnumTest(char*, const char*, int, SLIC_STATUS)': ../prodStartLicTest/prodStartLicTest.h:1509: warning: deprecated conversion from string constant to 'char*' ../prodStartLicTest/prodStartLicTest.h: In member function 'void prodStartLicTest::prodStartEnumTest(char*, const char*, int, SLIC_STATUS, int, int)': ../prodStartLicTest/prodStartLicTest.h:1692: warning: deprecated conversion from string constant to 'char*' ../../../nobuilds/bin/fipsld -m64 -o sparc_SunOS_64/release/SuiteMain sparc_SunOS_64/release/SuiteMain.o -L/els/install/staf64/lib -lSTAF ../../../nobuilds /key/sparc_SunOS_64/release/slic_devkey.o -L../../../nobuilds/lib/sparc_SunOS_64/release -lslic -lPoco -lopenssl -lm -lstdc++ ../SlicTestLib/sparc_SunOS_64/r elease/libSlicTest.a -lresolv -lrt -lc -ldl -lsocket -lnsl Undefined first referenced symbol in file std::basic_streambuf<char, std::char_traits<char> >::seekoff(long long, std::_Ios_Seekdir, std::_Ios_Openmode) ../../../nobuilds/lib/sparc_SunOS_64/release/l ibPoco.a(Base64Decoder.o) ld: fatal: Symbol referencing errors. No output written to sparc_SunOS_64/release/SuiteMain collect2: ld returned 1 exit status make[3]: *** [sparc_SunOS_64/release/SuiteMain] Error 1 make[3]: Leaving directory `/els/licensing/licensing_sdk/trunk/qa/SuiteMain' make[2]: *** [all] Error 2 make[2]: Leaving directory `/els/licensing/licensing_sdk/trunk/qa/SuiteMain' make[1]: *** [all_subdirs] Error 1 make[1]: Leaving directory `/els/licensing/licensing_sdk/trunk/qa' make: *** [all] Error 2 Please provide some solution. Regards, -BK