This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/12462] New: gcc-3.3.1 can't build shared library with libstdc++.a


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: gcc-3.3.1 can't build shared library with libstdc++.a
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bs at okyz dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: hpux11

gcc -shared doesn't work 
i want to make a shared library, and i link with the static library libstdc++.a
ld answer me that libstdc++.a isn't position independant code (PIC).
I built gcc.3.3.1 passing with-pic and disable-shared to configure, but the HP
linker still doesn't want to link with libstdc++.a, which isn't a PIC library
for him. (try to compile with +Z)
i have installed the latest ld linker HP patch.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]