public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/53297] New: Linker error on solaris 10 using gcc-4.4.4 64bit.
@ 2012-05-09 16:08 birender.singh at hotmail dot com
  2012-05-09 16:29 ` [Bug libstdc++/53297] " paolo.carlini at oracle dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: birender.singh at hotmail dot com @ 2012-05-09 16:08 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: birender.singh@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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/53297] Linker error on solaris 10 using gcc-4.4.4 64bit.
  2012-05-09 16:08 [Bug libstdc++/53297] New: Linker error on solaris 10 using gcc-4.4.4 64bit birender.singh at hotmail dot com
  2012-05-09 16:29 ` [Bug libstdc++/53297] " paolo.carlini at oracle dot com
@ 2012-05-09 16:29 ` paolo.carlini at oracle dot com
  2012-05-10  6:09 ` birender.singh at hotmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-05-09 16:29 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53297

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-09 16:28:20 UTC ---
Oh well.

*** This bug has been marked as a duplicate of bug 53275 ***


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/53297] Linker error on solaris 10 using gcc-4.4.4 64bit.
  2012-05-09 16:08 [Bug libstdc++/53297] New: Linker error on solaris 10 using gcc-4.4.4 64bit birender.singh at hotmail dot com
@ 2012-05-09 16:29 ` paolo.carlini at oracle dot com
  2012-05-09 16:29 ` paolo.carlini at oracle dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-05-09 16:29 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53297

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-05-09
     Ever Confirmed|0                           |1
           Severity|major                       |normal

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-09 16:23:13 UTC ---
This isn't a proper bug report, see: http://gcc.gnu.org/bugs/#report

Also note that the 4.4.x release series is not maintained anymore, thus I would
first check a more recent release, eg, 4.6.x.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/53297] Linker error on solaris 10 using gcc-4.4.4 64bit.
  2012-05-09 16:08 [Bug libstdc++/53297] New: Linker error on solaris 10 using gcc-4.4.4 64bit birender.singh at hotmail dot com
  2012-05-09 16:29 ` [Bug libstdc++/53297] " paolo.carlini at oracle dot com
  2012-05-09 16:29 ` paolo.carlini at oracle dot com
@ 2012-05-10  6:09 ` birender.singh at hotmail dot com
  2012-05-11 11:06 ` birender.singh at hotmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: birender.singh at hotmail dot com @ 2012-05-10  6:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53297

--- Comment #3 from birender.singh at hotmail dot com 2012-05-10 05:37:31 UTC ---
(In reply to comment #2)
> Oh well.
> 
> *** This bug has been marked as a duplicate of bug 53275 ***

This bugs reported have been problems caused by GCC-4.4.4 libstdc++ library on
solaris10 sparc, please have a look below, am using this library but still
getting below error.


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/libPoco.a(Base64Decoder.o)
ld: fatal: Symbol referencing errors. No output written to 
sparc_SunOS_64/release/SuiteMain
collect2: ld returned 1 exit status



Accepting the Bug 53275 was invalid due to library missing


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/53297] Linker error on solaris 10 using gcc-4.4.4 64bit.
  2012-05-09 16:08 [Bug libstdc++/53297] New: Linker error on solaris 10 using gcc-4.4.4 64bit birender.singh at hotmail dot com
                   ` (2 preceding siblings ...)
  2012-05-10  6:09 ` birender.singh at hotmail dot com
@ 2012-05-11 11:06 ` birender.singh at hotmail dot com
  2012-05-11 11:14 ` paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: birender.singh at hotmail dot com @ 2012-05-11 11:06 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53297

birender.singh at hotmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |

--- Comment #4 from birender.singh at hotmail dot com 2012-05-11 10:49:36 UTC ---

Below error is not resolved, kindly provide the solution for the below error
message, Do i need to build gcc-4.4.4 64 bit once again, --with-gnu-as and
--without-gnu-ld while configure.

.
.
../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/release/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/libPoco.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


Is this error is due to -lstdc++ library. I have provided this in the command
but still same error message received all the time.

or this might be a bugg in lstdc++ for "
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/libPoco.a(Base64Decoder.o)"


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/53297] Linker error on solaris 10 using gcc-4.4.4 64bit.
  2012-05-09 16:08 [Bug libstdc++/53297] New: Linker error on solaris 10 using gcc-4.4.4 64bit birender.singh at hotmail dot com
                   ` (3 preceding siblings ...)
  2012-05-11 11:06 ` birender.singh at hotmail dot com
@ 2012-05-11 11:14 ` paolo.carlini at oracle dot com
  2012-05-11 11:19 ` paolo.carlini at oracle dot com
  2012-05-11 13:52 ` redi at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-05-11 11:14 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53297

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-11 11:05:51 UTC ---
This is a duplicate, again is the linker, not the compiler to fail.

*** This bug has been marked as a duplicate of bug 53275 ***


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/53297] Linker error on solaris 10 using gcc-4.4.4 64bit.
  2012-05-09 16:08 [Bug libstdc++/53297] New: Linker error on solaris 10 using gcc-4.4.4 64bit birender.singh at hotmail dot com
                   ` (4 preceding siblings ...)
  2012-05-11 11:14 ` paolo.carlini at oracle dot com
@ 2012-05-11 11:19 ` paolo.carlini at oracle dot com
  2012-05-11 13:52 ` redi at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-05-11 11:19 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53297

--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-11 11:14:25 UTC ---
Incidentally, also note that the 4.4.x series is not maintained anymore, thus
it doesn't make much sense to file reports against it and older release series.
But this is just a digression.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/53297] Linker error on solaris 10 using gcc-4.4.4 64bit.
  2012-05-09 16:08 [Bug libstdc++/53297] New: Linker error on solaris 10 using gcc-4.4.4 64bit birender.singh at hotmail dot com
                   ` (5 preceding siblings ...)
  2012-05-11 11:19 ` paolo.carlini at oracle dot com
@ 2012-05-11 13:52 ` redi at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2012-05-11 13:52 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53297

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-05-11 13:32:52 UTC ---
You haven't even provided the command that produces the error.  Noone can
suggest a solution if you don't properly describe the problem.

Other people use GCC on Solaris without problems, so it's probably user error.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-05-11 13:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-09 16:08 [Bug libstdc++/53297] New: Linker error on solaris 10 using gcc-4.4.4 64bit birender.singh at hotmail dot com
2012-05-09 16:29 ` [Bug libstdc++/53297] " paolo.carlini at oracle dot com
2012-05-09 16:29 ` paolo.carlini at oracle dot com
2012-05-10  6:09 ` birender.singh at hotmail dot com
2012-05-11 11:06 ` birender.singh at hotmail dot com
2012-05-11 11:14 ` paolo.carlini at oracle dot com
2012-05-11 11:19 ` paolo.carlini at oracle dot com
2012-05-11 13:52 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).